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

ARM: sun5i: r8: Merge common controllers into the common DTSI

Some controllers found in the R8 DTSI actually apply to all of the sun5i
family. Move those into the common DTSI so that all SoCs can benefit from
it.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

+23 -40
-40
arch/arm/boot/dts/sun5i-r8.dtsi
··· 45 45 46 46 #include "sun5i-a13.dtsi" 47 47 48 - / { 49 - chosen { 50 - framebuffer@1 { 51 - compatible = "allwinner,simple-framebuffer", 52 - "simple-framebuffer"; 53 - allwinner,pipeline = "de_be0-lcd0-tve0"; 54 - clocks = <&ccu CLK_AHB_TVE>, <&ccu CLK_AHB_LCD>, 55 - <&ccu CLK_AHB_DE_BE>, <&ccu CLK_DE_BE>, 56 - <&ccu CLK_TCON_CH1>, <&ccu CLK_DRAM_DE_BE>; 57 - status = "disabled"; 58 - }; 59 - }; 60 - 61 - soc@01c00000 { 62 - tve0: tv-encoder@01c0a000 { 63 - compatible = "allwinner,sun4i-a10-tv-encoder"; 64 - reg = <0x01c0a000 0x1000>; 65 - clocks = <&ccu CLK_AHB_TVE>; 66 - resets = <&ccu RST_TVE>; 67 - status = "disabled"; 68 - 69 - port { 70 - #address-cells = <1>; 71 - #size-cells = <0>; 72 - 73 - tve0_in_tcon0: endpoint@0 { 74 - reg = <0>; 75 - remote-endpoint = <&tcon0_out_tve0>; 76 - }; 77 - }; 78 - }; 79 - }; 80 - }; 81 - 82 - &tcon0_out { 83 - tcon0_out_tve0: endpoint@1 { 84 - reg = <1>; 85 - remote-endpoint = <&tve0_in_tcon0>; 86 - }; 87 - };
+23
arch/arm/boot/dts/sun5i.dtsi
··· 187 187 #size-cells = <0>; 188 188 }; 189 189 190 + tve0: tv-encoder@01c0a000 { 191 + compatible = "allwinner,sun4i-a10-tv-encoder"; 192 + reg = <0x01c0a000 0x1000>; 193 + clocks = <&ccu CLK_AHB_TVE>; 194 + resets = <&ccu RST_TVE>; 195 + status = "disabled"; 196 + 197 + port { 198 + #address-cells = <1>; 199 + #size-cells = <0>; 200 + 201 + tve0_in_tcon0: endpoint@0 { 202 + reg = <0>; 203 + remote-endpoint = <&tcon0_out_tve0>; 204 + }; 205 + }; 206 + }; 207 + 190 208 emac: ethernet@01c0b000 { 191 209 compatible = "allwinner,sun4i-a10-emac"; 192 210 reg = <0x01c0b000 0x1000>; ··· 256 238 #address-cells = <1>; 257 239 #size-cells = <0>; 258 240 reg = <1>; 241 + 242 + tcon0_out_tve0: endpoint@1 { 243 + reg = <1>; 244 + remote-endpoint = <&tve0_in_tcon0>; 245 + }; 259 246 }; 260 247 }; 261 248 };