ARM: moxart: DT fixups
Subsystems (2)
PATCH 1/1 ARM: moxart: DT fixups
Change DT files to remain coherent with changes in accompanying drivers.
1. replace "sdhci" with "mmc"
2. add bus-width property to mmc node
3. drop device_type property
4. replace "mac@" with "ethernet@"
5. replace CONFIG_MMC_SDHCI_MOXART with CONFIG_MMC_MOXART
---
Notes:
Applies on top of:
"[PATCH] ARM: moxart: move fixed rate clock child node to board level dts"
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.html
Applies to next-20140121
arch/arm/boot/dts/moxart-uc7112lx.dts | 5 ++--- arch/arm/boot/dts/moxart.dtsi | 8 ++++---- arch/arm/configs/moxart_defconfig | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-)
arch/arm/boot/dts/moxart-uc7112lx.dts +2 -3
@@ -80,15 +80,15 @@ clocks = <&ref12>; }; -&sdhci { +&mmc { status = "okay"; + bus-width = <4>; }; &mdio0 { status = "okay"; ethphy0: ethernet-phy at 1 { - device_type = "ethernet-phy"; compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22"; reg = <1>; };
@@ -98,7 +98,6 @@ status = "okay"; ethphy1: ethernet-phy at 1 { - device_type = "ethernet-phy"; compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22"; reg = <1>; };
arch/arm/boot/dts/moxart.dtsi +4 -4
@@ -90,8 +90,8 @@ clocks = <&clk_apb>; }; - sdhci: sdhci at 98e00000 { - compatible = "moxa,moxart-sdhci"; + mmc: mmc at 98e00000 { + compatible = "moxa,moxart-mmc"; reg = <0x98e00000 0x5C>; interrupts = <5 0>; clocks = <&clk_apb>;
@@ -117,7 +117,7 @@ status = "disabled"; }; - mac0: mac at 90900000 { + mac0: ethernet at 90900000 { compatible = "moxa,moxart-mac"; reg = <0x90900000 0x90>; interrupts = <25 0>;
@@ -126,7 +126,7 @@ status = "disabled"; }; - mac1: mac at 92000000 { + mac1: ethernet at 92000000 { compatible = "moxa,moxart-mac"; reg = <0x92000000 0x90>; interrupts = <27 0>;
arch/arm/configs/moxart_defconfig +1 -1
@@ -107,7 +107,7 @@ CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_MOXART_WDT=y # CONFIG_USB_SUPPORT is not set CONFIG_MMC=y -CONFIG_MMC_SDHCI_MOXART=y +CONFIG_MMC_MOXART=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y
Signature · 1 line
1.8.2.1
Quoted 12 lines · Jonas Jensen
Change DT files to remain coherent with changes in accompanying drivers.
1. replace "sdhci" with "mmc"
2. add bus-width property to mmc node
3. dropdevice_typeproperty
4. replace "mac@" with "ethernet@"
5. replaceCONFIG_MMC_SDHCI_MOXARTwithCONFIG_MMC_MOXARTSigned-off-by Jonas Jensen <[email protected]>---
Quoted 7 lines
Notes:
Applies on top of:"[PATCH] ARM: moxart: move fixed rate clock child node to board level dts"
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.htmlApplies to next-20140121
Since the prereqs for this patch are in different branches right now, I'll have to apply it after the merges have been done by Linus. I'll include it in a batch of fixes later on -- remind me if we forget.
-Olof