mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
arm: dts: Refactor device trees using "&{/aliases}" syntax
Use the common syntax to define aliases. Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
118b17b84f
commit
100121d51b
@ -5,13 +5,17 @@
|
||||
|
||||
#include "imx6qdl-u-boot.dtsi"
|
||||
|
||||
&{/aliases} {
|
||||
/* U-Boot won't find PMIC otherwise */
|
||||
i2c0 = &i2c3;
|
||||
i2c1 = &i2c2;
|
||||
/* SDHCI instance order: eMMC, 4-bit SD/MMC (U-Boot won't find ConfigBlock otherwise) */
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
/ {
|
||||
aliases {
|
||||
/* U-Boot won't find PMIC otherwise */
|
||||
i2c0 = &i2c3;
|
||||
i2c1 = &i2c2;
|
||||
/* SDHCI instance order: eMMC, 4-bit SD/MMC
|
||||
* (U-Boot won't find ConfigBlock otherwise)
|
||||
*/
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
};
|
||||
};
|
||||
|
||||
&wdog1 {
|
||||
|
||||
@ -5,18 +5,20 @@
|
||||
|
||||
#include "imx6qdl-u-boot.dtsi"
|
||||
|
||||
&{/aliases} {
|
||||
/* U-Boot won't find PMIC otherwise */
|
||||
i2c0 = &i2c1;
|
||||
i2c1 = &i2c2;
|
||||
i2c2 = &i2c3;
|
||||
/*
|
||||
* SDHCI instance order: eMMC, 8-bit SD/MMC, 4-bit SD
|
||||
* (U-Boot won't find ConfigBlock otherwise)
|
||||
*/
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
mmc2 = &usdhc2;
|
||||
/ {
|
||||
aliases {
|
||||
/* U-Boot won't find PMIC otherwise */
|
||||
i2c0 = &i2c1;
|
||||
i2c1 = &i2c2;
|
||||
i2c2 = &i2c3;
|
||||
/*
|
||||
* SDHCI instance order: eMMC, 8-bit SD/MMC, 4-bit SD
|
||||
* (U-Boot won't find ConfigBlock otherwise)
|
||||
*/
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
mmc2 = &usdhc2;
|
||||
};
|
||||
};
|
||||
|
||||
&wdog1 {
|
||||
|
||||
@ -5,10 +5,12 @@
|
||||
|
||||
#include "imx7s-u-boot.dtsi"
|
||||
|
||||
&{/aliases} {
|
||||
/* SDHCI instance order: eMMC, SD/MMC */
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
/ {
|
||||
aliases {
|
||||
/* SDHCI instance order: eMMC, SD/MMC */
|
||||
mmc0 = &usdhc3;
|
||||
mmc1 = &usdhc1;
|
||||
};
|
||||
};
|
||||
|
||||
&lcdif {
|
||||
|
||||
@ -6,6 +6,12 @@
|
||||
#include "imx8mm-u-boot.dtsi"
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
eeprom0 = &eeprom_module;
|
||||
eeprom1 = &eeprom_carrier_board;
|
||||
eeprom2 = &eeprom_display_adapter;
|
||||
};
|
||||
|
||||
wdt-reboot {
|
||||
compatible = "wdt-reboot";
|
||||
bootph-pre-ram;
|
||||
@ -13,12 +19,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&{/aliases} {
|
||||
eeprom0 = &eeprom_module;
|
||||
eeprom1 = &eeprom_carrier_board;
|
||||
eeprom2 = &eeprom_display_adapter;
|
||||
};
|
||||
|
||||
&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
|
||||
bootph-pre-ram;
|
||||
};
|
||||
|
||||
@ -6,6 +6,12 @@
|
||||
#include "imx8mp-u-boot.dtsi"
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
eeprom0 = &eeprom_module;
|
||||
eeprom1 = &eeprom_carrier_board;
|
||||
eeprom2 = &eeprom_display_adapter;
|
||||
};
|
||||
|
||||
wdt-reboot {
|
||||
compatible = "wdt-reboot";
|
||||
bootph-pre-ram;
|
||||
@ -13,12 +19,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&{/aliases} {
|
||||
eeprom0 = &eeprom_module;
|
||||
eeprom1 = &eeprom_carrier_board;
|
||||
eeprom2 = &eeprom_display_adapter;
|
||||
};
|
||||
|
||||
&clk {
|
||||
bootph-all;
|
||||
bootph-pre-ram;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user