ARM: dts: i.MX50: Add i2c, mmc and spi aliases
Subsystems (2)
PATCH 1/3 ARM: dts: i.MX50: Add i2c, mmc and spi aliases
Using aliases, the devices will be enumerated properly.
--- arch/arm/boot/dts/imx50.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/imx50.dtsi +9 -0
@@ -26,11 +26,20 @@ gpio3 = &gpio4; gpio4 = &gpio5; gpio5 = &gpio6; + i2c0 = &i2c1; + i2c1 = &i2c2; + mmc0 = &esdhc1; + mmc1 = &esdhc2; + mmc2 = &esdhc3; + mmc3 = &esdhc4; serial0 = &uart1; serial1 = &uart2; serial2 = &uart3; serial3 = &uart4; serial4 = &uart5; + spi0 = &ecspi1; + spi1 = &ecspi2; + spi2 = &cspi; }; cpus {
Signature · 1 line
2.11.0
PATCH 2/3 ARM: dts: i.MX6SL: Add i2c and mmc aliases
Using aliases, the devices will be enumerated properly.
--- arch/arm/boot/dts/imx6sl.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6sl.dtsi +7 -0
@@ -23,6 +23,13 @@ gpio2 = &gpio3; gpio3 = &gpio4; gpio4 = &gpio5; + i2c0 = &i2c1; + i2c1 = &i2c2; + i2c2 = &i2c3; + mmc0 = &usdhc1; + mmc1 = &usdhc2; + mmc2 = &usdhc3; + mmc3 = &usdhc4; serial0 = &uart1; serial1 = &uart2; serial2 = &uart3;
Signature · 1 line
2.11.0
PATCH 3/3 ARM: dts: i.MX35: Add i2c and mmc aliases
In reply to Alexander KurzUsing aliases, the devices will be enumerated properly.
--- arch/arm/boot/dts/imx35.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx35.dtsi +6 -0
@@ -21,6 +21,12 @@ gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3; + i2c0 = &i2c1; + i2c1 = &i2c2; + i2c2 = &i2c3; + mmc0 = &esdhc1; + mmc1 = &esdhc2; + mmc2 = &esdhc3; serial0 = &uart1; serial1 = &uart2; serial2 = &uart3;
Signature · 1 line
2.11.0
Shawn Guo
AppliedQuoted 3 lines · Alexander Kurz
Using aliases, the devices will be enumerated properly.
Signed-off-by Alexander Kurz <[email protected]>
Applied all, thanks.
Quoted 12 lines · Alexander Kurz
Using aliases, the devices will be enumerated properly.
Signed-off-by Alexander Kurz <[email protected]>--- arch/arm/boot/dts/imx50.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm/boot/dts/imx50.dtsi +0
-0
arch/arm/boot/dts/imx50.dtsi line 30
Quoted 5 lines
arch/arm/boot/dts/imx50.dtsi +2
-0@@ -26,11 +26,20 @@ gpio3 = &gpio4; gpio4 = &gpio5; gpio5 = &gpio6; + i2c0 = &i2c1; + i2c1 = &i2c2;
Reminded by Jonathan's patch, i2c3 is missing here. I just fixed it up. Let's me know if you have a reason for not adding i2c3.
Shawn
Quoted 18 lines
arch/arm/boot/dts/imx50.dtsi +7
-0+ mmc0 = &esdhc1; + mmc1 = &esdhc2; + mmc2 = &esdhc3; + mmc3 = &esdhc4; serial0 = &uart1; serial1 = &uart2; serial2 = &uart3; serial3 = &uart4; serial4 = &uart5; + spi0 = &ecspi1; + spi1 = &ecspi2; + spi2 = &cspi; }; cpus {Signature · 1 line
2.11.0
Quoted 22 lines · Shawn Guo
Quoted 12 lines · Alexander Kurz
Using aliases, the devices will be enumerated properly.
Signed-off-by Alexander Kurz <[email protected]>--- arch/arm/boot/dts/imx50.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm/boot/dts/imx50.dtsi +0
-0arch/arm/boot/dts/imx50.dtsi line 30
Quoted 5 lines
arch/arm/boot/dts/imx50.dtsi +2
-0@@ -26,11 +26,20 @@ gpio3 = &gpio4; gpio4 = &gpio5; gpio5 = &gpio6; + i2c0 = &i2c1; + i2c1 = &i2c2;Reminded by Jonathan's patch, i2c3 is missing here. I just fixed it up. Let's me know if you have a reason for not adding i2c3.
Quoted 1 line
Shawn
Thanks. With this addition, Alexander's patch looks good to me.
Jonathan Neuschäfer
Quoted 8 lines · Shawn Guo
Quoted 7 lines · Alexander Kurz
Using aliases, the devices will be enumerated properly.
Signed-off-by Alexander Kurz <[email protected]>--- arch/arm/boot/dts/imx50.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
Quoted 13 lines
arch/arm/boot/dts/imx50.dtsi line 30
Quoted 10 lines
arch/arm/boot/dts/imx50.dtsi +2
-0@@ -26,11 +26,20 @@ gpio3 = &gpio4; gpio4 = &gpio5; gpio5 = &gpio6; + i2c0 = &i2c1; + i2c1 = &i2c2;Reminded by Jonathan's patch, i2c3 is missing here. I just fixed it up. Let's me know if you have a reason for not adding i2c3.
I have missed i2c3, thanks for checking and fixing it. Alexander