arm64: dts: ls1028a: move rtc alias to individual boards
Subsystems (2)
PATCH 1/2 arm64: dts: ls1028a: move rtc alias to individual boards
The aliases are board-specific and shouldn't be included in the common SoC dtsi. Move them over to the boards.
Signed-off-by Michael Walle <[email protected]>
--- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 1 + arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 1 + arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 1 + arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 4 ---- 4 files changed, 3 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +1 -0
@@ -25,6 +25,7 @@ spi1 = &dspi2; mmc0 = &esdhc1; mmc1 = &esdhc; + rtc1 = &ftm_alarm0; }; buttons0 {
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +1 -0
@@ -25,6 +25,7 @@ serial1 = &duart1; mmc0 = &esdhc; mmc1 = &esdhc1; + rtc1 = &ftm_alarm0; }; chosen {
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +1 -0
@@ -21,6 +21,7 @@ serial1 = &duart1; mmc0 = &esdhc; mmc1 = &esdhc1; + rtc1 = &ftm_alarm0; }; chosen {
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +0 -4
@@ -18,10 +18,6 @@ #address-cells = <2>; #size-cells = <2>; - aliases { - rtc1 = &ftm_alarm0; - }; - cpus { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.20.1
PATCH 2/2 arm64: dts: fsl-ls1028a-kontron-sl28: add rtc0 alias
For completeness, add the rtc0 alias.
Signed-off-by Michael Walle <[email protected]>
--- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +2 -1
@@ -25,6 +25,7 @@ spi1 = &dspi2; mmc0 = &esdhc1; mmc1 = &esdhc; + rtc0 = &rtc; rtc1 = &ftm_alarm0; };
@@ -202,7 +203,7 @@ &i2c0 { status = "okay"; - rtc@32 { + rtc: rtc@32 { compatible = "microcrystal,rv8803"; reg = <0x32>; };
Signature · 1 line
2.20.1
Shawn Guo
AppliedQuoted 4 lines · Michael Walle
The aliases are board-specific and shouldn't be included in the common SoC dtsi. Move them over to the boards.
Signed-off-by Michael Walle <[email protected]>
Applied both, thanks.