diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-08 12:48:00 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-04 14:59:14 +0100 |
commit | 7f02f04cbd3dd273fae00b5e093d4a1cdf560de1 (patch) | |
tree | 34b24e911e26775ca0747ea3c54ddb107a326bf8 | |
parent | 9e6a1bf3e41e7eb677d005533797fb19637f53ca (diff) |
ARM: dts: Clearfog: use PCIe, SDHCI and USB labels to reference nodes
Use the labels created by commit a126de75c1b8 ("ARM: dts: armada-38x
add node labels")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 14 | ||||
-rw-r--r-- | arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi | 61 |
2 files changed, 37 insertions, 38 deletions
diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog.dts b/arch/arm/boot/dts/marvell/armada-388-clearfog.dts index ba0f492a11fe..a105163de06a 100644 --- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dts +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dts @@ -21,14 +21,6 @@ status = "okay"; }; }; - - pcie { - pcie@3,0 { - /* Port 2, Lane 0. CON2, nearest CPU. */ - reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>; - status = "okay"; - }; - }; }; gpio-keys { @@ -146,6 +138,12 @@ }; }; +&pcie3 { + /* Port 2, Lane 0. CON2, nearest CPU. */ + reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &pinctrl { clearfog_dsa0_clk_pins: clearfog-dsa0-clk-pins { marvell,pins = "mpp46"; diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi index f8a06ae4a3c9..78126de6eb96 100644 --- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi @@ -40,41 +40,11 @@ status = "okay"; }; - sdhci@d8000 { - bus-width = <4>; - cd-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; - no-1-8-v; - pinctrl-0 = <µsom_sdhci_pins - &clearfog_sdhci_cd_pins>; - pinctrl-names = "default"; - status = "okay"; - vmmc-supply = <®_3p3v>; - wp-inverted; - }; - - usb@58000 { - /* CON3, nearest power. */ - status = "okay"; - }; - usb3@f8000 { /* CON7 */ status = "okay"; }; }; - - pcie { - status = "okay"; - /* - * The two PCIe units are accessible through - * the mini-PCIe connectors on the board. - */ - pcie@2,0 { - /* Port 1, Lane 0. CON3, nearest power. */ - reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>; - status = "okay"; - }; - }; }; sfp: sfp { @@ -200,6 +170,20 @@ status = "okay"; }; +&pciec { + status = "okay"; +}; + +/* + * The two PCIe units are accessible through + * the mini-PCIe connectors on the board. + */ +&pcie2 { + /* Port 1, Lane 0. CON3, nearest power. */ + reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &pinctrl { clearfog_i2c1_pins: i2c1-pins { /* SFP, PCIe, mSATA, mikrobus */ @@ -225,6 +209,18 @@ }; }; +&sdhci { + bus-width = <4>; + cd-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; + no-1-8-v; + pinctrl-0 = <µsom_sdhci_pins + &clearfog_sdhci_cd_pins>; + pinctrl-names = "default"; + status = "okay"; + vmmc-supply = <®_3p3v>; + wp-inverted; +}; + &spi1 { /* * Add SPI CS pins for clearfog: @@ -243,3 +239,8 @@ pinctrl-names = "default"; status = "okay"; }; + +&usb0 { + /* CON3, nearest power. */ + status = "okay"; +}; |