arm64: dts: AMD Seattle clean-ups
Rob Herring (Arm)
maintainercover arm64: dts: AMD Seattle clean-ups
This short series fixes most of the schema warnings for AMD Seattle.
Arnd, Not sure if the AMD maintainers are active. If not, please take this directly.
---
Rob Herring (Arm) (4):
arm64: dts: amd/seattle: Base Overdrive B1 on top of B0 version
arm64: dts: amd/seattle: Move and simplify fixed clocks
arm64: dts: amd/seattle: Fix bus, mmc, and ethernet node names
arm64: dts: amd/seattle: Drop undocumented "spi-controller" properties
arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 2 +- arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 61 +----------------------- arch/arm64/boot/dts/amd/amd-seattle-clks.dtsi | 24 +++------- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++-- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 32 +------------ 5 files changed, 13 insertions(+), 114 deletions(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250306-dt-amd-fixes-6a8984d2d279
Best regards,
Signature · 1 line
Rob Herring (Arm) <[email protected]>
Rob Herring (Arm)
maintainerPATCH 1/4 arm64: dts: amd/seattle: Base Overdrive B1 on top of B0 version
AMD Overdrive B1 version is just more peripherals enabled over B0 version. Rework the B1 .dts to use the B0 .dts.
--- arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 61 +----------------------- 1 file changed, 1 insertion(+), 60 deletions(-)
arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts +1 -60
@@ -8,32 +8,10 @@ /dts-v1/; -/include/ "amd-seattle-soc.dtsi" -/include/ "amd-seattle-cpus.dtsi" +/include/ "amd-overdrive-rev-b0.dts" / { model = "AMD Seattle (Rev.B1) Development Board (Overdrive)"; - compatible = "amd,seattle-overdrive", "amd,seattle"; - - chosen { - stdout-path = &serial0; - }; - - psci { - compatible = "arm,psci-0.2"; - method = "smc"; - }; -}; - -&ccp0 { - status = "okay"; -}; - -/** - * NOTE: In Rev.B, gpio0 is reserved. - */ -&gpio1 { - status = "okay"; }; &gpio2 {
@@ -44,48 +22,11 @@ &gpio3 { status = "okay"; }; -&gpio4 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -&pcie0 { - status = "okay"; -}; - &sata1 { status = "okay"; }; -&spi0 { - status = "okay"; -}; - -&spi1 { - status = "okay"; - sdcard0: sdcard@0 { - compatible = "mmc-spi-slot"; - reg = <0>; - spi-max-frequency = <20000000>; - voltage-ranges = <3200 3400>; - pl022,interface = <0>; - pl022,com-mode = <0x0>; - pl022,rx-level-trig = <0>; - pl022,tx-level-trig = <0>; - }; -}; - &ipmi_kcs { status = "okay"; }; -&smb0 { - /include/ "amd-seattle-xgbe-b.dtsi" -};
Signature · 1 line
2.47.2
Re: [PATCH 1/4] arm64: dts: amd/seattle: Base Overdrive B1 on top of B0 version
Quoted 13 lines · Rob Herring (Arm)
AMD Overdrive B1 version is just more peripherals enabled over B0 version. Rework the B1 .dts to use the B0 .dts.
Signed-off-by Rob Herring (Arm) <[email protected]>--- arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 61 +----------------------- 1 file changed, 1 insertion(+), 60 deletions(-)arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts +0
-0
arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts line 11
Quoted 6 lines
arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts +1
-2@@ -8,32 +8,10 @@ /dts-v1/; -/include/ "amd-seattle-soc.dtsi" -/include/ "amd-seattle-cpus.dtsi" +/include/ "amd-overdrive-rev-b0.dts"
This should be just common DTSI for overdrive boards. We rather avoid including DTS from DTS.
OTOH, that's pretty abandoned platform, so probably no one cares about correctness, so I don't oppose current approach.
Best regards,
Krzysztof
Rob Herring (Arm)
maintainerPATCH 2/4 arm64: dts: amd/seattle: Move and simplify fixed clocks
In reply to Rob Herring (Arm)The fixed clocks are not part of "simple-bus", so move them out of the bus to the top-level. In the process, use the preferred node names of "clock-<freq>". There's also little reason to have multiple fixed clocks at the same frequencies, so remove them keeping the labels to minimize the change.
--- arch/arm64/boot/dts/amd/amd-seattle-clks.dtsi | 24 ++++++--------------- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 4 ++-- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 28 ------------------------- 3 files changed, 8 insertions(+), 48 deletions(-)
arch/arm64/boot/dts/amd/amd-seattle-clks.dtsi +6 -18
@@ -5,51 +5,39 @@ * Copyright (C) 2014 Advanced Micro Devices, Inc. */ - adl3clk_100mhz: clk100mhz_0 { + adl3clk_100mhz: uartspiclk_100mhz: clock-100000000 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <100000000>; clock-output-names = "adl3clk_100mhz"; }; - ccpclk_375mhz: clk375mhz { + ccpclk_375mhz: clock-375000000 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <375000000>; clock-output-names = "ccpclk_375mhz"; }; - sataclk_333mhz: clk333mhz { + sataclk_333mhz: clock-333000000 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <333000000>; clock-output-names = "sataclk_333mhz"; }; - pcieclk_500mhz: clk500mhz_0 { + dmaclk_500mhz: pcieclk_500mhz: clock-500000000 { 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 { + xgmacclk0_dma_250mhz: xgmacclk0_ptp_250mhz: xgmacclk1_dma_250mhz: xgmacclk1_ptp_250mhz: + miscclk_250mhz: clock-250000000 { 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"; - };
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +2 -2
@@ -11,6 +11,8 @@ / { #address-cells = <2>; #size-cells = <2>; + /include/ "amd-seattle-clks.dtsi" + gic0: interrupt-controller@e1101000 { compatible = "arm,gic-400", "arm,cortex-a15-gic"; interrupt-controller;
@@ -51,8 +53,6 @@ smb0: smb { */ dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>; - /include/ "amd-seattle-clks.dtsi" - sata0: sata@e0300000 { compatible = "snps,dwc-ahci"; reg = <0 0xe0300000 0 0xf0000>;
arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi +0 -28
@@ -5,34 +5,6 @@ * Copyright (C) 2015 Advanced Micro Devices, Inc. */ - xgmacclk0_dma_250mhz: clk250mhz_0 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <250000000>; - clock-output-names = "xgmacclk0_dma_250mhz"; - }; - - xgmacclk0_ptp_250mhz: clk250mhz_1 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <250000000>; - clock-output-names = "xgmacclk0_ptp_250mhz"; - }; - - xgmacclk1_dma_250mhz: clk250mhz_2 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <250000000>; - clock-output-names = "xgmacclk1_dma_250mhz"; - }; - - xgmacclk1_ptp_250mhz: clk250mhz_3 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <250000000>; - clock-output-names = "xgmacclk1_ptp_250mhz"; - }; - xgmac0: xgmac@e0700000 { compatible = "amd,xgbe-seattle-v1a"; reg = <0 0xe0700000 0 0x80000>,
Signature · 1 line
2.47.2
Re: [PATCH 2/4] arm64: dts: amd/seattle: Move and simplify fixed clocks
Quoted 6 lines · Rob Herring (Arm)
The fixed clocks are not part of "simple-bus", so move them out of the bus to the top-level. In the process, use the preferred node names of "clock-<freq>". There's also little reason to have multiple fixed clocks at the same frequencies, so remove them keeping the labels to minimize the change.
Quoted 7 lines
Signed-off-by Rob Herring (Arm) <[email protected]>--- arch/arm64/boot/dts/amd/amd-seattle-clks.dtsi | 24 ++++++--------------- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 4 ++-- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 28 ------------------------- 3 files changed, 8 insertions(+), 48 deletions(-)
Best regards,
Krzysztof
Rob Herring (Arm)
maintainerPATCH 3/4 arm64: dts: amd/seattle: Fix bus, mmc, and ethernet node names
In reply to Rob Herring (Arm)Use preferred node names for bus, mmc, and ethernet.
--- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 2 +- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 2 +- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts +1 -1
@@ -58,7 +58,7 @@ &spi0 { &spi1 { status = "okay"; - sdcard0: sdcard@0 { + sdcard0: mmc@0 { compatible = "mmc-spi-slot"; reg = <0>; spi-max-frequency = <20000000>;
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +1 -1
@@ -40,7 +40,7 @@ timer { <1 10 0xff04>; }; - smb0: smb { + smb0: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>;
arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi +2 -2
@@ -5,7 +5,7 @@ * Copyright (C) 2015 Advanced Micro Devices, Inc. */ - xgmac0: xgmac@e0700000 { + xgmac0: ethernet@e0700000 { compatible = "amd,xgbe-seattle-v1a"; reg = <0 0xe0700000 0 0x80000>, <0 0xe0780000 0 0x80000>,
@@ -31,7 +31,7 @@ xgmac0: xgmac@e0700000 { dma-coherent; }; - xgmac1: xgmac@e0900000 { + xgmac1: ethernet@e0900000 { compatible = "amd,xgbe-seattle-v1a"; reg = <0 0xe0900000 0 0x80000>, <0 0xe0980000 0 0x80000>,
Signature · 1 line
2.47.2
Re: [PATCH 3/4] arm64: dts: amd/seattle: Fix bus, mmc, and ethernet node names
Quoted 9 lines · Rob Herring (Arm)
Use preferred node names for bus, mmc, and ethernet.
Signed-off-by Rob Herring (Arm) <[email protected]>--- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 2 +- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 2 +- arch/arm64/boot/dts/amd/amd-seattle-xgbe-b.dtsi | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
Best regards,
Krzysztof
Rob Herring (Arm)
maintainerPATCH 4/4 arm64: dts: amd/seattle: Drop undocumented "spi-controller" properties
In reply to Rob Herring (Arm)"spi-controller" is not a documented property nor used anywhere, so drop it.
--- 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
@@ -121,7 +121,6 @@ spi0: spi@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; reg = <0 0xe1020000 0 0x1000>; - spi-controller; interrupts = <0 330 4>; clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>; clock-names = "sspclk", "apb_pclk";
@@ -131,7 +130,6 @@ spi1: spi@e1030000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell"; reg = <0 0xe1030000 0 0x1000>; - spi-controller; interrupts = <0 329 4>; clocks = <&uartspiclk_100mhz>, <&uartspiclk_100mhz>; clock-names = "sspclk", "apb_pclk";
Signature · 1 line
2.47.2
Re: [PATCH 4/4] arm64: dts: amd/seattle: Drop undocumented "spi-controller" properties
Quoted 4 lines · Rob Herring (Arm)
"spi-controller" is not a documented property nor used anywhere, so drop it.
Signed-off-by Rob Herring (Arm) <[email protected]>
Best regards,
Krzysztof
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 8 lines · On Thu, 06 Mar 2025 19:07:42 -0600 you wrote:
This short series fixes most of the schema warnings for AMD Seattle.
Arnd, Not sure if the AMD maintainers are active. If not, please take this directly.
Signed-off-by "Rob Herring (Arm)" <[email protected]>[...]
Here is the summary with links:
- [1/4] arm64: dts: amd/seattle: Base Overdrive B1 on top of B0 version
https://git.kernel.org/soc/soc/c/bae2bdde4211 - [2/4] arm64: dts: amd/seattle: Move and simplify fixed clocks https://git.kernel.org/soc/soc/c/8945ed5c8e69 - [3/4] arm64: dts: amd/seattle: Fix bus, mmc, and ethernet node names https://git.kernel.org/soc/soc/c/6268ac369b59 - [4/4] arm64: dts: amd/seattle: Drop undocumented "spi-controller" properties https://git.kernel.org/soc/soc/c/58fcd0b72955
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html