ARM: dts: add mmc aliases for Exynos devices
Subsystems (2)
v5 cover ARM: dts: add mmc aliases for Exynos devices
It is convenient to have fixed mmcblk numbering of the eMMC and sdcard so that assigned numbers will not change from boot-to-boot or depending on if storage devices are actually attached or not.
Anton Bambura has done the work for the chromebooks while I have looked at the other devices. On the chromebooks, mmc0 is used for eMMC and mmc1 for sdcard, while mmc0 is used for eMMC and mmc2 for sdcard on the other boards, simply because Anton and I had different preferences.
Also drop mshc aliases while we are at it and instead add mmc capabilities to the individual device trees (right now they are added depending on alias index). I have tested the changes on exynos4412-odroid-u2 and exynos5422-odroid-xu4: the MMC_CAP_1_8V_DDR and MMC_CAP_8_BIT_DATA caps are set correctly (meaning they are set for mshc_0/mmc_0 but not mshc_2/mmc_2) both before and after this patchset.
---
Changes since v4:
* Do not set mmc-ddr-1_8v for sdhci_0 on Exynos 4210, following Marek's tests
* Collect tags
Changes since v3:
* Skip sorting of nodes, to not make reviewing impossible (and I need to read up on preferred style)
* Move two mmc alias additions from patch 1 to patch 2
Changes since v2:
* Set mmc-ddr-1_8v in device trees so that MMC_CAP_1_8V_DDR is set also after removal of mshc0 alias. Issue was pointed out by Krzysztof and David.
* Fix whitespace issue in patch 2 which was pointed out by Krzysztof
* Reword commit message of patch 2 after Rob's comment
Changes since v1:
* Move mshc alias cleanup to a separate commit
* Use mmc0 and mmc1 (instead of mmc0 and mmc2) for eMMC and sdcard on chromebooks
* Address Krzysztof's review comments:
- Make changes per device rather than in soc dtsi
Henrik Grimler (2):
ARM: dts: exynos: replace mshc0 alias with mmc-ddr-1_8v property
ARM: dts: exynos: add mmc aliases
arch/arm/boot/dts/exynos3250-artik5-eval.dts | 5 +++++ arch/arm/boot/dts/exynos3250-artik5.dtsi | 6 ++++++ arch/arm/boot/dts/exynos3250-monk.dts | 2 ++ arch/arm/boot/dts/exynos3250-rinato.dts | 3 +++ arch/arm/boot/dts/exynos4210-i9100.dts | 6 ++++++ arch/arm/boot/dts/exynos4210-origen.dts | 5 +++++ arch/arm/boot/dts/exynos4210-smdkv310.dts | 4 ++++ arch/arm/boot/dts/exynos4210-trats.dts | 6 ++++++ arch/arm/boot/dts/exynos4210-universal_c210.dts | 6 ++++++ arch/arm/boot/dts/exynos4412-itop-elite.dts | 4 ++++ arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi | 5 +++++ arch/arm/boot/dts/exynos4412-midas.dtsi | 4 ++++ arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 6 ++++++ arch/arm/boot/dts/exynos4412-origen.dts | 6 ++++++ arch/arm/boot/dts/exynos4412-p4note.dtsi | 7 +++++++ arch/arm/boot/dts/exynos4412-smdk4412.dts | 4 ++++ arch/arm/boot/dts/exynos4412-tiny4412.dts | 4 ++++ arch/arm/boot/dts/exynos4412.dtsi | 1 - arch/arm/boot/dts/exynos5250-arndale.dts | 6 ++++++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 3 +++ arch/arm/boot/dts/exynos5250-snow-common.dtsi | 4 ++++ arch/arm/boot/dts/exynos5250-spring.dts | 6 ++++++ arch/arm/boot/dts/exynos5250.dtsi | 4 ---- arch/arm/boot/dts/exynos5260-xyref5260.dts | 6 ++++++ arch/arm/boot/dts/exynos5410-odroidxu.dts | 3 +++ arch/arm/boot/dts/exynos5410-smdk5410.dts | 6 ++++++ arch/arm/boot/dts/exynos5420-arndale-octa.dts | 6 ++++++ arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi | 6 ++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 ++++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 6 ++++++ arch/arm/boot/dts/exynos5420.dtsi | 3 --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 ++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 5 +++++ arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 1 + arch/arm/boot/dts/exynos5800-peach-pi.dts | 4 ++++ 35 files changed, 153 insertions(+), 8 deletions(-)
base-commit: 0e84f3493a37d50f2f629dbea670135b8a8ee391
Signature · 1 line
2.30.2
PATCH v5 1/2 ARM: dts: exynos: replace mshc0 alias with mmc-ddr-1_8v property
Previously, the mshc0 alias has been necessary so that MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA are set for mshc_0/mmc_0. However, these capabilities should be described in the device tree so that we do not have to rely on the alias.
The property mmc-ddr-1_8v replaces MMC_CAP_1_8V_DDR, while bus_width = <8>, which is already set for all the mshc0/mmc0 nodes, replaces MMC_CAP_8_BIT_DATA.
Also drop other mshc aliases as they are not needed.
---
Changes since v4:
* Do not set mmc-ddr-1_8v for sdhci_0 on Exynos 4210, following Marek's tests
Changes since v3:
* Drop attempt at node sorting/cleaning
* Move two mmc alias additions to the other patch
* Update commit message
Changes since v2:
* Set mmc-ddr-1_8v in device trees for mshc_0/mmc_0
arch/arm/boot/dts/exynos3250-artik5.dtsi | 1 + arch/arm/boot/dts/exynos3250-monk.dts | 1 + arch/arm/boot/dts/exynos3250-rinato.dts | 1 + arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi | 1 + arch/arm/boot/dts/exynos4412-midas.dtsi | 1 + arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 + arch/arm/boot/dts/exynos4412-origen.dts | 1 + arch/arm/boot/dts/exynos4412-p4note.dtsi | 1 + arch/arm/boot/dts/exynos4412.dtsi | 1 - arch/arm/boot/dts/exynos5250-arndale.dts | 1 + arch/arm/boot/dts/exynos5250-smdk5250.dts | 1 + arch/arm/boot/dts/exynos5250-snow-common.dtsi | 1 + arch/arm/boot/dts/exynos5250-spring.dts | 1 + arch/arm/boot/dts/exynos5250.dtsi | 4 ---- arch/arm/boot/dts/exynos5260-xyref5260.dts | 1 + arch/arm/boot/dts/exynos5410-odroidxu.dts | 1 + arch/arm/boot/dts/exynos5410-smdk5410.dts | 1 + arch/arm/boot/dts/exynos5420-arndale-octa.dts | 1 + arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi | 1 + arch/arm/boot/dts/exynos5420-peach-pit.dts | 1 + arch/arm/boot/dts/exynos5420-smdk5420.dts | 1 + arch/arm/boot/dts/exynos5420.dtsi | 3 --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 1 + arch/arm/boot/dts/exynos5800-peach-pi.dts | 1 + 25 files changed, 22 insertions(+), 8 deletions(-)
arch/arm/boot/dts/exynos3250-artik5.dtsi +1 -0
@@ -321,6 +321,7 @@ &mshc_0 { vmmc-supply = <&ldo12_reg>; clock-frequency = <100000000>; max-frequency = <100000000>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <1>; samsung,dw-mshc-sdr-timing = <0 1>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos3250-monk.dts +1 -0
@@ -443,6 +443,7 @@ &mshc_0 { vmmc-supply = <&vemmc_reg>; clock-frequency = <100000000>; max-frequency = <100000000>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <1>; samsung,dw-mshc-sdr-timing = <0 1>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos3250-rinato.dts +1 -0
@@ -624,6 +624,7 @@ &mshc_0 { vmmc-supply = <&ldo12_reg>; clock-frequency = <100000000>; max-frequency = <100000000>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <1>; samsung,dw-mshc-sdr-timing = <0 1>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi +1 -0
@@ -476,6 +476,7 @@ &mshc_0 { vmmc-supply = <&buck9_reg>; broken-cd; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos4412-midas.dtsi +1 -0
@@ -977,6 +977,7 @@ &mshc_0 { samsung,dw-mshc-ciu-div = <0>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; + mmc-ddr-1_8v; pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-names = "default"; status = "okay";
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +1 -0
@@ -533,6 +533,7 @@ &mshc_0 { broken-cd; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos4412-origen.dts +1 -0
@@ -498,6 +498,7 @@ &mshc_0 { broken-cd; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos4412-p4note.dtsi +1 -0
@@ -693,6 +693,7 @@ &mshc_0 { samsung,dw-mshc-ciu-div = <0>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; + mmc-ddr-1_8v; pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-names = "default"; bus-width = <4>;
arch/arm/boot/dts/exynos4412.dtsi +0 -1
@@ -28,7 +28,6 @@ aliases { pinctrl3 = &pinctrl_3; fimc-lite0 = &fimc_lite_0; fimc-lite1 = &fimc_lite_1; - mshc0 = &mshc_0; }; bus_acp: bus-acp {
arch/arm/boot/dts/exynos5250-arndale.dts +1 -0
@@ -589,6 +589,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; }; &mmc_2 {
arch/arm/boot/dts/exynos5250-smdk5250.dts +1 -0
@@ -350,6 +350,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; }; &mmc_2 {
arch/arm/boot/dts/exynos5250-snow-common.dtsi +1 -0
@@ -549,6 +549,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; }; /* uSD card */
arch/arm/boot/dts/exynos5250-spring.dts +1 -0
@@ -431,6 +431,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; }; /*
arch/arm/boot/dts/exynos5250.dtsi +0 -4
@@ -30,10 +30,6 @@ aliases { gsc1 = &gsc_1; gsc2 = &gsc_2; gsc3 = &gsc_3; - mshc0 = &mmc_0; - mshc1 = &mmc_1; - mshc2 = &mmc_2; - mshc3 = &mmc_3; i2c4 = &i2c_4; i2c5 = &i2c_5; i2c6 = &i2c_6;
arch/arm/boot/dts/exynos5260-xyref5260.dts +1 -0
@@ -89,6 +89,7 @@ &mmc_0 { cap-mmc-highspeed; mmc-hs200-1_8v; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>;
arch/arm/boot/dts/exynos5410-odroidxu.dts +1 -0
@@ -513,6 +513,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; mmc-hs200-1_8v; vmmc-supply = <&ldo20_reg>; vqmmc-supply = <&ldo11_reg>;
arch/arm/boot/dts/exynos5410-smdk5410.dts +1 -0
@@ -61,6 +61,7 @@ &mmc_0 { cap-mmc-highspeed; broken-cd; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>;
arch/arm/boot/dts/exynos5420-arndale-octa.dts +1 -0
@@ -778,6 +778,7 @@ &mmc_0 { status = "okay"; non-removable; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>;
arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi +1 -0
@@ -604,6 +604,7 @@ &mmc_0 { bus-width = <8>; cap-mmc-highspeed; card-detect-delay = <200>; + mmc-ddr-1_8v; mmc-hs200-1_8v; non-removable; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
arch/arm/boot/dts/exynos5420-peach-pit.dts +1 -0
@@ -722,6 +722,7 @@ &mixer { /* eMMC flash */ &mmc_0 { status = "okay"; + mmc-ddr-1_8v; mmc-hs200-1_8v; cap-mmc-highspeed; non-removable;
arch/arm/boot/dts/exynos5420-smdk5420.dts +1 -0
@@ -355,6 +355,7 @@ &mmc_0 { status = "okay"; broken-cd; card-detect-delay = <200>; + mmc-ddr-1_8v; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>;
arch/arm/boot/dts/exynos5420.dtsi +0 -3
@@ -19,9 +19,6 @@ / { compatible = "samsung,exynos5420", "samsung,exynos5"; aliases { - mshc0 = &mmc_0; - mshc1 = &mmc_1; - mshc2 = &mmc_2; pinctrl0 = &pinctrl_0; pinctrl1 = &pinctrl_1; pinctrl2 = &pinctrl_2;
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +1 -0
@@ -472,6 +472,7 @@ &mmc_0 { pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>; bus-width = <8>; cap-mmc-highspeed; + mmc-ddr-1_8v; mmc-hs200-1_8v; mmc-hs400-1_8v; max-frequency = <200000000>;
arch/arm/boot/dts/exynos5422-samsung-k3g.dts +1 -0
@@ -597,6 +597,7 @@ rmi4-f12@12 { /* eMMC flash */ &mmc_0 { status = "okay"; + mmc-ddr-1_8v; mmc-hs200-1_8v; cap-mmc-highspeed; non-removable;
arch/arm/boot/dts/exynos5800-peach-pi.dts +1 -0
@@ -703,6 +703,7 @@ &mixer { /* eMMC flash */ &mmc_0 { status = "okay"; + mmc-ddr-1_8v; mmc-hs200-1_8v; mmc-hs400-1_8v; cap-mmc-highspeed;
Signature · 1 line
2.30.2
Re: [PATCH v5 1/2] ARM: dts: exynos: replace mshc0 alias with mmc-ddr-1_8v property
Quoted 25 lines · Henrik Grimler
Previously, the mshc0 alias has been necessary so that
MMC_CAP_1_8V_DDR|MMC_CAP_8_BIT_DATAare set for mshc_0/mmc_0. However, these capabilities should be described in the device tree so that we do not have to rely on the alias.The property mmc-ddr-1_8v replaces
MMC_CAP_1_8V_DDR, whilebus_width= <8>, which is already set for all the mshc0/mmc0 nodes, replacesMMC_CAP_8_BIT_DATA.Also drop other mshc aliases as they are not needed.
Signed-off-by Henrik Grimler <[email protected]>Tested-by Marek Szyprowski <[email protected]>---
Changes since v4:
* Do not set mmc-ddr-1_8v forsdhci_0on Exynos 4210, following Marek's testsChanges since v3:
* Drop attempt at node sorting/cleaning
* Move two mmc alias additions to the other patch
* Update commit message
Quoted 7 lines
Changes since v2:
* Set mmc-ddr-1_8v in device trees for mshc_0/mmc_0arch/arm/boot/dts/exynos3250-artik5.dtsi | 1 + arch/arm/boot/dts/exynos3250-monk.dts | 1 + arch/arm/boot/dts/exynos3250-rinato.dts | 1 +
Why you do not remove Exynos3250 aliases?
Best regards,
Krzysztof
Re: [PATCH v5 1/2] ARM: dts: exynos: replace mshc0 alias with mmc-ddr-1_8v property
Hi Krzysztof,
Quoted 30 lines · Krzysztof Kozlowski
Quoted 29 lines · Henrik Grimler
Previously, the mshc0 alias has been necessary so that
MMC_CAP_1_8V_DDR|MMC_CAP_8_BIT_DATAare set for mshc_0/mmc_0. However, these capabilities should be described in the device tree so that we do not have to rely on the alias.The property mmc-ddr-1_8v replaces
MMC_CAP_1_8V_DDR, whilebus_width= <8>, which is already set for all the mshc0/mmc0 nodes, replacesMMC_CAP_8_BIT_DATA.Also drop other mshc aliases as they are not needed.
Signed-off-by Henrik Grimler <[email protected]>Tested-by Marek Szyprowski <[email protected]>---
Changes since v4:
* Do not set mmc-ddr-1_8v forsdhci_0on Exynos 4210, following Marek's testsChanges since v3:
* Drop attempt at node sorting/cleaning
* Move two mmc alias additions to the other patch
* Update commit messageChanges since v2:
* Set mmc-ddr-1_8v in device trees for mshc_0/mmc_0
Quoted 5 lines
Quoted 3 lines
arch/arm/boot/dts/exynos3250-artik5.dtsi | 1 + arch/arm/boot/dts/exynos3250-monk.dts | 1 + arch/arm/boot/dts/exynos3250-rinato.dts | 1 +Why you do not remove Exynos3250 aliases?
Thanks for spotting that, seems I accidentally dropped removal when going from v3 to v4. Will remove them again in next version, and drop Marek's test tag since rinato is one of the devices he tests (or used to test).
Quoted 2 lines
Best regards,
Krzysztof
Best regards,
Henrik Grimler
PATCH v5 2/2 ARM: dts: exynos: add mmc aliases
In reply to Henrik GrimlerAdd aliases for eMMC, SD card and WiFi where applicable, so that assigned mmc indeces are always the same.
---
Changes since v4:
* None
Changes since v3:
* Set aliases for two more devices (were previously part of the other patch)
Changes since v2:
* Reword commit message
* Fix whitespace issues
arch/arm/boot/dts/exynos3250-artik5-eval.dts | 5 +++++ arch/arm/boot/dts/exynos3250-artik5.dtsi | 5 +++++ arch/arm/boot/dts/exynos3250-monk.dts | 1 + arch/arm/boot/dts/exynos3250-rinato.dts | 2 ++ arch/arm/boot/dts/exynos4210-i9100.dts | 6 ++++++ arch/arm/boot/dts/exynos4210-origen.dts | 5 +++++ arch/arm/boot/dts/exynos4210-smdkv310.dts | 4 ++++ arch/arm/boot/dts/exynos4210-trats.dts | 6 ++++++ arch/arm/boot/dts/exynos4210-universal_c210.dts | 6 ++++++ arch/arm/boot/dts/exynos4412-itop-elite.dts | 4 ++++ arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi | 4 ++++ arch/arm/boot/dts/exynos4412-midas.dtsi | 3 +++ arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 5 +++++ arch/arm/boot/dts/exynos4412-origen.dts | 5 +++++ arch/arm/boot/dts/exynos4412-p4note.dtsi | 6 ++++++ arch/arm/boot/dts/exynos4412-smdk4412.dts | 4 ++++ arch/arm/boot/dts/exynos4412-tiny4412.dts | 4 ++++ arch/arm/boot/dts/exynos5250-arndale.dts | 5 +++++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 ++ arch/arm/boot/dts/exynos5250-snow-common.dtsi | 3 +++ arch/arm/boot/dts/exynos5250-spring.dts | 5 +++++ arch/arm/boot/dts/exynos5260-xyref5260.dts | 5 +++++ arch/arm/boot/dts/exynos5410-odroidxu.dts | 2 ++ arch/arm/boot/dts/exynos5410-smdk5410.dts | 5 +++++ arch/arm/boot/dts/exynos5420-arndale-octa.dts | 5 +++++ arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 3 +++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 5 +++++ arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 ++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 4 ++++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 3 +++ 31 files changed, 131 insertions(+)
arch/arm/boot/dts/exynos3250-artik5-eval.dts +5 -0
@@ -16,6 +16,11 @@ / { model = "Samsung ARTIK5 evaluation board"; compatible = "samsung,artik5-eval", "samsung,artik5", "samsung,exynos3250", "samsung,exynos3"; + + aliases { + mmc2 = &mshc_2; + }; + }; &mshc_2 {
arch/arm/boot/dts/exynos3250-artik5.dtsi +5 -0
@@ -17,6 +17,11 @@ / { compatible = "samsung,artik5", "samsung,exynos3250", "samsung,exynos3"; + aliases { + mmc0 = &mshc_0; + mmc1 = &mshc_1; + }; + chosen { stdout-path = &serial_2; };
arch/arm/boot/dts/exynos3250-monk.dts +1 -0
@@ -22,6 +22,7 @@ / { aliases { i2c7 = &i2c_max77836; + mmc0 = &mshc_0; }; memory@40000000 {
arch/arm/boot/dts/exynos3250-rinato.dts +2 -0
@@ -23,6 +23,8 @@ / { aliases { i2c7 = &i2c_max77836; + mmc0 = &mshc_0; + mmc1 = &mshc_1; }; chosen {
arch/arm/boot/dts/exynos4210-i9100.dts +6 -0
@@ -25,6 +25,12 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos4210-origen.dts +5 -0
@@ -30,6 +30,11 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial2:115200n8";
arch/arm/boot/dts/exynos4210-smdkv310.dts +4 -0
@@ -25,6 +25,10 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial1:115200n8";
arch/arm/boot/dts/exynos4210-trats.dts +6 -0
@@ -26,6 +26,12 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; stdout-path = "serial2:115200n8";
arch/arm/boot/dts/exynos4210-universal_c210.dts +6 -0
@@ -24,6 +24,12 @@ memory@40000000 { 0x50000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; stdout-path = "serial2:115200n8";
arch/arm/boot/dts/exynos4412-itop-elite.dts +4 -0
@@ -20,6 +20,10 @@ / { model = "TOPEET iTop 4412 Elite board based on Exynos4412"; compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4"; + aliases { + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/mmcblk0p2 rw rootfstype=ext4 rootdelay=1 rootwait"; stdout-path = "serial2:115200n8";
arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi +4 -0
@@ -23,6 +23,10 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &mshc_0; + }; + firmware@203f000 { compatible = "samsung,secure-firmware"; reg = <0x0203f000 0x1000>;
arch/arm/boot/dts/exynos4412-midas.dtsi +3 -0
@@ -25,6 +25,9 @@ / { aliases { i2c11 = &i2c_max77693; i2c12 = &i2c_max77693_fuel; + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; }; chosen {
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +5 -0
@@ -13,6 +13,11 @@ #include "exynos-mfc-reserved-memory.dtsi" / { + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + }; + chosen { stdout-path = &serial_1; };
arch/arm/boot/dts/exynos4412-origen.dts +5 -0
@@ -25,6 +25,11 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos4412-p4note.dtsi +6 -0
@@ -26,6 +26,12 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { stdout-path = &serial_2; };
arch/arm/boot/dts/exynos4412-smdk4412.dts +4 -0
@@ -22,6 +22,10 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial1:115200n8";
arch/arm/boot/dts/exynos4412-tiny4412.dts +4 -0
@@ -17,6 +17,10 @@ / { model = "FriendlyARM TINY4412 board based on Exynos4412"; compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4"; + aliases { + mmc2 = &sdhci_2; + }; + chosen { stdout-path = &serial_0; };
arch/arm/boot/dts/exynos5250-arndale.dts +5 -0
@@ -23,6 +23,11 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos5250-smdk5250.dts +2 -0
@@ -17,6 +17,8 @@ / { compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5"; aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; }; memory@40000000 {
arch/arm/boot/dts/exynos5250-snow-common.dtsi +3 -0
@@ -15,6 +15,9 @@ / { aliases { i2c104 = &i2c_104; + mmc0 = &mmc_0; /* eMMC */ + mmc1 = &mmc_2; /* SD */ + mmc2 = &mmc_3; /* WiFi */ }; memory@40000000 {
arch/arm/boot/dts/exynos5250-spring.dts +5 -0
@@ -23,6 +23,11 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc1 = &mmc_1; + }; + chosen { bootargs = "console=tty1"; stdout-path = "serial3:115200n8";
arch/arm/boot/dts/exynos5260-xyref5260.dts +5 -0
@@ -18,6 +18,11 @@ memory@20000000 { reg = <0x20000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos5410-odroidxu.dts +2 -0
@@ -21,6 +21,8 @@ / { aliases { ethernet = ðernet; + mmc0 = &mmc_0; + mmc2 = &mmc_2; }; memory@40000000 {
arch/arm/boot/dts/exynos5410-smdk5410.dts +5 -0
@@ -18,6 +18,11 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos5420-arndale-octa.dts +5 -0
@@ -23,6 +23,11 @@ memory@20000000 { reg = <0x20000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial3:115200n8"; };
arch/arm/boot/dts/exynos5420-galaxy-tab-common.dtsi +5 -0
@@ -28,6 +28,11 @@ / { * for more details. */ + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos5420-peach-pit.dts +3 -0
@@ -31,6 +31,9 @@ / { aliases { /* Assign 20 so we don't get confused w/ builtin ones */ i2c20 = &i2c_tunnel; + mmc0 = &mmc_0; /* eMMC */ + mmc1 = &mmc_2; /* uSD */ + mmc2 = &mmc_1; /* WiFi */ }; backlight: backlight {
arch/arm/boot/dts/exynos5420-smdk5420.dts +5 -0
@@ -21,6 +21,11 @@ memory@20000000 { reg = <0x20000000 0x80000000>; }; + aliases { + mmc0 = &mmc_0; + mmc2 = &mmc_2; + }; + chosen { bootargs = "init=/linuxrc"; stdout-path = "serial2:115200n8";
arch/arm/boot/dts/exynos5422-odroid-core.dtsi +4 -0
@@ -19,6 +19,10 @@ memory@40000000 { reg = <0x40000000 0x7ea00000>; }; + aliases { + mmc2 = &mmc_2; + }; + chosen { stdout-path = "serial2:115200n8"; };
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +4 -0
@@ -13,6 +13,10 @@ #include "exynos5422-odroid-core.dtsi" / { + aliases { + mmc0 = &mmc_0; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default";
arch/arm/boot/dts/exynos5800-peach-pi.dts +3 -0
@@ -29,6 +29,9 @@ / { aliases { /* Assign 20 so we don't get confused w/ builtin ones */ i2c20 = &i2c_tunnel; + mmc0 = &mmc_0; /* eMMC */ + mmc1 = &mmc_2; /* SD */ + mmc2 = &mmc_1; /* WiFi */ }; backlight: backlight {
Signature · 1 line
2.30.2
Re: [PATCH v5 2/2] ARM: dts: exynos: add mmc aliases
Quoted 19 lines · Henrik Grimler
Add aliases for eMMC, SD card and WiFi where applicable, so that assigned mmc indeces are always the same.
Co-developed-by Anton Bambura <[email protected]>Signed-off-by Anton Bambura <[email protected]>[ Tested on exynos5800-peach-pi ]Tested-by Valentine Iourine <[email protected]>Signed-off-by Henrik Grimler <[email protected]>Tested-by Marek Szyprowski <[email protected]>(quoted diff) +0
-0chosen {arch/arm/boot/dts/exynos4210-i9100.dts +0
-0
arch/arm/boot/dts/exynos4210-i9100.dts memory@40000000 { · line 31
Quoted 7 lines
arch/arm/boot/dts/exynos4210-i9100.dts +4
-0@@ -25,6 +25,12 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3;
Here...
Quoted 10 lines
arch/arm/boot/dts/exynos4210-i9100.dts +2
-0+ }; + chosen { stdout-path = "serial2:115200n8"; };arch/arm/boot/dts/exynos4210-origen.dts +0
-0
arch/arm/boot/dts/exynos4210-origen.dts memory@40000000 { · line 34
Quoted 5 lines
arch/arm/boot/dts/exynos4210-origen.dts +2
-0@@ -30,6 +30,11 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0;
here ....
Quoted 43 lines
arch/arm/boot/dts/exynos4210-origen.dts +3
-0+ mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4210-smdkv310.dts +4
-0@@ -25,6 +25,10 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial1:115200n8";arch/arm/boot/dts/exynos4210-trats.dts +6
-0@@ -26,6 +26,12 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4210-universal_c210.dts +0
-0
arch/arm/boot/dts/exynos4210-universal_c210.dts memory@40000000 { · line 29
Quoted 6 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts +3
-0@@ -24,6 +24,12 @@ memory@40000000 { 0x50000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2;
Why this is 2? Aliases are continues and match the board. For example Universal calls this mmc1 and the next mmc2, not 3.
I bet it is the same on Trats and all other boards.
Quoted 11 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts +3
-0+ mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-elite.dts +0
-0
arch/arm/boot/dts/exynos4412-itop-elite.dts / { · line 24
Quoted 5 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0@@ -20,6 +20,10 @@ / { model = "TOPEET iTop 4412 Elite board based on Exynos4412"; compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4"; + aliases { + mmc2 = &sdhci_2;
mmc1
Quoted 25 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0+ }; + chosen { bootargs = "root=/dev/mmcblk0p2 rw rootfstype=ext4 rootdelay=1 rootwait"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi +4
-0@@ -23,6 +23,10 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &mshc_0; + }; + firmware@203f000 { compatible = "samsung,secure-firmware"; reg = <0x0203f000 0x1000>;arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0
arch/arm/boot/dts/exynos4412-midas.dtsi / { · line 30
Quoted 6 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +3
-0@@ -25,6 +25,9 @@ / { aliases { i2c11 = &i2c_max77693; i2c12 = &i2c_max77693_fuel; + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3;
This is actually correct.
Quoted 8 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0}; chosen {arch/arm/boot/dts/exynos4412-odroid-common.dtsi +0
-0
arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 18
Quoted 6 lines
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +3
-0@@ -13,6 +13,11 @@ #include "exynos-mfc-reserved-memory.dtsi" / { + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2;
This is also correct.
arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 19
Quoted 1 line
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +1
-0+ };
For all other cases, where schematics are missing, just make them linear.
Krzysztof
Re: [PATCH v5 2/2] ARM: dts: exynos: add mmc aliases
Hi Krzysztof,
Quoted 94 lines · Krzysztof Kozlowski
Quoted 19 lines · Henrik Grimler
Add aliases for eMMC, SD card and WiFi where applicable, so that assigned mmc indeces are always the same.
Co-developed-by Anton Bambura <[email protected]>Signed-off-by Anton Bambura <[email protected]>[ Tested on exynos5800-peach-pi ]Tested-by Valentine Iourine <[email protected]>Signed-off-by Henrik Grimler <[email protected]>Tested-by Marek Szyprowski <[email protected]>(quoted diff) +0
-0chosen {arch/arm/boot/dts/exynos4210-i9100.dts +0
-0arch/arm/boot/dts/exynos4210-i9100.dts memory@40000000 { · line 31
Quoted 7 lines
arch/arm/boot/dts/exynos4210-i9100.dts +4
-0@@ -25,6 +25,12 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3;Here...
Quoted 10 lines
arch/arm/boot/dts/exynos4210-i9100.dts +2
-0+ }; + chosen { stdout-path = "serial2:115200n8"; };arch/arm/boot/dts/exynos4210-origen.dts +0
-0arch/arm/boot/dts/exynos4210-origen.dts memory@40000000 { · line 34
Quoted 5 lines
arch/arm/boot/dts/exynos4210-origen.dts +2
-0@@ -30,6 +30,11 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0;here ....
Quoted 46 lines
arch/arm/boot/dts/exynos4210-origen.dts +3
-0+ mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4210-smdkv310.dts +4
-0@@ -25,6 +25,10 @@ memory@40000000 { reg = <0x40000000 0x80000000>; }; + aliases { + mmc2 = &sdhci_2; + }; + chosen { bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; stdout-path = "serial1:115200n8";arch/arm/boot/dts/exynos4210-trats.dts +6
-0@@ -26,6 +26,12 @@ memory@40000000 { 0x70000000 0x10000000>; }; + aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4210-universal_c210.dts +0
-0@@ -24,6 +24,12 @@ memory@40000000 { 0x50000000 0x10000000>; };
Quoted 7 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts memory@40000000 { · line 29
Quoted 3 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts +3
-0+ aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2;Why this is 2? Aliases are continues and match the board. For example Universal calls this mmc1 and the next mmc2, not 3.
Not sure I follow, Universal calls sdhci_2 mmc1 in schematics? (I have tried searching for schematics but cannot really find anything about this board)
Quoted 1 line
I bet it is the same on Trats and all other boards.
Sure, I can change to mmc0, mmc1 for all 4210 devices.
Quoted 14 lines
Quoted 14 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts +3
-0+ mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-elite.dts +0
-0@@ -20,6 +20,10 @@ / { model = "TOPEET iTop 4412 Elite board based on Exynos4412"; compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4";
Quoted 4 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts / { · line 24
Quoted 2 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0+ aliases { + mmc2 = &sdhci_2;mmc1
Ok, will change.
Quoted 51 lines
Quoted 25 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0+ }; + chosen { bootargs = "root=/dev/mmcblk0p2 rw rootfstype=ext4 rootdelay=1 rootwait"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi +4
-0@@ -23,6 +23,10 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &mshc_0; + }; + firmware@203f000 { compatible = "samsung,secure-firmware"; reg = <0x0203f000 0x1000>;arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0arch/arm/boot/dts/exynos4412-midas.dtsi / { · line 30
Quoted 6 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +3
-0@@ -25,6 +25,9 @@ / { aliases { i2c11 = &i2c_max77693; i2c12 = &i2c_max77693_fuel; + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3;This is actually correct.
Quoted 8 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0}; chosen {arch/arm/boot/dts/exynos4412-odroid-common.dtsi +0
-0arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 18
Quoted 6 lines
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +3
-0@@ -13,6 +13,11 @@ #include "exynos-mfc-reserved-memory.dtsi" / { + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2;This is also correct.
Quoted 3 lines
arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 19
Quoted 1 line
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +1
-0+ };For all other cases, where schematics are missing, just make them linear.
Alright, will do in next version, thanks for the feedback!
Quoted 1 line
Krzysztof
Best regards,
Henrik Grimler
Re: [PATCH v5 2/2] ARM: dts: exynos: add mmc aliases
Quoted 11 lines · Henrik Grimler
Quoted 8 lines
arch/arm/boot/dts/exynos4210-i9100.dts memory@40000000 { · line 30
Quoted 4 lines
arch/arm/boot/dts/exynos4210-i9100.dts +3
-0+ aliases { + mmc0 = &sdhci_0; + mmc2 = &sdhci_2;Why this is 2? Aliases are continues and match the board. For example Universal calls this mmc1 and the next mmc2, not 3.
Not sure I follow, Universal calls
sdhci_2mmc1 in schematics? (I have tried searching for schematics but cannot really find anything about this board)
Yes. The alias numbers are the numbering exposed on the board. This might or might not match original numbering. If you have a development board with a SoM, pretty often not all interfaces, let's say UARTs, are exposed. SoM might have 10 UARTs, but board has only 4 and numbers them UART0-3. Aliases should be 0-3, not 0, 5, 7, 9.
Quoted 4 lines
Quoted 2 lines
I bet it is the same on Trats and all other boards.
Sure, I can change to mmc0, mmc1 for all 4210 devices.
Yes, please.
Quoted 73 lines
Quoted 15 lines
Quoted 15 lines
arch/arm/boot/dts/exynos4210-universal_c210.dts +3
-0+ mmc3 = &sdhci_3; + }; + chosen { bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-elite.dts +0
-0@@ -20,6 +20,10 @@ / { model = "TOPEET iTop 4412 Elite board based on Exynos4412"; compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4";Quoted 4 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts / { · line 24
Quoted 2 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0+ aliases { + mmc2 = &sdhci_2;mmc1
Ok, will change.
Quoted 51 lines
Quoted 25 lines
arch/arm/boot/dts/exynos4412-itop-elite.dts +2
-0+ }; + chosen { bootargs = "root=/dev/mmcblk0p2 rw rootfstype=ext4 rootdelay=1 rootwait"; stdout-path = "serial2:115200n8";arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi +4
-0@@ -23,6 +23,10 @@ memory@40000000 { reg = <0x40000000 0x40000000>; }; + aliases { + mmc0 = &mshc_0; + }; + firmware@203f000 { compatible = "samsung,secure-firmware"; reg = <0x0203f000 0x1000>;arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0arch/arm/boot/dts/exynos4412-midas.dtsi / { · line 30
Quoted 6 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +3
-0@@ -25,6 +25,9 @@ / { aliases { i2c11 = &i2c_max77693; i2c12 = &i2c_max77693_fuel; + mmc0 = &mshc_0; + mmc2 = &sdhci_2; + mmc3 = &sdhci_3;This is actually correct.
Quoted 8 lines
arch/arm/boot/dts/exynos4412-midas.dtsi +0
-0}; chosen {arch/arm/boot/dts/exynos4412-odroid-common.dtsi +0
-0arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 18
Quoted 6 lines
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +3
-0@@ -13,6 +13,11 @@ #include "exynos-mfc-reserved-memory.dtsi" / { + aliases { + mmc0 = &mshc_0; + mmc2 = &sdhci_2;This is also correct.
Quoted 6 lines
Quoted 3 lines
arch/arm/boot/dts/exynos4412-odroid-common.dtsi line 19
Quoted 1 line
arch/arm/boot/dts/exynos4412-odroid-common.dtsi +1
-0+ };For all other cases, where schematics are missing, just make them linear.
Alright, will do in next version, thanks for the feedback!
Best regards,
Krzysztof