-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'arm64-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/arm/arm-soc Pull ARM64 SoC changes from Arnd Bergmann: "This adds support for two new ARM64 platforms: - ARM Juno - AMD Seattle We had submissions for a number of additional platforms from Samsung, Freescale and Spreadtrum but are still working out the best process for getting these merged" * tag 'arm64-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: arm64: amd-seattle: Fix PCI bus range due to SMMU limitation arm64: ARM: Fix the Generic Timers interrupt active level description arm64: amd-seattle: Adding device tree for AMD Seattle platform arm64: Add Juno board device tree. arm64: Create link to include/dt-bindings to enable C preprocessor use.
- Loading branch information
Showing
13 changed files
with
704 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dts-dirs += amd | ||
dts-dirs += apm | ||
dts-dirs += arm | ||
dts-dirs += cavium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb | ||
|
||
always := $(dtb-y) | ||
subdir-y := $(dts-dirs) | ||
clean-files := *.dtb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* 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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* 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"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
/* | ||
* DTS file for AMD Seattle SoC | ||
* | ||
* Copyright (C) 2014 Advanced Micro Devices, Inc. | ||
*/ | ||
|
||
/ { | ||
compatible = "amd,seattle"; | ||
interrupt-parent = <&gic0>; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
|
||
gic0: interrupt-controller@e1101000 { | ||
compatible = "arm,gic-400", "arm,cortex-a15-gic"; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
reg = <0x0 0xe1110000 0 0x1000>, | ||
<0x0 0xe112f000 0 0x2000>, | ||
<0x0 0xe1140000 0 0x10000>, | ||
<0x0 0xe1160000 0 0x10000>; | ||
interrupts = <1 9 0xf04>; | ||
ranges = <0 0 0 0xe1100000 0 0x100000>; | ||
v2m0: v2m@e0080000 { | ||
compatible = "arm,gic-v2m-frame"; | ||
msi-controller; | ||
reg = <0x0 0x00080000 0 0x1000>; | ||
}; | ||
}; | ||
|
||
timer { | ||
compatible = "arm,armv8-timer"; | ||
interrupts = <1 13 0xff04>, | ||
<1 14 0xff04>, | ||
<1 11 0xff04>, | ||
<1 10 0xff04>; | ||
}; | ||
|
||
pmu { | ||
compatible = "arm,armv8-pmuv3"; | ||
interrupts = <0 7 4>, | ||
<0 8 4>, | ||
<0 9 4>, | ||
<0 10 4>, | ||
<0 11 4>, | ||
<0 12 4>, | ||
<0 13 4>, | ||
<0 14 4>; | ||
}; | ||
|
||
smb0: smb { | ||
compatible = "simple-bus"; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
ranges; | ||
|
||
/* DDR range is 40-bit addressing */ | ||
dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>; | ||
|
||
/include/ "amd-seattle-clks.dtsi" | ||
|
||
sata0: sata@e0300000 { | ||
compatible = "snps,dwc-ahci"; | ||
reg = <0 0xe0300000 0 0x800>; | ||
interrupts = <0 355 4>; | ||
clocks = <&sataclk_333mhz>; | ||
dma-coherent; | ||
}; | ||
|
||
i2c0: i2c@e1000000 { | ||
status = "disabled"; | ||
compatible = "snps,designware-i2c"; | ||
reg = <0 0xe1000000 0 0x1000>; | ||
interrupts = <0 357 4>; | ||
clocks = <&uartspiclk_100mhz>; | ||
}; | ||
|
||
serial0: serial@e1010000 { | ||
compatible = "arm,pl011", "arm,primecell"; | ||
reg = <0 0xe1010000 0 0x1000>; | ||
interrupts = <0 328 4>; | ||
clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>; | ||
clock-names = "uartclk", "apb_pclk"; | ||
}; | ||
|
||
spi0: ssp@e1020000 { | ||
status = "disabled"; | ||
compatible = "arm,pl022", "arm,primecell"; | ||
#gpio-cells = <2>; | ||
reg = <0 0xe1020000 0 0x1000>; | ||
spi-controller; | ||
interrupts = <0 330 4>; | ||
clocks = <&uartspiclk_100mhz>; | ||
clock-names = "apb_pclk"; | ||
}; | ||
|
||
spi1: ssp@e1030000 { | ||
status = "disabled"; | ||
compatible = "arm,pl022", "arm,primecell"; | ||
#gpio-cells = <2>; | ||
reg = <0 0xe1030000 0 0x1000>; | ||
spi-controller; | ||
interrupts = <0 329 4>; | ||
clocks = <&uartspiclk_100mhz>; | ||
clock-names = "apb_pclk"; | ||
num-cs = <1>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
|
||
gpio0: gpio@e1040000 { | ||
status = "disabled"; | ||
compatible = "arm,pl061", "arm,primecell"; | ||
#gpio-cells = <2>; | ||
reg = <0 0xe1040000 0 0x1000>; | ||
gpio-controller; | ||
interrupts = <0 359 4>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
clocks = <&uartspiclk_100mhz>; | ||
clock-names = "apb_pclk"; | ||
}; | ||
|
||
gpio1: gpio@e1050000 { | ||
status = "disabled"; | ||
compatible = "arm,pl061", "arm,primecell"; | ||
#gpio-cells = <2>; | ||
reg = <0 0xe1050000 0 0x1000>; | ||
gpio-controller; | ||
interrupts = <0 358 4>; | ||
clocks = <&uartspiclk_100mhz>; | ||
clock-names = "apb_pclk"; | ||
}; | ||
|
||
ccp0: ccp@e0100000 { | ||
status = "disabled"; | ||
compatible = "amd,ccp-seattle-v1a"; | ||
reg = <0 0xe0100000 0 0x10000>; | ||
interrupts = <0 3 4>; | ||
dma-coherent; | ||
}; | ||
|
||
pcie0: pcie@f0000000 { | ||
compatible = "pci-host-ecam-generic"; | ||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
#interrupt-cells = <1>; | ||
device_type = "pci"; | ||
bus-range = <0 0x7f>; | ||
msi-parent = <&v2m0>; | ||
reg = <0 0xf0000000 0 0x10000000>; | ||
|
||
interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
interrupt-map = | ||
<0x1000 0x0 0x0 0x1 &gic0 0x0 0x0 0x0 0x120 0x1>, | ||
<0x1000 0x0 0x0 0x2 &gic0 0x0 0x0 0x0 0x121 0x1>, | ||
<0x1000 0x0 0x0 0x3 &gic0 0x0 0x0 0x0 0x122 0x1>, | ||
<0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>; | ||
|
||
dma-coherent; | ||
dma-ranges = <0x43000000 0x80 0x0 0x80 0x0 0x7f 0xffffffff>; | ||
ranges = | ||
/* I/O Memory (size=64K) */ | ||
<0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>, | ||
/* 32-bit MMIO (size=2G) */ | ||
<0x02000000 0x00 0x40000000 0x00 0x40000000 0x00 0x80000000>, | ||
/* 64-bit MMIO (size= 124G) */ | ||
<0x03000000 0x01 0x00000000 0x01 0x00000000 0x7f 0x00000000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* ARM Juno Platform clocks | ||
* | ||
* Copyright (c) 2013-2014 ARM Ltd | ||
* | ||
* This file is licensed under a dual GPLv2 or BSD license. | ||
* | ||
*/ | ||
|
||
/* SoC fixed clocks */ | ||
soc_uartclk: refclk72738khz { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <7273800>; | ||
clock-output-names = "juno:uartclk"; | ||
}; | ||
|
||
soc_usb48mhz: clk48mhz { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <48000000>; | ||
clock-output-names = "clk48mhz"; | ||
}; | ||
|
||
soc_smc50mhz: clk50mhz { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <50000000>; | ||
clock-output-names = "smc_clk"; | ||
}; | ||
|
||
soc_refclk100mhz: refclk100mhz { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <100000000>; | ||
clock-output-names = "apb_pclk"; | ||
}; | ||
|
||
soc_faxiclk: refclk533mhz { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <533000000>; | ||
clock-output-names = "faxi_clk"; | ||
}; |
Oops, something went wrong.