Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: rockchip: move rv1108 mmcx aliases to board dts files

As suggested by Arnd Bergmann, mmc-aliases are supposed to be
board-specific, so move the newly added general aliases to
the board-level on rv1108-based boards.

Suggested-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Link: https://lore.kernel.org/r/20210324122235.1059292-2-heiko@sntech.de

authored by

Heiko Stuebner and committed by
Heiko Stuebner
e89db2b4 23a52b0d

+8 -3
+4
arch/arm/boot/dts/rv1108-elgin-r1.dts
··· 12 12 model = "Elgin RV1108 R1 board"; 13 13 compatible = "elgin,rv1108-r1", "rockchip,rv1108"; 14 14 15 + aliases { 16 + mmc0 = &emmc; 17 + }; 18 + 15 19 memory@60000000 { 16 20 device_type = "memory"; 17 21 reg = <0x60000000 0x08000000>;
+4
arch/arm/boot/dts/rv1108-evb.dts
··· 8 8 model = "Rockchip RV1108 Evaluation board"; 9 9 compatible = "rockchip,rv1108-evb", "rockchip,rv1108"; 10 10 11 + aliases { 12 + mmc0 = &sdmmc; 13 + }; 14 + 11 15 memory@60000000 { 12 16 device_type = "memory"; 13 17 reg = <0x60000000 0x08000000>;
-3
arch/arm/boot/dts/rv1108.dtsi
··· 19 19 i2c1 = &i2c1; 20 20 i2c2 = &i2c2; 21 21 i2c3 = &i2c3; 22 - mmc0 = &emmc; 23 - mmc1 = &sdio; 24 - mmc2 = &sdmmc; 25 22 serial0 = &uart0; 26 23 serial1 = &uart1; 27 24 serial2 = &uart2;