i.MX25 dts updates
Subsystems (2)
Sascha Hauer
maintainerPATCH v2 1/1 i.MX25 dts updates
Changes since v1:
- Fix mmc1 alias name
- Add enable-active-high to FEC phy regulator
- Fix gpio number for FEC phy reset
Sascha
----------------------------------------------------------------
Sascha Hauer (6):
ARM: dts: i.MX25: Add mmc aliases
ARM: dts: i.MX25: remove disabled property of usbmisc unit
ARM: dts: i.MX25: Add IRAM node
ARM: dts: Karo TX25: Add pinctrl nodes
ARM: dts: Karo TX25: Add phy reset gpio and supply for FEC
ARM: dts: Karo TX25: use hardware ecc
arch/arm/boot/dts/imx25-karo-tx25.dts | 73 +++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx25.dtsi | 8 +++- 2 files changed, 80 insertions(+), 1 deletion(-)
Sascha Hauer
maintainerPATCH 1/6 ARM: dts: i.MX25: Add mmc aliases
--- arch/arm/boot/dts/imx25.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx25.dtsi +2 -0
@@ -21,6 +21,8 @@ i2c0 = &i2c1; i2c1 = &i2c2; i2c2 = &i2c3; + mmc0 = &esdhc1; + mmc1 = &esdhc2; serial0 = &uart1; serial1 = &uart2; serial2 = &uart3;
Signature · 1 line
2.0.0.rc0
Sascha Hauer
maintainerPATCH 2/6 ARM: dts: i.MX25: remove disabled property of usbmisc unit
In reply to Sascha HauerIt's a unit only used by the usb devices. No need to enable them manually.
--- arch/arm/boot/dts/imx25.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx25.dtsi +0 -1
@@ -520,7 +520,6 @@ clocks = <&clks 9>, <&clks 70>, <&clks 8>; clock-names = "ipg", "ahb", "per"; reg = <0x53ff4600 0x00f>; - status = "disabled"; }; dryice at 53ffc000 {
Signature · 1 line
2.0.0.rc0
PATCH 2/6 ARM: dts: i.MX25: remove disabled property of usbmisc unit
Quoted 13 lines · Sascha Hauer
It's a unit only used by the usb devices. No need to enable them manually.
Signed-off-by Sascha Hauer <[email protected]>--- arch/arm/boot/dts/imx25.dtsi | 1 - 1 file changed, 1 deletion(-)arch/arm/boot/dts/imx25.dtsi +0
-0
arch/arm/boot/dts/imx25.dtsi line 523
Quoted 4 lines
arch/arm/boot/dts/imx25.dtsi +0
-1@@ -520,7 +520,6 @@ clocks = <&clks 9>, <&clks 70>, <&clks 8>; clock-names = "ipg", "ahb", "per"; reg = <0x53ff4600 0x00f>; - status = "disabled";
I already queued a patch from Fabio, which has this change.
Shawn
Quoted 6 lines
arch/arm/boot/dts/imx25.dtsi +0
-0}; dryice at 53ffc000 {Signature · 1 line
2.0.0.rc0
Sascha Hauer
maintainerPATCH 3/6 ARM: dts: i.MX25: Add IRAM node
In reply to Sascha Hauer--- arch/arm/boot/dts/imx25.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/imx25.dtsi +5 -0
@@ -531,6 +531,11 @@ }; }; + iram: sram at 78000000 { + compatible = "mmio-sram"; + reg = <0x78000000 0x20000>; + }; + emi at 80000000 { compatible = "fsl,emi-bus", "simple-bus"; #address-cells = <1>;
Signature · 1 line
2.0.0.rc0
Sascha Hauer
maintainerPATCH 4/6 ARM: dts: Karo TX25: Add pinctrl nodes
In reply to Sascha Hauer--- arch/arm/boot/dts/imx25-karo-tx25.dts | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+)
arch/arm/boot/dts/imx25-karo-tx25.dts +53 -0
@@ -21,16 +21,69 @@ }; }; +&iomuxc { + pinctrl_uart1: uart1grp { + fsl,pins = < + MX25_PAD_UART1_TXD__UART1_TXD 0x80000000 + MX25_PAD_UART1_RXD__UART1_RXD 0x80000000 + MX25_PAD_UART1_CTS__UART1_CTS 0x80000000 + MX25_PAD_UART1_RTS__UART1_RTS 0x80000000 + >; + }; + + pinctrl_fec: fecgrp { + fsl,pins = < + MX25_PAD_D11__GPIO_4_9 0x80000000 /* FEC PHY power on pin */ + MX25_PAD_D13__GPIO_4_7 0x80000000 /* FEC reset */ + MX25_PAD_FEC_MDC__FEC_MDC 0x80000000 + MX25_PAD_FEC_MDIO__FEC_MDIO 0x80000000 + MX25_PAD_FEC_TDATA0__FEC_TDATA0 0x80000000 + MX25_PAD_FEC_TDATA1__FEC_TDATA1 0x80000000 + MX25_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 + MX25_PAD_FEC_RDATA0__FEC_RDATA0 0x80000000 + MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000 + MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000 + MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x80000000 + >; + }; + + pinctrl_nfc: nfcgrp { + fsl,pins = < + MX25_PAD_NF_CE0__NF_CE0 0x80000000 + MX25_PAD_NFWE_B__NFWE_B 0x80000000 + MX25_PAD_NFRE_B__NFRE_B 0x80000000 + MX25_PAD_NFALE__NFALE 0x80000000 + MX25_PAD_NFCLE__NFCLE 0x80000000 + MX25_PAD_NFWP_B__NFWP_B 0x80000000 + MX25_PAD_NFRB__NFRB 0x80000000 + MX25_PAD_D7__D7 0x80000000 + MX25_PAD_D6__D6 0x80000000 + MX25_PAD_D5__D5 0x80000000 + MX25_PAD_D4__D4 0x80000000 + MX25_PAD_D3__D3 0x80000000 + MX25_PAD_D2__D2 0x80000000 + MX25_PAD_D1__D1 0x80000000 + MX25_PAD_D0__D0 0x80000000 + >; + }; +}; + &uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; status = "okay"; }; &fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec>; phy-mode = "rmii"; status = "okay"; }; &nfc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nfc>; nand-on-flash-bbt; status = "okay"; };
Signature · 1 line
2.0.0.rc0
Sascha Hauer
maintainerPATCH 5/6 ARM: dts: Karo TX25: Add phy reset gpio and supply for FEC
In reply to Sascha Hauer--- arch/arm/boot/dts/imx25-karo-tx25.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
arch/arm/boot/dts/imx25-karo-tx25.dts +18 -0
@@ -16,6 +16,22 @@ model = "Ka-Ro TX25"; compatible = "karo,imx25-tx25", "fsl,imx25"; + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_fec_phy: regulator at 0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "fec-phy"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio4 9 0>; + enable-active-high; + }; + }; + memory { reg = <0x80000000 0x02000000 0x90000000 0x02000000>; };
@@ -77,7 +93,9 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec>; + phy-reset-gpios = <&gpio3 7 0>; phy-mode = "rmii"; + phy-supply = <®_fec_phy>; status = "okay"; };
Signature · 1 line
2.0.0.rc0
Sascha Hauer
maintainerPATCH 6/6 ARM: dts: Karo TX25: use hardware ecc
In reply to Sascha HauerWe should use hardware ecc on i.MX. While at it, add the optional nand-bus-width property.
--- arch/arm/boot/dts/imx25-karo-tx25.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx25-karo-tx25.dts +2 -0
@@ -103,5 +103,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_nfc>; nand-on-flash-bbt; + nand-ecc-mode = "hw"; + nand-bus-width = <8>; status = "okay"; };
Signature · 1 line
2.0.0.rc0
PATCH v2 1/1 i.MX25 dts updates
In reply to Sascha HauerHi,
Quoted 6 lines · Sascha Hauer
Changes since v1:
- Fix mmc1 alias name
- Add enable-active-high to FEC phy regulator
- Fix gpio number for FEC phy reset
for the karo-tx25 part:
Lothar Wa?mann
Signature · 9 lines
___________________________________________________________ Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Gesch?ftsf?hrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info at karo-electronics.de ___________________________________________________________
PATCH v2 1/1 i.MX25 dts updates
In reply to Sascha HauerQuoted 6 lines · Sascha Hauer
Changes since v1:
- Fix mmc1 alias name
- Add enable-active-high to FEC phy regulator
- Fix gpio number for FEC phy reset
Quoted 6 lines
Sascha
----------------------------------------------------------------
Sascha Hauer (6):
ARM: dts: i.MX25: Add mmc aliases
ARM: dts: i.MX25: remove disabled property of usbmisc unit
Applied all except this one.
Shawn
Quoted 8 lines
ARM: dts: i.MX25: Add IRAM node
ARM: dts: Karo TX25: Add pinctrl nodes
ARM: dts: Karo TX25: Add phy reset gpio and supply for FEC
ARM: dts: Karo TX25: use hardware eccarch/arm/boot/dts/imx25-karo-tx25.dts | 73 +++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx25.dtsi | 8 +++- 2 files changed, 80 insertions(+), 1 deletion(-)