Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41904360 authored by Suravee Suthikulpanit's avatar Suravee Suthikulpanit Committed by Arnd Bergmann
Browse files

arm64: amd-seattle: Adding device tree for AMD Seattle platform



Initial revision of device tree for AMD Seattle Development platform.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: default avatarThomas Lendacky <Thomas.Lendacky@amd.com>
Signed-off-by: default avatarJoel Schopp <Joel.Schopp@amd.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 71f867ec
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -142,6 +142,11 @@ source "kernel/Kconfig.freezer"

menu "Platform selection"

config ARCH_SEATTLE
	bool "AMD Seattle SoC Family"
	help
	  This enables support for AMD Seattle SOC Family

config ARCH_THUNDER
	bool "Cavium Inc. Thunder SoC Family"
	help
+1 −0
Original line number Diff line number Diff line
dts-dirs += amd
dts-dirs += apm
dts-dirs += arm
dts-dirs += cavium
+5 −0
Original line number Diff line number Diff line
dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb

always		:= $(dtb-y)
subdir-y	:= $(dts-dirs)
clean-files	:= *.dtb
+66 −0
Original line number Diff line number Diff line
/*
 * DTS file for AMD Seattle Overdrive Development Board
 *
 * Copyright (C) 2014 Advanced Micro Devices, Inc.
 */

/dts-v1/;

/include/ "amd-seattle-soc.dtsi"

/ {
	model = "AMD Seattle Development Board (Overdrive)";
	compatible = "amd,seattle-overdrive", "amd,seattle";

	chosen {
		stdout-path = &serial0;
		linux,pci-probe-only;
	};
};

&ccp0 {
	status = "ok";
};

&gpio0 {
	status = "ok";
};

&gpio1 {
	status = "ok";
};

&i2c0 {
	status = "ok";
};

&pcie0 {
	status = "ok";
};

&spi0 {
	status = "ok";
};

&spi1 {
	status = "ok";
	sdcard0: sdcard@0 {
		compatible = "mmc-spi-slot";
		reg = <0>;
		spi-max-frequency = <20000000>;
		voltage-ranges = <3200 3400>;
		gpios = <&gpio0 7 0>;
		interrupt-parent = <&gpio0>;
		interrupts = <7 3>;
		pl022,hierarchy = <0>;
		pl022,interface = <0>;
		pl022,com-mode = <0x0>;
		pl022,rx-level-trig = <0>;
		pl022,tx-level-trig = <0>;
	};
};

&v2m0 {
	arm,msi-base-spi = <64>;
	arm,msi-num-spis = <256>;
};
+54 −0
Original line number Diff line number Diff line
/*
 * DTS file for AMD Seattle Clocks
 *
 * Copyright (C) 2014 Advanced Micro Devices, Inc.
 */

	adl3clk_100mhz: clk100mhz_0 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <100000000>;
		clock-output-names = "adl3clk_100mhz";
	};

	ccpclk_375mhz: clk375mhz {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <375000000>;
		clock-output-names = "ccpclk_375mhz";
	};

	sataclk_333mhz: clk333mhz {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <333000000>;
		clock-output-names = "sataclk_333mhz";
	};

	pcieclk_500mhz: clk500mhz_0 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <500000000>;
		clock-output-names = "pcieclk_500mhz";
	};

	dmaclk_500mhz: clk500mhz_1 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <500000000>;
		clock-output-names = "dmaclk_500mhz";
	};

	miscclk_250mhz: clk250mhz_4 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <250000000>;
		clock-output-names = "miscclk_250mhz";
	};

	uartspiclk_100mhz: clk100mhz_1 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <100000000>;
		clock-output-names = "uartspiclk_100mhz";
	};
Loading