dtb: amd: Miscelleneous Updates for AMD Seattle DTS
Suravee Suthikulpanit
maintainerv2 cover dtb: amd: Miscelleneous Updates for AMD Seattle DTS
From: Suravee Suthikulpanit <[email protected]>
This patch series contains several updates for the AMD Seattle SOC DTS files. It also adds new board files for newer Overdrive and Linaro 96boards (Husky) platforms.
Thanks,
Suravee
Changes from V1 (https://lkml.org/lkml/2016/1/27/1251):
* Fix duplication in MAINTAINERS file (per Martin review comment)
* Remove the PCIe SMMU device tree node for now to rework (based on the discussion in the thread).
Brijesh Singh (2):
dtb: amd: Fix GICv2 hypervisor and virtual interface sizes
dtb: amd: Add KCS device tree node
Suravee Suthikulpanit (9):
MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree
dtb: amd: Fix DMA ranges in device tree
dtb: amd: Fix typo in SPI device nodes
dtb: amd: Misc changes for I2C device nodes
dtb: amd: Misc changes for SATA device tree nodes
dtb: amd: Misc changes for GPIO devices
dtb: amd: Add PERF CCN-504 device tree node
dtb: amd: Add support for new AMD Overdrive boards
dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition
Server board
Tom Lendacky (1):
dtb: amd: Add AMD XGBE device tree file
MAINTAINERS | 8 ++ arch/arm64/boot/dts/amd/Makefile | 4 +- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 87 +++++++++++++++++ arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 91 ++++++++++++++++++ arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 105 +++++++++++++++++--- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 117 +++++++++++++++++++++++ arch/arm64/boot/dts/amd/husky.dts | 83 ++++++++++++++++ 7 files changed, 481 insertions(+), 14 deletions(-) create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts create mode 100644 arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi create mode 100644 arch/arm64/boot/dts/amd/husky.dts
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 1/12 MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree
From: Suravee Suthikulpanit <[email protected]>
Adding maintainers for AMD Seattle device tree.
--- MAINTAINERS | 7 +++++++ 1 file changed, 7 insertions(+)
MAINTAINERS +7 -0
@@ -673,6 +673,13 @@ F: drivers/gpu/drm/radeon/radeon_kfd.c F: drivers/gpu/drm/radeon/radeon_kfd.h F: include/uapi/linux/kfd_ioctl.h +AMD SEATTLE DEVICE TREE SUPPORT +M: Brijesh Singh <[email protected]> +M: Suravee Suthikulpanit <[email protected]> +M: Tom Lendacky <[email protected]> +S: Supported +F: arch/arm64/boot/dts/amd/ + AMD XGBE DRIVER M: Tom Lendacky <[email protected]> L: netdev at vger.kernel.org
Signature · 1 line
2.5.0
Re: [PATCH V2 01/12] MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree
Quoted 7 lines · Suravee Suthikulpanit
From: Suravee Suthikulpanit <[email protected]>
Adding maintainers for AMD Seattle device tree.
Signed-off-by Brijesh Singh <[email protected]>Signed-off-by Suravee Suthikulpanit <[email protected]>Signed-off-by Tom Lendacky <[email protected]>
Thanks, I've applied the series to next/dt64 now.
-Olof
Suravee Suthikulpanit
maintainerRe: [PATCH V2 01/12] MAINTAINERS: Adding Maintainers for AMD Seattle Device Tree
Quoted 5 lines · Olof Johansson
Quoted 4 lines · Suravee Suthikulpanit
From: Suravee Suthikulpanit <[email protected]>
Adding maintainers for AMD Seattle device tree.
Quoted 9 lines
Quoted 3 lines
Signed-off-by Brijesh Singh <[email protected]>Signed-off-by Suravee Suthikulpanit <[email protected]>Signed-off-by Tom Lendacky <[email protected]>Thanks, I've applied the series to next/dt64 now.
-Olof
Thank you,
Suravee
Suravee Suthikulpanit
maintainerPATCH v2 2/12 dtb: amd: Fix GICv2 hypervisor and virtual interface sizes
In reply to Suravee SuthikulpanitFrom: Brijesh Singh <[email protected]>
This patch fixes incorrect sizes of the GICv2 device tree node. This has triggered error message when booting Xen hypervisor.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +2 -2
@@ -18,8 +18,8 @@ #size-cells = <2>; reg = <0x0 0xe1110000 0 0x1000>, <0x0 0xe112f000 0 0x2000>, - <0x0 0xe1140000 0 0x10000>, - <0x0 0xe1160000 0 0x10000>; + <0x0 0xe1140000 0 0x2000>, + <0x0 0xe1160000 0 0x2000>; interrupts = <1 9 0xf04>; ranges = <0 0 0 0xe1100000 0 0x100000>; v2m0: v2m at e0080000 {
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 3/12 dtb: amd: Fix DMA ranges in device tree
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +7 -3
@@ -55,8 +55,12 @@ #size-cells = <2>; ranges; - /* DDR range is 40-bit addressing */ - dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + /* + * dma-ranges is 40-bit address space containing: + * - GICv2m MSI register is at 0xe0080000 + * - DRAM range [0x8000000000 to 0xffffffffff] + */ + dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>; /include/ "amd-seattle-clks.dtsi"
@@ -159,7 +163,7 @@ <0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>; dma-coherent; - dma-ranges = <0x43000000 0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + dma-ranges = <0x43000000 0x0 0x0 0x0 0x0 0x100 0x0>; ranges = /* I/O Memory (size=64K) */ <0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>,
Signature · 1 line
2.5.0
Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree
Quoted 6 lines · On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote:
From: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Signed-off-by Suravee Suthikulpanit <[email protected]>
This could use a changelog text to explain why it's broken and how the fix works.
Arnd
Suravee Suthikulpanit
maintainerRe: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree
Hi Arnd,
Quoted 5 lines · Arnd Bergmann
Quoted 4 lines · On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote:
From: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Suravee Suthikulpanit <[email protected]>This could use a changelog text to explain why it's broken and how the fix works.
Arnd
So, I have not experience the breakage. However, IIUC, the GICv2m MSI frame is also considered DMA-able. So, I think it should be included in the dma-range specified here. Please let me know if my assumption is incorrect. Otherwise, I will include more description in the commit log in my next rev.
Thanks,
Suravee
Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree
Quoted 13 lines · On Thursday 11 February 2016 04:13:50 Suravee Suthikulpanit wrote:
Quoted 11 lines · Arnd Bergmann
Quoted 6 lines · On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote:
From: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Signed-off-by Suravee Suthikulpanit <[email protected]>This could use a changelog text to explain why it's broken and how the fix works.
Quoted 8 lines
Quoted 2 lines
Arnd
So, I have not experience the breakage. However, IIUC, the GICv2m MSI frame is also considered DMA-able. So, I think it should be included in the dma-range specified here. Please let me know if my assumption is incorrect. Otherwise, I will include more description in the commit log in my next rev.
No, I think this makes sense. Just put a more explanation into the changelog when those things are not obvious from looking at the change.
Arnd
Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree
In reply to Suravee SuthikulpanitHi,
Quoted 17 lines · Suravee Suthikulpanit
Hi Arnd,
Quoted 13 lines · Arnd Bergmann
Quoted 7 lines · On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote:
From: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Signed-off-by Suravee Suthikulpanit <[email protected]>This could use a changelog text to explain why it's broken and how the fix works.
Quoted 7 lines
Quoted 2 lines
Arnd
So, I have not experience the breakage. However, IIUC, the GICv2m MSI frame is also considered DMA-able. So, I think it should be included in the dma-range specified here. Please let me know if my assumption is incorrect. Otherwise, I will include more description in the commit log in my next rev.
As I replied when I did it -- I've applied the patches, so respinning won't work. Instead, please follow up with incremental fixes to this series instead.
Thanks,
-Olof
Suravee Suthikulpanit
maintainerRe: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree
Ok, I'll send the incremental patch out again.
Thanks,
Suravee
Quoted 38 lines · Olof Johansson
Hi,
Quoted 17 lines · Suravee Suthikulpanit
Hi Arnd,
Quoted 13 lines · Arnd Bergmann
Quoted 7 lines · On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote:
From: Suravee Suthikulpanit <[email protected]>
Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC.
Signed-off-by Suravee Suthikulpanit <[email protected]>This could use a changelog text to explain why it's broken and how the fix works.
Quoted 7 lines
Quoted 2 lines
Arnd
So, I have not experience the breakage. However, IIUC, the GICv2m MSI frame is also considered DMA-able. So, I think it should be included in the dma-range specified here. Please let me know if my assumption is incorrect. Otherwise, I will include more description in the commit log in my next rev.
As I replied when I did it -- I've applied the patches, so respinning won't work. Instead, please follow up with incremental fixes to this series instead.
Thanks,
-Olof
Suravee Suthikulpanit
maintainerPATCH v2 4/12 dtb: amd: Fix typo in SPI device nodes
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Remove invalid entry in the SPI device nodes.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +0 -2
@@ -91,7 +91,6 @@ spi0: ssp at e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; - #gpio-cells = <2>; reg = <0 0xe1020000 0 0x1000>; spi-controller; interrupts = <0 330 4>;
@@ -102,7 +101,6 @@ spi1: ssp at e1030000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; - #gpio-cells = <2>; reg = <0 0xe1030000 0 0x1000>; spi-controller; interrupts = <0 329 4>;
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 5/12 dtb: amd: Misc changes for I2C device nodes
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add new i2c1 device node, and fix the incorrect clock frequency.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +9 -1
@@ -77,7 +77,15 @@ compatible = "snps,designware-i2c"; reg = <0 0xe1000000 0 0x1000>; interrupts = <0 357 4>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; + }; + + i2c1: i2c at e0050000 { + status = "disabled"; + compatible = "snps,designware-i2c"; + reg = <0 0xe0050000 0 0x1000>; + interrupts = <0 340 4>; + clocks = <&miscclk_250mhz>; }; serial0: serial at e1010000 {
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 6/12 dtb: amd: Misc changes for SATA device tree nodes
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add new SATA1 device node, and fix the register range size of SATA0.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +11 -1
@@ -66,12 +66,22 @@ sata0: sata at e0300000 { compatible = "snps,dwc-ahci"; - reg = <0 0xe0300000 0 0x800>; + reg = <0 0xe0300000 0 0xf0000>; interrupts = <0 355 4>; clocks = <&sataclk_333mhz>; dma-coherent; }; + /* This is for Rev B only */ + sata1: sata at e0d00000 { + status = "disabled"; + compatible = "snps,dwc-ahci"; + reg = <0 0xe0d00000 0 0xf0000>; + interrupts = <0 354 4>; + clocks = <&sataclk_333mhz>; + dma-coherent; + }; + i2c0: i2c at e1000000 { status = "disabled"; compatible = "snps,designware-i2c";
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 7/12 dtb: amd: Misc changes for GPIO devices
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add new GPIO device nodes and fix clock on gpio0.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 49 +++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +45 -4
@@ -129,7 +129,7 @@ #size-cells = <0>; }; - gpio0: gpio at e1040000 { + gpio0: gpio at e1040000 { /* Not available to OS for B0 */ status = "disabled"; compatible = "arm,pl061", "arm,primecell"; #gpio-cells = <2>;
@@ -138,18 +138,59 @@ interrupts = <0 359 4>; interrupt-controller; #interrupt-cells = <2>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; clock-names = "apb_pclk"; }; - gpio1: gpio at e1050000 { + gpio1: gpio at e1050000 { /* [0:7] */ status = "disabled"; compatible = "arm,pl061", "arm,primecell"; #gpio-cells = <2>; reg = <0 0xe1050000 0 0x1000>; gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; interrupts = <0 358 4>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio2: gpio at e0020000 { /* [8:15] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0020000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 366 4>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio3: gpio at e0030000 { /* [16:23] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0030000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 365 4>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio4: gpio at e0080000 { /* [24] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0080000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 361 4>; + clocks = <&miscclk_250mhz>; clock-names = "apb_pclk"; };
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 8/12 dtb: amd: Add PERF CCN-504 device tree node
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add PERF CCN-504 device tree node.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +7 -0
@@ -229,5 +229,12 @@ /* 64-bit MMIO (size= 124G) */ <0x03000000 0x01 0x00000000 0x01 0x00000000 0x7f 0x00000000>; }; + + /* Perf CCN504 PMU */ + ccn: ccn at 0xe8000000 { + compatible = "arm,ccn-504"; + reg = <0x0 0xe8000000 0 0x1000000>; + interrupts = <0 380 4>; + }; }; };
Signature · 1 line
2.5.0
Re: [PATCH V2 08/12] dtb: amd: Add PERF CCN-504 device tree node
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi line 234
Quoted 3 lines · On Monday 08 February 2016 11:59:13 Suravee Suthikulpanit wrote:
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +2
-0+ /* Perf CCN504 PMU */ + ccn: ccn at 0xe8000000 {
The address is wrong, please remove the '0x'.
Arnd
Suravee Suthikulpanit
maintainerRe: [PATCH V2 08/12] dtb: amd: Add PERF CCN-504 device tree node
Quoted 9 lines · Arnd Bergmann
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi line 234
Quoted 3 lines · On Monday 08 February 2016 11:59:13 Suravee Suthikulpanit wrote:
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +2
-0+ /* Perf CCN504 PMU */ + ccn: ccn at 0xe8000000 {The address is wrong, please remove the '0x'.
Arnd
Right, thanks for catching this.
Suravee
Suravee Suthikulpanit
maintainerPATCH v2 9/12 dtb: amd: Add KCS device tree node
In reply to Suravee SuthikulpanitFrom: Brijesh Singh <[email protected]>
Add KCS device node to support IPMI solution on Overdrive system.
--- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +11 -0
@@ -236,5 +236,16 @@ reg = <0x0 0xe8000000 0 0x1000000>; interrupts = <0 380 4>; }; + + ipmi_kcs: kcs at e0010000 { + status = "disabled"; + compatible = "ipmi-kcs"; + device_type = "ipmi"; + reg = <0x0 0xe0010000 0 0x8>; + interrupts = <0 389 4>; + interrupt-names = "ipmi_kcs"; + reg-size = <1>; + reg-spacing = <4>; + }; }; };
Signature · 1 line
2.5.0
Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi line 250
Quoted 13 lines · On Monday 08 February 2016 11:59:14 Suravee Suthikulpanit wrote:
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +11
-0+ + ipmi_kcs: kcs at e0010000 { + status = "disabled"; + compatible = "ipmi-kcs"; + device_type = "ipmi"; + reg = <0x0 0xe0010000 0 0x8>; + interrupts = <0 389 4>; + interrupt-names = "ipmi_kcs"; + reg-size = <1>; + reg-spacing = <4>; + }; };
I see we don't have a binding file for this, can you add one please?
Why the strange name for the interrupt?
Arnd
Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node
Hi,
Quoted 15 lines · Arnd Bergmann
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi line 250
Quoted 13 lines · On Monday 08 February 2016 11:59:14 Suravee Suthikulpanit wrote:
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +11
-0+ + ipmi_kcs: kcs at e0010000 { + status = "disabled"; + compatible = "ipmi-kcs"; + device_type = "ipmi"; + reg = <0x0 0xe0010000 0 0x8>; + interrupts = <0 389 4>; + interrupt-names = "ipmi_kcs"; + reg-size = <1>; + reg-spacing = <4>; + }; };
Quoted 2 lines
I see we don't have a binding file for this, can you add one please?
There is binding file ipmi.txt [1]. Am I missing something ?
[1] http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/ipmi.txt
Quoted 3 lines
Why the strange name for the interrupt?
Now I don't remember the doc but sometime back while implementing BMC on Seattle I saw that interrupt was labeled as "ipmi_kcs" hence used the same name in DT. But if you want to use different name then let me know the string and will update it.
Theoretically IPMI system interface supports the following interface and any of these interfaces can be used by A57 to communicate with BMC:
* Keyboard controller style (KCS)
* System Management Interface (SMIC)
* Block transfer (BT)
* SMBus system interface (SSIF)
AMD Seattle platform supports "KCS".
Quoted 2 lines
Arnd
Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node
Quoted 6 lines · On Tuesday 09 February 2016 09:47:55 Brijesh Singh wrote:
Quoted 3 lines
I see we don't have a binding file for this, can you add one please?
There is binding file ipmi.txt [1]. Am I missing something ?
[1] http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/ipmi.txt
Sorry, my mistake: I was looking for "ipmi_kcs", which is not in there.
Quoted 10 lines
Quoted 3 lines
Why the strange name for the interrupt?
Now I don't remember the doc but sometime back while implementing BMC on Seattle I saw that interrupt was labeled as "
ipmi_kcs" hence used the same name in DT. But if you want to use different name then let me know the string and will update it.Theoretically IPMI system interface supports the following interface and any of these interfaces can be used by A57 to communicate with BMC:
Quoted 7 lines
* Keyboard controller style (KCS)
* System Management Interface (SMIC)
* Block transfer (BT)
* SMBus system interface (SSIF)AMD Seattle platform supports "KCS".
The important part for interrupt/reg/... names is that you must use exactly the names that are listed in the binding. If there is no name in there, it's better not to add the name property.
The other point is that "ipmi_kcs" is a name that is picked really badly, as it uses a '_' character while DT properties by convention use '-' between names, and the name of the IRQ is the same as the device itself, which is really not a useful way to disambiguate multiple interrupts in the same device, if someone ever adds another irq line.
Arnd
Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node
Hi,
Quoted 11 lines · Arnd Bergmann
The important part for interrupt/reg/... names is that you must use exactly the names that are listed in the binding. If there is no name in there, it's better not to add the name property.
The other point is that "
ipmi_kcs" is a name that is picked really badly, as it uses a '_' character while DT properties by convention use '-' between names, and the name of the IRQ is the same as the device itself, which is really not a useful way to disambiguate multiple interrupts in the same device, if someone ever adds another irq line.
Sure we will drop the name field. Thanks.
Quoted 2 lines
Arnd
Suravee Suthikulpanit
maintainerPATCH v2 10/12 dtb: amd: Add AMD XGBE device tree file
In reply to Suravee SuthikulpanitFrom: Tom Lendacky <[email protected]>
Add AMD XGBE device tree file, which is available in AMD Seattle RevB.
--- MAINTAINERS | 1 + arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 117 ++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi
MAINTAINERS +1 -0
@@ -685,6 +685,7 @@ M: Tom Lendacky <[email protected]> L: netdev at vger.kernel.org S: Supported F: drivers/net/ethernet/amd/xgbe/ +F: arch/arm64/boot/dts/amd/amd-seattle-xgbe*.dtsi AMS (Apple Motion Sensor) DRIVER M: Michael Hanselmann <[email protected]>
arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi new file +117 -0
117 lines not on this page · raw message
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 11/12 dtb: amd: Add support for new AMD Overdrive boards
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add device tree files for AMD Overdrive boards which comes with AMD Seattle Revision B0 and B1 SOCs.
--- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 87 ++++++++++++++++++++++ arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 91 ++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts
arch/arm64/boot/dts/amd/Makefile +2 -1
@@ -1,4 +1,5 @@ -dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb +dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb \ + amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts new file +87 -0
87 lines not on this page · raw message
arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts new file +91 -0
91 lines not on this page · raw message
Signature · 1 line
2.5.0
Suravee Suthikulpanit
maintainerPATCH v2 12/12 dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board
In reply to Suravee SuthikulpanitFrom: Suravee Suthikulpanit <[email protected]>
Add device tree file for AMD/Linaro 96Boards Enterprise Edition Server (Husky) Board. This is based on the AMD Seattle Rev.B0 system
--- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd/husky.dts | 83 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/amd/husky.dts
arch/arm64/boot/dts/amd/Makefile +2 -1
@@ -1,5 +1,6 @@ dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb \ - amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb + amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb \ + husky.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amd/husky.dts new file +83 -0
83 lines not on this page · raw message
Signature · 1 line
2.5.0