Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
- index 5202b76e9684..9024b6f23200 100644
- --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
- +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
- @@ -43,9 +43,11 @@
- */
- #include <dt-bindings/clock/sun50i-a64-ccu.h>
- +#include <dt-bindings/clock/sun8i-de2.h>
- #include <dt-bindings/clock/sun8i-r-ccu.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
- #include <dt-bindings/reset/sun50i-a64-ccu.h>
- +#include <dt-bindings/reset/sun8i-de2.h>
- / {
- interrupt-parent = <&gic>;
- @@ -169,6 +171,41 @@
- #size-cells = <1>;
- ranges;
- + display_clocks: clock@1000000 {
- + /* compatible is in per SoC .dtsi file */
- + reg = <0x01000000 0x100000>;
- + clocks = <&ccu CLK_DE>,
- + <&ccu CLK_BUS_DE>;
- + clock-names = "mod",
- + "bus";
- + resets = <&ccu RST_BUS_DE>;
- + #clock-cells = <1>;
- + #reset-cells = <1>;
- + };
- +
- + mixer0: mixer@1100000 {
- + compatible = "allwinner,sun8i-h3-de2-mixer-0";
- + reg = <0x01100000 0x100000>;
- + clocks = <&display_clocks CLK_BUS_MIXER0>,
- + <&display_clocks CLK_MIXER0>;
- + clock-names = "bus",
- + "mod";
- + resets = <&display_clocks RST_MIXER0>;
- +
- + ports {
- + #address-cells = <1>;
- + #size-cells = <0>;
- +
- + mixer0_out: port@1 {
- + reg = <1>;
- +
- + mixer0_out_tcon0: endpoint {
- + remote-endpoint = <&tcon0_in_mixer0>;
- + };
- + };
- + };
- + };
- +
- syscon: syscon@1c00000 {
- compatible = "allwinner,sun50i-a64-system-controller",
- "syscon";
- @@ -186,6 +223,41 @@
- #dma-cells = <1>;
- };
- + tcon0: lcd-controller@1c0c000 {
- + compatible = "allwinner,sun8i-h3-tcon-tv",
- + "allwinner,sun8i-a83t-tcon-tv";
- + reg = <0x01c0c000 0x1000>;
- + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
- + clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>;
- + clock-names = "ahb", "tcon-ch1";
- + resets = <&ccu RST_BUS_TCON0>;
- + reset-names = "lcd";
- +
- + ports {
- + #address-cells = <1>;
- + #size-cells = <0>;
- +
- + tcon0_in: port@0 {
- + reg = <0>;
- +
- + tcon0_in_mixer0: endpoint {
- + remote-endpoint = <&mixer0_out_tcon0>;
- + };
- + };
- +
- + tcon0_out: port@1 {
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg = <1>;
- +
- + tcon0_out_hdmi: endpoint@1 {
- + reg = <1>;
- + remote-endpoint = <&hdmi_in_tcon0>;
- + };
- + };
- + };
- + };
- +
- mmc0: mmc@1c0f000 {
- compatible = "allwinner,sun50i-a64-mmc";
- reg = <0x01c0f000 0x1000>;
- @@ -630,6 +702,50 @@
- #interrupt-cells = <3>;
- };
- + hdmi: hdmi@1ee0000 {
- + compatible = "allwinner,sun8i-h3-dw-hdmi",
- + "allwinner,sun8i-a83t-dw-hdmi";
- + reg = <0x01ee0000 0x10000>;
- + reg-io-width = <1>;
- + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
- + clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
- + <&ccu CLK_HDMI>;
- + clock-names = "iahb", "isfr", "tmds";
- + resets = <&ccu RST_BUS_HDMI1>;
- + reset-names = "ctrl";
- + phys = <&hdmi_phy>;
- + phy-names = "hdmi-phy";
- + status = "disabled";
- +
- + ports {
- + #address-cells = <1>;
- + #size-cells = <0>;
- +
- + hdmi_in: port@0 {
- + reg = <0>;
- +
- + hdmi_in_tcon0: endpoint {
- + remote-endpoint = <&tcon0_out_hdmi>;
- + };
- + };
- +
- + hdmi_out: port@1 {
- + reg = <1>;
- + };
- + };
- + };
- +
- + hdmi_phy: hdmi-phy@1ef0000 {
- + compatible = "allwinner,sun8i-h3-hdmi-phy";
- + reg = <0x01ef0000 0x10000>;
- + clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>,
- + <&ccu 6>;
- + clock-names = "bus", "mod", "pll-0";
- + resets = <&ccu RST_BUS_HDMI0>;
- + reset-names = "phy";
- + #phy-cells = <0>;
- + };
- +
- rtc: rtc@1f00000 {
- compatible = "allwinner,sun6i-a31-rtc";
- reg = <0x01f00000 0x54>;
- @@ -693,5 +809,36 @@
- reg = <0x01c20ca0 0x20>;
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
- };
- +
- + mali: gpu@1c40000 {
- + compatible = "allwinner,sun50i-h5-mali", "arm,mali-400";
- + reg = <0x01c40000 0x10000>;
- + interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
- + <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
- + interrupt-names = "gp",
- + "gpmmu",
- + "pp0",
- + "ppmmu0",
- + "pp1",
- + "ppmmu1",
- + "pmu";
- + clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
- + clock-names = "bus", "core";
- + resets = <&ccu RST_BUS_GPU>;
- +
- + assigned-clocks = <&ccu CLK_GPU>;
- + assigned-clock-rates = <576000000>;
- + };
- + };
- +
- + de: display-engine {
- + compatible = "allwinner,sun8i-h3-display-engine";
- + allwinner,pipelines = <&mixer0>;
- + status = "enabled";
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement