1b4b8f2c9SClément Péron// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2cabbaed7SClément Péron// Copyright (C) 2016 ARM Ltd. 3cabbaed7SClément Péron// based on the Allwinner H3 dtsi: 4cabbaed7SClément Péron// Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com> 56bc37facSAndre Przywara 6a004ee35SIcenowy Zheng#include <dt-bindings/clock/sun50i-a64-ccu.h> 72c796fc8SIcenowy Zheng#include <dt-bindings/clock/sun8i-de2.h> 8494d8a2cSChen-Yu Tsai#include <dt-bindings/clock/sun8i-r-ccu.h> 96bc37facSAndre Przywara#include <dt-bindings/interrupt-controller/arm-gic.h> 10a004ee35SIcenowy Zheng#include <dt-bindings/reset/sun50i-a64-ccu.h> 112c796fc8SIcenowy Zheng#include <dt-bindings/reset/sun8i-de2.h> 12871b5352SIcenowy Zheng#include <dt-bindings/reset/sun8i-r-ccu.h> 1359f5e9b9SVasily Khoruzhick#include <dt-bindings/thermal/thermal.h> 146bc37facSAndre Przywara 156bc37facSAndre Przywara/ { 166bc37facSAndre Przywara interrupt-parent = <&gic>; 176bc37facSAndre Przywara #address-cells = <1>; 186bc37facSAndre Przywara #size-cells = <1>; 196bc37facSAndre Przywara 20c1cff65fSHarald Geyer chosen { 21c1cff65fSHarald Geyer #address-cells = <1>; 22c1cff65fSHarald Geyer #size-cells = <1>; 23c1cff65fSHarald Geyer ranges; 24c1cff65fSHarald Geyer 25c1cff65fSHarald Geyer simplefb_lcd: framebuffer-lcd { 26c1cff65fSHarald Geyer compatible = "allwinner,simple-framebuffer", 27c1cff65fSHarald Geyer "simple-framebuffer"; 28c1cff65fSHarald Geyer allwinner,pipeline = "mixer0-lcd0"; 29c1cff65fSHarald Geyer clocks = <&ccu CLK_TCON0>, 302c796fc8SIcenowy Zheng <&display_clocks CLK_MIXER0>; 31c1cff65fSHarald Geyer status = "disabled"; 32c1cff65fSHarald Geyer }; 33fca63f58SIcenowy Zheng 34fca63f58SIcenowy Zheng simplefb_hdmi: framebuffer-hdmi { 35fca63f58SIcenowy Zheng compatible = "allwinner,simple-framebuffer", 36fca63f58SIcenowy Zheng "simple-framebuffer"; 37fca63f58SIcenowy Zheng allwinner,pipeline = "mixer1-lcd1-hdmi"; 38fca63f58SIcenowy Zheng clocks = <&display_clocks CLK_MIXER1>, 39fca63f58SIcenowy Zheng <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; 40fca63f58SIcenowy Zheng status = "disabled"; 41fca63f58SIcenowy Zheng }; 42c1cff65fSHarald Geyer }; 43c1cff65fSHarald Geyer 446bc37facSAndre Przywara cpus { 456bc37facSAndre Przywara #address-cells = <1>; 466bc37facSAndre Przywara #size-cells = <0>; 476bc37facSAndre Przywara 486bc37facSAndre Przywara cpu0: cpu@0 { 4931af04cdSRob Herring compatible = "arm,cortex-a53"; 506bc37facSAndre Przywara device_type = "cpu"; 516bc37facSAndre Przywara reg = <0>; 526bc37facSAndre Przywara enable-method = "psci"; 5339defc81SAndre Przywara next-level-cache = <&L2>; 54f267eff7SVasily Khoruzhick clocks = <&ccu 21>; 55f267eff7SVasily Khoruzhick clock-names = "cpu"; 56*e1c3804aSVasily Khoruzhick #cooling-cells = <2>; 576bc37facSAndre Przywara }; 586bc37facSAndre Przywara 596bc37facSAndre Przywara cpu1: cpu@1 { 6031af04cdSRob Herring compatible = "arm,cortex-a53"; 616bc37facSAndre Przywara device_type = "cpu"; 626bc37facSAndre Przywara reg = <1>; 636bc37facSAndre Przywara enable-method = "psci"; 6439defc81SAndre Przywara next-level-cache = <&L2>; 65f267eff7SVasily Khoruzhick clocks = <&ccu 21>; 66f267eff7SVasily Khoruzhick clock-names = "cpu"; 67*e1c3804aSVasily Khoruzhick #cooling-cells = <2>; 686bc37facSAndre Przywara }; 696bc37facSAndre Przywara 706bc37facSAndre Przywara cpu2: cpu@2 { 7131af04cdSRob Herring compatible = "arm,cortex-a53"; 726bc37facSAndre Przywara device_type = "cpu"; 736bc37facSAndre Przywara reg = <2>; 746bc37facSAndre Przywara enable-method = "psci"; 7539defc81SAndre Przywara next-level-cache = <&L2>; 76f267eff7SVasily Khoruzhick clocks = <&ccu 21>; 77f267eff7SVasily Khoruzhick clock-names = "cpu"; 78*e1c3804aSVasily Khoruzhick #cooling-cells = <2>; 796bc37facSAndre Przywara }; 806bc37facSAndre Przywara 816bc37facSAndre Przywara cpu3: cpu@3 { 8231af04cdSRob Herring compatible = "arm,cortex-a53"; 836bc37facSAndre Przywara device_type = "cpu"; 846bc37facSAndre Przywara reg = <3>; 856bc37facSAndre Przywara enable-method = "psci"; 8639defc81SAndre Przywara next-level-cache = <&L2>; 87f267eff7SVasily Khoruzhick clocks = <&ccu 21>; 88f267eff7SVasily Khoruzhick clock-names = "cpu"; 89*e1c3804aSVasily Khoruzhick #cooling-cells = <2>; 9039defc81SAndre Przywara }; 9139defc81SAndre Przywara 9239defc81SAndre Przywara L2: l2-cache { 9339defc81SAndre Przywara compatible = "cache"; 9439defc81SAndre Przywara cache-level = <2>; 956bc37facSAndre Przywara }; 966bc37facSAndre Przywara }; 976bc37facSAndre Przywara 98e85f28e0SJagan Teki de: display-engine { 99e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-display-engine"; 100e85f28e0SJagan Teki allwinner,pipelines = <&mixer0>, 101e85f28e0SJagan Teki <&mixer1>; 102e85f28e0SJagan Teki status = "disabled"; 103e85f28e0SJagan Teki }; 104e85f28e0SJagan Teki 1056bc37facSAndre Przywara osc24M: osc24M_clk { 1066bc37facSAndre Przywara #clock-cells = <0>; 1076bc37facSAndre Przywara compatible = "fixed-clock"; 1086bc37facSAndre Przywara clock-frequency = <24000000>; 1096bc37facSAndre Przywara clock-output-names = "osc24M"; 1106bc37facSAndre Przywara }; 1116bc37facSAndre Przywara 1126bc37facSAndre Przywara osc32k: osc32k_clk { 1136bc37facSAndre Przywara #clock-cells = <0>; 1146bc37facSAndre Przywara compatible = "fixed-clock"; 1156bc37facSAndre Przywara clock-frequency = <32768>; 11644ff3cafSChen-Yu Tsai clock-output-names = "ext-osc32k"; 117791a9e00SIcenowy Zheng }; 118791a9e00SIcenowy Zheng 11934a97fccSHarald Geyer pmu { 12034a97fccSHarald Geyer compatible = "arm,cortex-a53-pmu"; 1216b832a14SAndre Przywara interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 1226b832a14SAndre Przywara <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 1236b832a14SAndre Przywara <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1246b832a14SAndre Przywara <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; 12534a97fccSHarald Geyer interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 12634a97fccSHarald Geyer }; 12734a97fccSHarald Geyer 1286bc37facSAndre Przywara psci { 1296bc37facSAndre Przywara compatible = "arm,psci-0.2"; 1306bc37facSAndre Przywara method = "smc"; 1316bc37facSAndre Przywara }; 1326bc37facSAndre Przywara 133ec4a9540SVasily Khoruzhick sound: sound { 134ec4a9540SVasily Khoruzhick compatible = "simple-audio-card"; 135ec4a9540SVasily Khoruzhick simple-audio-card,name = "sun50i-a64-audio"; 136ec4a9540SVasily Khoruzhick simple-audio-card,format = "i2s"; 137ec4a9540SVasily Khoruzhick simple-audio-card,frame-master = <&cpudai>; 138ec4a9540SVasily Khoruzhick simple-audio-card,bitclock-master = <&cpudai>; 139ec4a9540SVasily Khoruzhick simple-audio-card,mclk-fs = <128>; 140ec4a9540SVasily Khoruzhick simple-audio-card,aux-devs = <&codec_analog>; 141ec4a9540SVasily Khoruzhick simple-audio-card,routing = 142ec4a9540SVasily Khoruzhick "Left DAC", "AIF1 Slot 0 Left", 143ec4a9540SVasily Khoruzhick "Right DAC", "AIF1 Slot 0 Right", 144ec4a9540SVasily Khoruzhick "AIF1 Slot 0 Left ADC", "Left ADC", 145ec4a9540SVasily Khoruzhick "AIF1 Slot 0 Right ADC", "Right ADC"; 146ec4a9540SVasily Khoruzhick status = "disabled"; 147ec4a9540SVasily Khoruzhick 148ec4a9540SVasily Khoruzhick cpudai: simple-audio-card,cpu { 149ec4a9540SVasily Khoruzhick sound-dai = <&dai>; 150ec4a9540SVasily Khoruzhick }; 151ec4a9540SVasily Khoruzhick 152ec4a9540SVasily Khoruzhick link_codec: simple-audio-card,codec { 153ec4a9540SVasily Khoruzhick sound-dai = <&codec>; 154ec4a9540SVasily Khoruzhick }; 155ec4a9540SVasily Khoruzhick }; 156ec4a9540SVasily Khoruzhick 15778e07137SMarcus Cooper sound_spdif { 15878e07137SMarcus Cooper compatible = "simple-audio-card"; 15978e07137SMarcus Cooper simple-audio-card,name = "On-board SPDIF"; 16078e07137SMarcus Cooper 16178e07137SMarcus Cooper simple-audio-card,cpu { 16278e07137SMarcus Cooper sound-dai = <&spdif>; 16378e07137SMarcus Cooper }; 16478e07137SMarcus Cooper 16578e07137SMarcus Cooper simple-audio-card,codec { 16678e07137SMarcus Cooper sound-dai = <&spdif_out>; 16778e07137SMarcus Cooper }; 16878e07137SMarcus Cooper }; 16978e07137SMarcus Cooper 17078e07137SMarcus Cooper spdif_out: spdif-out { 17178e07137SMarcus Cooper #sound-dai-cells = <0>; 17278e07137SMarcus Cooper compatible = "linux,spdif-dit"; 17378e07137SMarcus Cooper }; 17478e07137SMarcus Cooper 1756bc37facSAndre Przywara timer { 1766bc37facSAndre Przywara compatible = "arm,armv8-timer"; 17755ec26d6SSamuel Holland allwinner,erratum-unknown1; 1786bc37facSAndre Przywara interrupts = <GIC_PPI 13 1796bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1806bc37facSAndre Przywara <GIC_PPI 14 1816bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1826bc37facSAndre Przywara <GIC_PPI 11 1836bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1846bc37facSAndre Przywara <GIC_PPI 10 1856bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 1866bc37facSAndre Przywara }; 1876bc37facSAndre Przywara 18859f5e9b9SVasily Khoruzhick thermal-zones { 18959f5e9b9SVasily Khoruzhick cpu_thermal: cpu0-thermal { 19059f5e9b9SVasily Khoruzhick /* milliseconds */ 19159f5e9b9SVasily Khoruzhick polling-delay-passive = <0>; 19259f5e9b9SVasily Khoruzhick polling-delay = <0>; 19359f5e9b9SVasily Khoruzhick thermal-sensors = <&ths 0>; 194*e1c3804aSVasily Khoruzhick 195*e1c3804aSVasily Khoruzhick cooling-maps { 196*e1c3804aSVasily Khoruzhick map0 { 197*e1c3804aSVasily Khoruzhick trip = <&cpu_alert0>; 198*e1c3804aSVasily Khoruzhick cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 199*e1c3804aSVasily Khoruzhick <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 200*e1c3804aSVasily Khoruzhick <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 201*e1c3804aSVasily Khoruzhick <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 202*e1c3804aSVasily Khoruzhick }; 203*e1c3804aSVasily Khoruzhick map1 { 204*e1c3804aSVasily Khoruzhick trip = <&cpu_alert1>; 205*e1c3804aSVasily Khoruzhick cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 206*e1c3804aSVasily Khoruzhick <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 207*e1c3804aSVasily Khoruzhick <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 208*e1c3804aSVasily Khoruzhick <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 209*e1c3804aSVasily Khoruzhick }; 210*e1c3804aSVasily Khoruzhick }; 211*e1c3804aSVasily Khoruzhick 212*e1c3804aSVasily Khoruzhick trips { 213*e1c3804aSVasily Khoruzhick cpu_alert0: cpu_alert0 { 214*e1c3804aSVasily Khoruzhick /* milliCelsius */ 215*e1c3804aSVasily Khoruzhick temperature = <75000>; 216*e1c3804aSVasily Khoruzhick hysteresis = <2000>; 217*e1c3804aSVasily Khoruzhick type = "passive"; 218*e1c3804aSVasily Khoruzhick }; 219*e1c3804aSVasily Khoruzhick 220*e1c3804aSVasily Khoruzhick cpu_alert1: cpu_alert1 { 221*e1c3804aSVasily Khoruzhick /* milliCelsius */ 222*e1c3804aSVasily Khoruzhick temperature = <90000>; 223*e1c3804aSVasily Khoruzhick hysteresis = <2000>; 224*e1c3804aSVasily Khoruzhick type = "hot"; 225*e1c3804aSVasily Khoruzhick }; 226*e1c3804aSVasily Khoruzhick 227*e1c3804aSVasily Khoruzhick cpu_crit: cpu_crit { 228*e1c3804aSVasily Khoruzhick /* milliCelsius */ 229*e1c3804aSVasily Khoruzhick temperature = <110000>; 230*e1c3804aSVasily Khoruzhick hysteresis = <2000>; 231*e1c3804aSVasily Khoruzhick type = "critical"; 232*e1c3804aSVasily Khoruzhick }; 233*e1c3804aSVasily Khoruzhick }; 23459f5e9b9SVasily Khoruzhick }; 23559f5e9b9SVasily Khoruzhick 23659f5e9b9SVasily Khoruzhick gpu0_thermal: gpu0-thermal { 23759f5e9b9SVasily Khoruzhick /* milliseconds */ 23859f5e9b9SVasily Khoruzhick polling-delay-passive = <0>; 23959f5e9b9SVasily Khoruzhick polling-delay = <0>; 24059f5e9b9SVasily Khoruzhick thermal-sensors = <&ths 1>; 24159f5e9b9SVasily Khoruzhick }; 24259f5e9b9SVasily Khoruzhick 24359f5e9b9SVasily Khoruzhick gpu1_thermal: gpu1-thermal { 24459f5e9b9SVasily Khoruzhick /* milliseconds */ 24559f5e9b9SVasily Khoruzhick polling-delay-passive = <0>; 24659f5e9b9SVasily Khoruzhick polling-delay = <0>; 24759f5e9b9SVasily Khoruzhick thermal-sensors = <&ths 2>; 24859f5e9b9SVasily Khoruzhick }; 24959f5e9b9SVasily Khoruzhick }; 25059f5e9b9SVasily Khoruzhick 2516bc37facSAndre Przywara soc { 2526bc37facSAndre Przywara compatible = "simple-bus"; 2536bc37facSAndre Przywara #address-cells = <1>; 2546bc37facSAndre Przywara #size-cells = <1>; 2556bc37facSAndre Przywara ranges; 2566bc37facSAndre Przywara 257275b6317SMaxime Ripard bus@1000000 { 2582c796fc8SIcenowy Zheng compatible = "allwinner,sun50i-a64-de2"; 2592c796fc8SIcenowy Zheng reg = <0x1000000 0x400000>; 2602c796fc8SIcenowy Zheng allwinner,sram = <&de2_sram 1>; 2612c796fc8SIcenowy Zheng #address-cells = <1>; 2622c796fc8SIcenowy Zheng #size-cells = <1>; 2632c796fc8SIcenowy Zheng ranges = <0 0x1000000 0x400000>; 2642c796fc8SIcenowy Zheng 2652c796fc8SIcenowy Zheng display_clocks: clock@0 { 2662c796fc8SIcenowy Zheng compatible = "allwinner,sun50i-a64-de2-clk"; 2672c796fc8SIcenowy Zheng reg = <0x0 0x100000>; 2685ea40f71SMaxime Ripard clocks = <&ccu CLK_BUS_DE>, 2695ea40f71SMaxime Ripard <&ccu CLK_DE>; 2705ea40f71SMaxime Ripard clock-names = "bus", 2715ea40f71SMaxime Ripard "mod"; 2722c796fc8SIcenowy Zheng resets = <&ccu RST_BUS_DE>; 2732c796fc8SIcenowy Zheng #clock-cells = <1>; 2742c796fc8SIcenowy Zheng #reset-cells = <1>; 2752c796fc8SIcenowy Zheng }; 276e85f28e0SJagan Teki 277e85f28e0SJagan Teki mixer0: mixer@100000 { 278e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-de2-mixer-0"; 279e85f28e0SJagan Teki reg = <0x100000 0x100000>; 280e85f28e0SJagan Teki clocks = <&display_clocks CLK_BUS_MIXER0>, 281e85f28e0SJagan Teki <&display_clocks CLK_MIXER0>; 282e85f28e0SJagan Teki clock-names = "bus", 283e85f28e0SJagan Teki "mod"; 284e85f28e0SJagan Teki resets = <&display_clocks RST_MIXER0>; 285e85f28e0SJagan Teki 286e85f28e0SJagan Teki ports { 287e85f28e0SJagan Teki #address-cells = <1>; 288e85f28e0SJagan Teki #size-cells = <0>; 289e85f28e0SJagan Teki 290e85f28e0SJagan Teki mixer0_out: port@1 { 291a7f7047fSMaxime Ripard #address-cells = <1>; 292a7f7047fSMaxime Ripard #size-cells = <0>; 293e85f28e0SJagan Teki reg = <1>; 294e85f28e0SJagan Teki 295a7f7047fSMaxime Ripard mixer0_out_tcon0: endpoint@0 { 296a7f7047fSMaxime Ripard reg = <0>; 297e85f28e0SJagan Teki remote-endpoint = <&tcon0_in_mixer0>; 298e85f28e0SJagan Teki }; 299a7f7047fSMaxime Ripard 300a7f7047fSMaxime Ripard mixer0_out_tcon1: endpoint@1 { 301a7f7047fSMaxime Ripard reg = <1>; 302a7f7047fSMaxime Ripard remote-endpoint = <&tcon1_in_mixer0>; 303a7f7047fSMaxime Ripard }; 304e85f28e0SJagan Teki }; 305e85f28e0SJagan Teki }; 306e85f28e0SJagan Teki }; 307e85f28e0SJagan Teki 308e85f28e0SJagan Teki mixer1: mixer@200000 { 309e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-de2-mixer-1"; 310e85f28e0SJagan Teki reg = <0x200000 0x100000>; 311e85f28e0SJagan Teki clocks = <&display_clocks CLK_BUS_MIXER1>, 312e85f28e0SJagan Teki <&display_clocks CLK_MIXER1>; 313e85f28e0SJagan Teki clock-names = "bus", 314e85f28e0SJagan Teki "mod"; 315e85f28e0SJagan Teki resets = <&display_clocks RST_MIXER1>; 316e85f28e0SJagan Teki 317e85f28e0SJagan Teki ports { 318e85f28e0SJagan Teki #address-cells = <1>; 319e85f28e0SJagan Teki #size-cells = <0>; 320e85f28e0SJagan Teki 321e85f28e0SJagan Teki mixer1_out: port@1 { 322d41a43a0SMaxime Ripard #address-cells = <1>; 323d41a43a0SMaxime Ripard #size-cells = <0>; 324e85f28e0SJagan Teki reg = <1>; 325e85f28e0SJagan Teki 326a7f7047fSMaxime Ripard mixer1_out_tcon0: endpoint@0 { 327a7f7047fSMaxime Ripard reg = <0>; 328a7f7047fSMaxime Ripard remote-endpoint = <&tcon0_in_mixer1>; 329a7f7047fSMaxime Ripard }; 330a7f7047fSMaxime Ripard 331a7f7047fSMaxime Ripard mixer1_out_tcon1: endpoint@1 { 332a7f7047fSMaxime Ripard reg = <1>; 333e85f28e0SJagan Teki remote-endpoint = <&tcon1_in_mixer1>; 334e85f28e0SJagan Teki }; 335e85f28e0SJagan Teki }; 336e85f28e0SJagan Teki }; 337e85f28e0SJagan Teki }; 3382c796fc8SIcenowy Zheng }; 3392c796fc8SIcenowy Zheng 34079b95360SCorentin Labbe syscon: syscon@1c00000 { 3411f1f5183SIcenowy Zheng compatible = "allwinner,sun50i-a64-system-control"; 34279b95360SCorentin Labbe reg = <0x01c00000 0x1000>; 3431f1f5183SIcenowy Zheng #address-cells = <1>; 3441f1f5183SIcenowy Zheng #size-cells = <1>; 3451f1f5183SIcenowy Zheng ranges; 3461f1f5183SIcenowy Zheng 3471f1f5183SIcenowy Zheng sram_c: sram@18000 { 3481f1f5183SIcenowy Zheng compatible = "mmio-sram"; 3491f1f5183SIcenowy Zheng reg = <0x00018000 0x28000>; 3501f1f5183SIcenowy Zheng #address-cells = <1>; 3511f1f5183SIcenowy Zheng #size-cells = <1>; 3521f1f5183SIcenowy Zheng ranges = <0 0x00018000 0x28000>; 3531f1f5183SIcenowy Zheng 3541f1f5183SIcenowy Zheng de2_sram: sram-section@0 { 3551f1f5183SIcenowy Zheng compatible = "allwinner,sun50i-a64-sram-c"; 3561f1f5183SIcenowy Zheng reg = <0x0000 0x28000>; 3571f1f5183SIcenowy Zheng }; 3581f1f5183SIcenowy Zheng }; 359106deea8SPaul Kocialkowski 360106deea8SPaul Kocialkowski sram_c1: sram@1d00000 { 361106deea8SPaul Kocialkowski compatible = "mmio-sram"; 362106deea8SPaul Kocialkowski reg = <0x01d00000 0x40000>; 363106deea8SPaul Kocialkowski #address-cells = <1>; 364106deea8SPaul Kocialkowski #size-cells = <1>; 365106deea8SPaul Kocialkowski ranges = <0 0x01d00000 0x40000>; 366106deea8SPaul Kocialkowski 367106deea8SPaul Kocialkowski ve_sram: sram-section@0 { 368106deea8SPaul Kocialkowski compatible = "allwinner,sun50i-a64-sram-c1", 369106deea8SPaul Kocialkowski "allwinner,sun4i-a10-sram-c1"; 370106deea8SPaul Kocialkowski reg = <0x000000 0x40000>; 371106deea8SPaul Kocialkowski }; 372106deea8SPaul Kocialkowski }; 37379b95360SCorentin Labbe }; 37479b95360SCorentin Labbe 375c32637e0SStefan Brüns dma: dma-controller@1c02000 { 376c32637e0SStefan Brüns compatible = "allwinner,sun50i-a64-dma"; 377c32637e0SStefan Brüns reg = <0x01c02000 0x1000>; 378c32637e0SStefan Brüns interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 379c32637e0SStefan Brüns clocks = <&ccu CLK_BUS_DMA>; 380c32637e0SStefan Brüns dma-channels = <8>; 381c32637e0SStefan Brüns dma-requests = <27>; 382c32637e0SStefan Brüns resets = <&ccu RST_BUS_DMA>; 383c32637e0SStefan Brüns #dma-cells = <1>; 384c32637e0SStefan Brüns }; 385c32637e0SStefan Brüns 386e85f28e0SJagan Teki tcon0: lcd-controller@1c0c000 { 387e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-tcon-lcd", 388e85f28e0SJagan Teki "allwinner,sun8i-a83t-tcon-lcd"; 389e85f28e0SJagan Teki reg = <0x01c0c000 0x1000>; 390e85f28e0SJagan Teki interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 391e85f28e0SJagan Teki clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; 392e85f28e0SJagan Teki clock-names = "ahb", "tcon-ch0"; 393e85f28e0SJagan Teki clock-output-names = "tcon-pixel-clock"; 39426c609d5SMaxime Ripard #clock-cells = <0>; 395e85f28e0SJagan Teki resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; 396e85f28e0SJagan Teki reset-names = "lcd", "lvds"; 397e85f28e0SJagan Teki 398e85f28e0SJagan Teki ports { 399e85f28e0SJagan Teki #address-cells = <1>; 400e85f28e0SJagan Teki #size-cells = <0>; 401e85f28e0SJagan Teki 402e85f28e0SJagan Teki tcon0_in: port@0 { 403e85f28e0SJagan Teki #address-cells = <1>; 404e85f28e0SJagan Teki #size-cells = <0>; 405e85f28e0SJagan Teki reg = <0>; 406e85f28e0SJagan Teki 407e85f28e0SJagan Teki tcon0_in_mixer0: endpoint@0 { 408e85f28e0SJagan Teki reg = <0>; 409e85f28e0SJagan Teki remote-endpoint = <&mixer0_out_tcon0>; 410e85f28e0SJagan Teki }; 411a7f7047fSMaxime Ripard 412a7f7047fSMaxime Ripard tcon0_in_mixer1: endpoint@1 { 413a7f7047fSMaxime Ripard reg = <1>; 414d41a43a0SMaxime Ripard remote-endpoint = <&mixer1_out_tcon0>; 415a7f7047fSMaxime Ripard }; 416e85f28e0SJagan Teki }; 417e85f28e0SJagan Teki 418e85f28e0SJagan Teki tcon0_out: port@1 { 419e85f28e0SJagan Teki #address-cells = <1>; 420e85f28e0SJagan Teki #size-cells = <0>; 421e85f28e0SJagan Teki reg = <1>; 42216c8ff57SJagan Teki 42316c8ff57SJagan Teki tcon0_out_dsi: endpoint@1 { 42416c8ff57SJagan Teki reg = <1>; 42516c8ff57SJagan Teki remote-endpoint = <&dsi_in_tcon0>; 42616c8ff57SJagan Teki allwinner,tcon-channel = <1>; 42716c8ff57SJagan Teki }; 428e85f28e0SJagan Teki }; 429e85f28e0SJagan Teki }; 430e85f28e0SJagan Teki }; 431e85f28e0SJagan Teki 432e85f28e0SJagan Teki tcon1: lcd-controller@1c0d000 { 433e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-tcon-tv", 434e85f28e0SJagan Teki "allwinner,sun8i-a83t-tcon-tv"; 435e85f28e0SJagan Teki reg = <0x01c0d000 0x1000>; 436e85f28e0SJagan Teki interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 437e85f28e0SJagan Teki clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; 438e85f28e0SJagan Teki clock-names = "ahb", "tcon-ch1"; 439e85f28e0SJagan Teki resets = <&ccu RST_BUS_TCON1>; 440e85f28e0SJagan Teki reset-names = "lcd"; 441e85f28e0SJagan Teki 442e85f28e0SJagan Teki ports { 443e85f28e0SJagan Teki #address-cells = <1>; 444e85f28e0SJagan Teki #size-cells = <0>; 445e85f28e0SJagan Teki 446e85f28e0SJagan Teki tcon1_in: port@0 { 447a7f7047fSMaxime Ripard #address-cells = <1>; 448a7f7047fSMaxime Ripard #size-cells = <0>; 449e85f28e0SJagan Teki reg = <0>; 450e85f28e0SJagan Teki 451a7f7047fSMaxime Ripard tcon1_in_mixer0: endpoint@0 { 452a7f7047fSMaxime Ripard reg = <0>; 453a7f7047fSMaxime Ripard remote-endpoint = <&mixer0_out_tcon1>; 454a7f7047fSMaxime Ripard }; 455a7f7047fSMaxime Ripard 456a7f7047fSMaxime Ripard tcon1_in_mixer1: endpoint@1 { 457a7f7047fSMaxime Ripard reg = <1>; 458e85f28e0SJagan Teki remote-endpoint = <&mixer1_out_tcon1>; 459e85f28e0SJagan Teki }; 460e85f28e0SJagan Teki }; 461e85f28e0SJagan Teki 462e85f28e0SJagan Teki tcon1_out: port@1 { 463e85f28e0SJagan Teki #address-cells = <1>; 464e85f28e0SJagan Teki #size-cells = <0>; 465e85f28e0SJagan Teki reg = <1>; 466e85f28e0SJagan Teki 467e85f28e0SJagan Teki tcon1_out_hdmi: endpoint@1 { 468e85f28e0SJagan Teki reg = <1>; 469e85f28e0SJagan Teki remote-endpoint = <&hdmi_in_tcon1>; 470e85f28e0SJagan Teki }; 471e85f28e0SJagan Teki }; 472e85f28e0SJagan Teki }; 473e85f28e0SJagan Teki }; 474e85f28e0SJagan Teki 475d60ce247SPaul Kocialkowski video-codec@1c0e000 { 4764ab88516SPaul Kocialkowski compatible = "allwinner,sun50i-a64-video-engine"; 477d60ce247SPaul Kocialkowski reg = <0x01c0e000 0x1000>; 478d60ce247SPaul Kocialkowski clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, 479d60ce247SPaul Kocialkowski <&ccu CLK_DRAM_VE>; 480d60ce247SPaul Kocialkowski clock-names = "ahb", "mod", "ram"; 481d60ce247SPaul Kocialkowski resets = <&ccu RST_BUS_VE>; 482d60ce247SPaul Kocialkowski interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 483d60ce247SPaul Kocialkowski allwinner,sram = <&ve_sram 1>; 484d60ce247SPaul Kocialkowski }; 485d60ce247SPaul Kocialkowski 486f3dff347SAndre Przywara mmc0: mmc@1c0f000 { 487f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-mmc"; 488f3dff347SAndre Przywara reg = <0x01c0f000 0x1000>; 489f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; 490f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 491f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC0>; 492f3dff347SAndre Przywara reset-names = "ahb"; 493f3dff347SAndre Przywara interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 49422be992fSMaxime Ripard max-frequency = <150000000>; 495f3dff347SAndre Przywara status = "disabled"; 496f3dff347SAndre Przywara #address-cells = <1>; 497f3dff347SAndre Przywara #size-cells = <0>; 498f3dff347SAndre Przywara }; 499f3dff347SAndre Przywara 500f3dff347SAndre Przywara mmc1: mmc@1c10000 { 501f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-mmc"; 502f3dff347SAndre Przywara reg = <0x01c10000 0x1000>; 503f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; 504f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 505f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC1>; 506f3dff347SAndre Przywara reset-names = "ahb"; 507f3dff347SAndre Przywara interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 50822be992fSMaxime Ripard max-frequency = <150000000>; 509f3dff347SAndre Przywara status = "disabled"; 510f3dff347SAndre Przywara #address-cells = <1>; 511f3dff347SAndre Przywara #size-cells = <0>; 512f3dff347SAndre Przywara }; 513f3dff347SAndre Przywara 514f3dff347SAndre Przywara mmc2: mmc@1c11000 { 515f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-emmc"; 516f3dff347SAndre Przywara reg = <0x01c11000 0x1000>; 517f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; 518f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 519f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC2>; 520f3dff347SAndre Przywara reset-names = "ahb"; 521f3dff347SAndre Przywara interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 52222be992fSMaxime Ripard max-frequency = <200000000>; 523f3dff347SAndre Przywara status = "disabled"; 524f3dff347SAndre Przywara #address-cells = <1>; 525f3dff347SAndre Przywara #size-cells = <0>; 526f3dff347SAndre Przywara }; 527f3dff347SAndre Przywara 528ac947b17SEmmanuel Vadot sid: eeprom@1c14000 { 529ac947b17SEmmanuel Vadot compatible = "allwinner,sun50i-a64-sid"; 530ac947b17SEmmanuel Vadot reg = <0x1c14000 0x400>; 53159f5e9b9SVasily Khoruzhick #address-cells = <1>; 53259f5e9b9SVasily Khoruzhick #size-cells = <1>; 53359f5e9b9SVasily Khoruzhick 53459f5e9b9SVasily Khoruzhick ths_calibration: thermal-sensor-calibration@34 { 53559f5e9b9SVasily Khoruzhick reg = <0x34 0x8>; 53659f5e9b9SVasily Khoruzhick }; 537ac947b17SEmmanuel Vadot }; 538ac947b17SEmmanuel Vadot 5390f5fc158SCorentin Labbe crypto: crypto@1c15000 { 5400f5fc158SCorentin Labbe compatible = "allwinner,sun50i-a64-crypto"; 5410f5fc158SCorentin Labbe reg = <0x01c15000 0x1000>; 5420f5fc158SCorentin Labbe interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 5430f5fc158SCorentin Labbe clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; 5440f5fc158SCorentin Labbe clock-names = "bus", "mod"; 5450f5fc158SCorentin Labbe resets = <&ccu RST_BUS_CE>; 5460f5fc158SCorentin Labbe }; 5470f5fc158SCorentin Labbe 548d6c9da12SCorentin LABBE usb_otg: usb@1c19000 { 549972a3ecdSIcenowy Zheng compatible = "allwinner,sun8i-a33-musb"; 550972a3ecdSIcenowy Zheng reg = <0x01c19000 0x0400>; 551972a3ecdSIcenowy Zheng clocks = <&ccu CLK_BUS_OTG>; 552972a3ecdSIcenowy Zheng resets = <&ccu RST_BUS_OTG>; 553972a3ecdSIcenowy Zheng interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 554972a3ecdSIcenowy Zheng interrupt-names = "mc"; 555972a3ecdSIcenowy Zheng phys = <&usbphy 0>; 556972a3ecdSIcenowy Zheng phy-names = "usb"; 557972a3ecdSIcenowy Zheng extcon = <&usbphy 0>; 5580973c06bSMaxime Ripard dr_mode = "otg"; 559972a3ecdSIcenowy Zheng status = "disabled"; 560972a3ecdSIcenowy Zheng }; 561972a3ecdSIcenowy Zheng 562d6c9da12SCorentin LABBE usbphy: phy@1c19400 { 563a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-usb-phy"; 564a004ee35SIcenowy Zheng reg = <0x01c19400 0x14>, 5650d984797SIcenowy Zheng <0x01c1a800 0x4>, 566a004ee35SIcenowy Zheng <0x01c1b800 0x4>; 567a004ee35SIcenowy Zheng reg-names = "phy_ctrl", 5680d984797SIcenowy Zheng "pmu0", 569a004ee35SIcenowy Zheng "pmu1"; 570a004ee35SIcenowy Zheng clocks = <&ccu CLK_USB_PHY0>, 571a004ee35SIcenowy Zheng <&ccu CLK_USB_PHY1>; 572a004ee35SIcenowy Zheng clock-names = "usb0_phy", 573a004ee35SIcenowy Zheng "usb1_phy"; 574a004ee35SIcenowy Zheng resets = <&ccu RST_USB_PHY0>, 575a004ee35SIcenowy Zheng <&ccu RST_USB_PHY1>; 576a004ee35SIcenowy Zheng reset-names = "usb0_reset", 577a004ee35SIcenowy Zheng "usb1_reset"; 578a004ee35SIcenowy Zheng status = "disabled"; 579a004ee35SIcenowy Zheng #phy-cells = <1>; 580a004ee35SIcenowy Zheng }; 581a004ee35SIcenowy Zheng 582d6c9da12SCorentin LABBE ehci0: usb@1c1a000 { 583dc03a047SIcenowy Zheng compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; 584dc03a047SIcenowy Zheng reg = <0x01c1a000 0x100>; 585dc03a047SIcenowy Zheng interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 586dc03a047SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI0>, 587dc03a047SIcenowy Zheng <&ccu CLK_BUS_EHCI0>, 588dc03a047SIcenowy Zheng <&ccu CLK_USB_OHCI0>; 589dc03a047SIcenowy Zheng resets = <&ccu RST_BUS_OHCI0>, 590dc03a047SIcenowy Zheng <&ccu RST_BUS_EHCI0>; 591dc03a047SIcenowy Zheng status = "disabled"; 592dc03a047SIcenowy Zheng }; 593dc03a047SIcenowy Zheng 594d6c9da12SCorentin LABBE ohci0: usb@1c1a400 { 595dc03a047SIcenowy Zheng compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; 596dc03a047SIcenowy Zheng reg = <0x01c1a400 0x100>; 597dc03a047SIcenowy Zheng interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 598dc03a047SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI0>, 599dc03a047SIcenowy Zheng <&ccu CLK_USB_OHCI0>; 600dc03a047SIcenowy Zheng resets = <&ccu RST_BUS_OHCI0>; 601dc03a047SIcenowy Zheng status = "disabled"; 602dc03a047SIcenowy Zheng }; 603dc03a047SIcenowy Zheng 604d6c9da12SCorentin LABBE ehci1: usb@1c1b000 { 605a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; 606a004ee35SIcenowy Zheng reg = <0x01c1b000 0x100>; 607a004ee35SIcenowy Zheng interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 608a004ee35SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI1>, 609a004ee35SIcenowy Zheng <&ccu CLK_BUS_EHCI1>, 610a004ee35SIcenowy Zheng <&ccu CLK_USB_OHCI1>; 611a004ee35SIcenowy Zheng resets = <&ccu RST_BUS_OHCI1>, 612a004ee35SIcenowy Zheng <&ccu RST_BUS_EHCI1>; 613a004ee35SIcenowy Zheng phys = <&usbphy 1>; 614e6064cf4SMaxime Ripard phy-names = "usb"; 615a004ee35SIcenowy Zheng status = "disabled"; 616a004ee35SIcenowy Zheng }; 617a004ee35SIcenowy Zheng 618d6c9da12SCorentin LABBE ohci1: usb@1c1b400 { 619a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; 620a004ee35SIcenowy Zheng reg = <0x01c1b400 0x100>; 621a004ee35SIcenowy Zheng interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 622a004ee35SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI1>, 623a004ee35SIcenowy Zheng <&ccu CLK_USB_OHCI1>; 624a004ee35SIcenowy Zheng resets = <&ccu RST_BUS_OHCI1>; 625a004ee35SIcenowy Zheng phys = <&usbphy 1>; 626e6064cf4SMaxime Ripard phy-names = "usb"; 627a004ee35SIcenowy Zheng status = "disabled"; 628a004ee35SIcenowy Zheng }; 629a004ee35SIcenowy Zheng 630d6c9da12SCorentin LABBE ccu: clock@1c20000 { 6316bc37facSAndre Przywara compatible = "allwinner,sun50i-a64-ccu"; 6326bc37facSAndre Przywara reg = <0x01c20000 0x400>; 63344ff3cafSChen-Yu Tsai clocks = <&osc24M>, <&rtc 0>; 6346bc37facSAndre Przywara clock-names = "hosc", "losc"; 6356bc37facSAndre Przywara #clock-cells = <1>; 6366bc37facSAndre Przywara #reset-cells = <1>; 6376bc37facSAndre Przywara }; 6386bc37facSAndre Przywara 6396bc37facSAndre Przywara pio: pinctrl@1c20800 { 6406bc37facSAndre Przywara compatible = "allwinner,sun50i-a64-pinctrl"; 6416bc37facSAndre Przywara reg = <0x01c20800 0x400>; 6426bc37facSAndre Przywara interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 6436bc37facSAndre Przywara <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 6446bc37facSAndre Przywara <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 645b71818cbSChen-Yu Tsai clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&rtc 0>; 646562bf196SMaxime Ripard clock-names = "apb", "hosc", "losc"; 6476bc37facSAndre Przywara gpio-controller; 6486bc37facSAndre Przywara #gpio-cells = <3>; 6496bc37facSAndre Przywara interrupt-controller; 6506bc37facSAndre Przywara #interrupt-cells = <3>; 6516bc37facSAndre Przywara 652ff29f13eSJagan Teki csi_pins: csi-pins { 653ff29f13eSJagan Teki pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", 654ff29f13eSJagan Teki "PE7", "PE8", "PE9", "PE10", "PE11"; 655ff29f13eSJagan Teki function = "csi"; 656ff29f13eSJagan Teki }; 657ff29f13eSJagan Teki 658f7056b28SJagan Teki /omit-if-no-ref/ 659f7056b28SJagan Teki csi_mclk_pin: csi-mclk-pin { 660f7056b28SJagan Teki pins = "PE1"; 661f7056b28SJagan Teki function = "csi"; 662f7056b28SJagan Teki }; 663f7056b28SJagan Teki 66454eac67bSMaxime Ripard i2c0_pins: i2c0-pins { 66511239fe6SHarald Geyer pins = "PH0", "PH1"; 66611239fe6SHarald Geyer function = "i2c0"; 66711239fe6SHarald Geyer }; 66811239fe6SHarald Geyer 66954eac67bSMaxime Ripard i2c1_pins: i2c1-pins { 6706bc37facSAndre Przywara pins = "PH2", "PH3"; 6716bc37facSAndre Przywara function = "i2c1"; 6726bc37facSAndre Przywara }; 6736bc37facSAndre Przywara 674c478a12eSIcenowy Zheng /omit-if-no-ref/ 675c478a12eSIcenowy Zheng lcd_rgb666_pins: lcd-rgb666-pins { 676c478a12eSIcenowy Zheng pins = "PD0", "PD1", "PD2", "PD3", "PD4", 677c478a12eSIcenowy Zheng "PD5", "PD6", "PD7", "PD8", "PD9", 678c478a12eSIcenowy Zheng "PD10", "PD11", "PD12", "PD13", 679c478a12eSIcenowy Zheng "PD14", "PD15", "PD16", "PD17", 680c478a12eSIcenowy Zheng "PD18", "PD19", "PD20", "PD21"; 681c478a12eSIcenowy Zheng function = "lcd0"; 682c478a12eSIcenowy Zheng }; 683c478a12eSIcenowy Zheng 684a3e8f492SMaxime Ripard mmc0_pins: mmc0-pins { 685a3e8f492SMaxime Ripard pins = "PF0", "PF1", "PF2", "PF3", 686a3e8f492SMaxime Ripard "PF4", "PF5"; 687a3e8f492SMaxime Ripard function = "mmc0"; 688a3e8f492SMaxime Ripard drive-strength = <30>; 689a3e8f492SMaxime Ripard bias-pull-up; 690a3e8f492SMaxime Ripard }; 691a3e8f492SMaxime Ripard 692a3e8f492SMaxime Ripard mmc1_pins: mmc1-pins { 693a3e8f492SMaxime Ripard pins = "PG0", "PG1", "PG2", "PG3", 694a3e8f492SMaxime Ripard "PG4", "PG5"; 695a3e8f492SMaxime Ripard function = "mmc1"; 696a3e8f492SMaxime Ripard drive-strength = <30>; 697a3e8f492SMaxime Ripard bias-pull-up; 698a3e8f492SMaxime Ripard }; 699a3e8f492SMaxime Ripard 700a3e8f492SMaxime Ripard mmc2_pins: mmc2-pins { 701fa59dd2eSChen-Yu Tsai pins = "PC5", "PC6", "PC8", "PC9", 702a3e8f492SMaxime Ripard "PC10","PC11", "PC12", "PC13", 703a3e8f492SMaxime Ripard "PC14", "PC15", "PC16"; 704a3e8f492SMaxime Ripard function = "mmc2"; 705a3e8f492SMaxime Ripard drive-strength = <30>; 706a3e8f492SMaxime Ripard bias-pull-up; 707a3e8f492SMaxime Ripard }; 708a3e8f492SMaxime Ripard 709fa59dd2eSChen-Yu Tsai mmc2_ds_pin: mmc2-ds-pin { 710fa59dd2eSChen-Yu Tsai pins = "PC1"; 711fa59dd2eSChen-Yu Tsai function = "mmc2"; 712fa59dd2eSChen-Yu Tsai drive-strength = <30>; 713fa59dd2eSChen-Yu Tsai bias-pull-up; 714fa59dd2eSChen-Yu Tsai }; 715fa59dd2eSChen-Yu Tsai 71654eac67bSMaxime Ripard pwm_pin: pwm-pin { 717b5df280bSAndre Przywara pins = "PD22"; 718b5df280bSAndre Przywara function = "pwm"; 719b5df280bSAndre Przywara }; 720b5df280bSAndre Przywara 72154eac67bSMaxime Ripard rmii_pins: rmii-pins { 722e53f67e9SCorentin Labbe pins = "PD10", "PD11", "PD13", "PD14", "PD17", 723e53f67e9SCorentin Labbe "PD18", "PD19", "PD20", "PD22", "PD23"; 724e53f67e9SCorentin Labbe function = "emac"; 725e53f67e9SCorentin Labbe drive-strength = <40>; 726e53f67e9SCorentin Labbe }; 727e53f67e9SCorentin Labbe 72854eac67bSMaxime Ripard rgmii_pins: rgmii-pins { 729e53f67e9SCorentin Labbe pins = "PD8", "PD9", "PD10", "PD11", "PD12", 730e53f67e9SCorentin Labbe "PD13", "PD15", "PD16", "PD17", "PD18", 731e53f67e9SCorentin Labbe "PD19", "PD20", "PD21", "PD22", "PD23"; 732e53f67e9SCorentin Labbe function = "emac"; 733e53f67e9SCorentin Labbe drive-strength = <40>; 734e53f67e9SCorentin Labbe }; 735e53f67e9SCorentin Labbe 73654eac67bSMaxime Ripard spdif_tx_pin: spdif-tx-pin { 737b399d2acSMarcus Cooper pins = "PH8"; 738b399d2acSMarcus Cooper function = "spdif"; 739b399d2acSMarcus Cooper }; 740b399d2acSMarcus Cooper 74154eac67bSMaxime Ripard spi0_pins: spi0-pins { 742b518bb15SStefan Brüns pins = "PC0", "PC1", "PC2", "PC3"; 743b518bb15SStefan Brüns function = "spi0"; 744b518bb15SStefan Brüns }; 745b518bb15SStefan Brüns 74654eac67bSMaxime Ripard spi1_pins: spi1-pins { 747b518bb15SStefan Brüns pins = "PD0", "PD1", "PD2", "PD3"; 748b518bb15SStefan Brüns function = "spi1"; 749b518bb15SStefan Brüns }; 750b518bb15SStefan Brüns 751d91ebb95SChen-Yu Tsai uart0_pb_pins: uart0-pb-pins { 7526bc37facSAndre Przywara pins = "PB8", "PB9"; 7536bc37facSAndre Przywara function = "uart0"; 7546bc37facSAndre Przywara }; 755e7ba733dSAndre Przywara 75654eac67bSMaxime Ripard uart1_pins: uart1-pins { 757e7ba733dSAndre Przywara pins = "PG6", "PG7"; 758e7ba733dSAndre Przywara function = "uart1"; 759e7ba733dSAndre Przywara }; 760e7ba733dSAndre Przywara 76154eac67bSMaxime Ripard uart1_rts_cts_pins: uart1-rts-cts-pins { 762e7ba733dSAndre Przywara pins = "PG8", "PG9"; 763e7ba733dSAndre Przywara function = "uart1"; 764e7ba733dSAndre Przywara }; 76579825719SAndreas Färber 76679825719SAndreas Färber uart2_pins: uart2-pins { 76779825719SAndreas Färber pins = "PB0", "PB1"; 76879825719SAndreas Färber function = "uart2"; 76979825719SAndreas Färber }; 7702273aa16SAndreas Färber 7712273aa16SAndreas Färber uart3_pins: uart3-pins { 7722273aa16SAndreas Färber pins = "PD0", "PD1"; 7732273aa16SAndreas Färber function = "uart3"; 7742273aa16SAndreas Färber }; 7752273aa16SAndreas Färber 7762273aa16SAndreas Färber uart4_pins: uart4-pins { 7772273aa16SAndreas Färber pins = "PD2", "PD3"; 7782273aa16SAndreas Färber function = "uart4"; 7792273aa16SAndreas Färber }; 7802273aa16SAndreas Färber 7812273aa16SAndreas Färber uart4_rts_cts_pins: uart4-rts-cts-pins { 7822273aa16SAndreas Färber pins = "PD4", "PD5"; 7832273aa16SAndreas Färber function = "uart4"; 7842273aa16SAndreas Färber }; 7856bc37facSAndre Przywara }; 7866bc37facSAndre Przywara 787b399d2acSMarcus Cooper spdif: spdif@1c21000 { 788b399d2acSMarcus Cooper #sound-dai-cells = <0>; 789b399d2acSMarcus Cooper compatible = "allwinner,sun50i-a64-spdif", 790b399d2acSMarcus Cooper "allwinner,sun8i-h3-spdif"; 791b399d2acSMarcus Cooper reg = <0x01c21000 0x400>; 792b399d2acSMarcus Cooper interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 793b399d2acSMarcus Cooper clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; 794b399d2acSMarcus Cooper resets = <&ccu RST_BUS_SPDIF>; 795b399d2acSMarcus Cooper clock-names = "apb", "spdif"; 796b399d2acSMarcus Cooper dmas = <&dma 2>; 797b399d2acSMarcus Cooper dma-names = "tx"; 798b399d2acSMarcus Cooper pinctrl-names = "default"; 799b399d2acSMarcus Cooper pinctrl-0 = <&spdif_tx_pin>; 800b399d2acSMarcus Cooper status = "disabled"; 801b399d2acSMarcus Cooper }; 802b399d2acSMarcus Cooper 80384204fb6SLuca Weiss lradc: lradc@1c21800 { 80484204fb6SLuca Weiss compatible = "allwinner,sun50i-a64-lradc", 80584204fb6SLuca Weiss "allwinner,sun8i-a83t-r-lradc"; 80684204fb6SLuca Weiss reg = <0x01c21800 0x400>; 80784204fb6SLuca Weiss interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 80884204fb6SLuca Weiss status = "disabled"; 80984204fb6SLuca Weiss }; 81084204fb6SLuca Weiss 8111c92c009SMarcus Cooper i2s0: i2s@1c22000 { 8121c92c009SMarcus Cooper #sound-dai-cells = <0>; 8131c92c009SMarcus Cooper compatible = "allwinner,sun50i-a64-i2s", 8141c92c009SMarcus Cooper "allwinner,sun8i-h3-i2s"; 8151c92c009SMarcus Cooper reg = <0x01c22000 0x400>; 8161c92c009SMarcus Cooper interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 8171c92c009SMarcus Cooper clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; 8181c92c009SMarcus Cooper clock-names = "apb", "mod"; 8191c92c009SMarcus Cooper resets = <&ccu RST_BUS_I2S0>; 8201c92c009SMarcus Cooper dma-names = "rx", "tx"; 8211c92c009SMarcus Cooper dmas = <&dma 3>, <&dma 3>; 8221c92c009SMarcus Cooper status = "disabled"; 8231c92c009SMarcus Cooper }; 8241c92c009SMarcus Cooper 8251c92c009SMarcus Cooper i2s1: i2s@1c22400 { 8261c92c009SMarcus Cooper #sound-dai-cells = <0>; 8271c92c009SMarcus Cooper compatible = "allwinner,sun50i-a64-i2s", 8281c92c009SMarcus Cooper "allwinner,sun8i-h3-i2s"; 8291c92c009SMarcus Cooper reg = <0x01c22400 0x400>; 8301c92c009SMarcus Cooper interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 8311c92c009SMarcus Cooper clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; 8321c92c009SMarcus Cooper clock-names = "apb", "mod"; 8331c92c009SMarcus Cooper resets = <&ccu RST_BUS_I2S1>; 8341c92c009SMarcus Cooper dma-names = "rx", "tx"; 8351c92c009SMarcus Cooper dmas = <&dma 4>, <&dma 4>; 8361c92c009SMarcus Cooper status = "disabled"; 8371c92c009SMarcus Cooper }; 8381c92c009SMarcus Cooper 839ec4a9540SVasily Khoruzhick dai: dai@1c22c00 { 840ec4a9540SVasily Khoruzhick #sound-dai-cells = <0>; 841ec4a9540SVasily Khoruzhick compatible = "allwinner,sun50i-a64-codec-i2s"; 842ec4a9540SVasily Khoruzhick reg = <0x01c22c00 0x200>; 843ec4a9540SVasily Khoruzhick interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 844ec4a9540SVasily Khoruzhick clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; 845ec4a9540SVasily Khoruzhick clock-names = "apb", "mod"; 846ec4a9540SVasily Khoruzhick resets = <&ccu RST_BUS_CODEC>; 847ec4a9540SVasily Khoruzhick dmas = <&dma 15>, <&dma 15>; 848ec4a9540SVasily Khoruzhick dma-names = "rx", "tx"; 849ec4a9540SVasily Khoruzhick status = "disabled"; 850ec4a9540SVasily Khoruzhick }; 851ec4a9540SVasily Khoruzhick 852ec4a9540SVasily Khoruzhick codec: codec@1c22e00 { 853ec4a9540SVasily Khoruzhick #sound-dai-cells = <0>; 854ec4a9540SVasily Khoruzhick compatible = "allwinner,sun8i-a33-codec"; 855ec4a9540SVasily Khoruzhick reg = <0x01c22e00 0x600>; 856ec4a9540SVasily Khoruzhick interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 857ec4a9540SVasily Khoruzhick clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; 858ec4a9540SVasily Khoruzhick clock-names = "bus", "mod"; 859ec4a9540SVasily Khoruzhick status = "disabled"; 860ec4a9540SVasily Khoruzhick }; 861ec4a9540SVasily Khoruzhick 86259f5e9b9SVasily Khoruzhick ths: thermal-sensor@1c25000 { 86359f5e9b9SVasily Khoruzhick compatible = "allwinner,sun50i-a64-ths"; 86459f5e9b9SVasily Khoruzhick reg = <0x01c25000 0x100>; 86559f5e9b9SVasily Khoruzhick clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; 86659f5e9b9SVasily Khoruzhick clock-names = "bus", "mod"; 86759f5e9b9SVasily Khoruzhick interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 86859f5e9b9SVasily Khoruzhick resets = <&ccu RST_BUS_THS>; 86959f5e9b9SVasily Khoruzhick nvmem-cells = <&ths_calibration>; 87059f5e9b9SVasily Khoruzhick nvmem-cell-names = "calibration"; 87159f5e9b9SVasily Khoruzhick #thermal-sensor-cells = <1>; 87259f5e9b9SVasily Khoruzhick }; 87359f5e9b9SVasily Khoruzhick 8746bc37facSAndre Przywara uart0: serial@1c28000 { 8756bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 8766bc37facSAndre Przywara reg = <0x01c28000 0x400>; 8776bc37facSAndre Przywara interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 8786bc37facSAndre Przywara reg-shift = <2>; 8796bc37facSAndre Przywara reg-io-width = <4>; 880494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART0>; 881494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART0>; 8826bc37facSAndre Przywara status = "disabled"; 8836bc37facSAndre Przywara }; 8846bc37facSAndre Przywara 8856bc37facSAndre Przywara uart1: serial@1c28400 { 8866bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 8876bc37facSAndre Przywara reg = <0x01c28400 0x400>; 8886bc37facSAndre Przywara interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 8896bc37facSAndre Przywara reg-shift = <2>; 8906bc37facSAndre Przywara reg-io-width = <4>; 891494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART1>; 892494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART1>; 8936bc37facSAndre Przywara status = "disabled"; 8946bc37facSAndre Przywara }; 8956bc37facSAndre Przywara 8966bc37facSAndre Przywara uart2: serial@1c28800 { 8976bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 8986bc37facSAndre Przywara reg = <0x01c28800 0x400>; 8996bc37facSAndre Przywara interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 9006bc37facSAndre Przywara reg-shift = <2>; 9016bc37facSAndre Przywara reg-io-width = <4>; 902494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART2>; 903494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART2>; 9046bc37facSAndre Przywara status = "disabled"; 9056bc37facSAndre Przywara }; 9066bc37facSAndre Przywara 9076bc37facSAndre Przywara uart3: serial@1c28c00 { 9086bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 9096bc37facSAndre Przywara reg = <0x01c28c00 0x400>; 9106bc37facSAndre Przywara interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 9116bc37facSAndre Przywara reg-shift = <2>; 9126bc37facSAndre Przywara reg-io-width = <4>; 913494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART3>; 914494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART3>; 9156bc37facSAndre Przywara status = "disabled"; 9166bc37facSAndre Przywara }; 9176bc37facSAndre Przywara 9186bc37facSAndre Przywara uart4: serial@1c29000 { 9196bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 9206bc37facSAndre Przywara reg = <0x01c29000 0x400>; 9216bc37facSAndre Przywara interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 9226bc37facSAndre Przywara reg-shift = <2>; 9236bc37facSAndre Przywara reg-io-width = <4>; 924494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART4>; 925494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART4>; 9266bc37facSAndre Przywara status = "disabled"; 9276bc37facSAndre Przywara }; 9286bc37facSAndre Przywara 9296bc37facSAndre Przywara i2c0: i2c@1c2ac00 { 9306bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 9316bc37facSAndre Przywara reg = <0x01c2ac00 0x400>; 9326bc37facSAndre Przywara interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 933494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C0>; 934494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C0>; 93570f76289SJagan Teki pinctrl-names = "default"; 93670f76289SJagan Teki pinctrl-0 = <&i2c0_pins>; 9376bc37facSAndre Przywara status = "disabled"; 9386bc37facSAndre Przywara #address-cells = <1>; 9396bc37facSAndre Przywara #size-cells = <0>; 9406bc37facSAndre Przywara }; 9416bc37facSAndre Przywara 9426bc37facSAndre Przywara i2c1: i2c@1c2b000 { 9436bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 9446bc37facSAndre Przywara reg = <0x01c2b000 0x400>; 9456bc37facSAndre Przywara interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 946494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C1>; 947494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C1>; 94870f76289SJagan Teki pinctrl-names = "default"; 94970f76289SJagan Teki pinctrl-0 = <&i2c1_pins>; 9506bc37facSAndre Przywara status = "disabled"; 9516bc37facSAndre Przywara #address-cells = <1>; 9526bc37facSAndre Przywara #size-cells = <0>; 9536bc37facSAndre Przywara }; 9546bc37facSAndre Przywara 9556bc37facSAndre Przywara i2c2: i2c@1c2b400 { 9566bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 9576bc37facSAndre Przywara reg = <0x01c2b400 0x400>; 9586bc37facSAndre Przywara interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 959494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C2>; 960494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C2>; 9616bc37facSAndre Przywara status = "disabled"; 9626bc37facSAndre Przywara #address-cells = <1>; 9636bc37facSAndre Przywara #size-cells = <0>; 9646bc37facSAndre Przywara }; 9656bc37facSAndre Przywara 966b518bb15SStefan Brüns 967d6c9da12SCorentin LABBE spi0: spi@1c68000 { 968b518bb15SStefan Brüns compatible = "allwinner,sun8i-h3-spi"; 969b518bb15SStefan Brüns reg = <0x01c68000 0x1000>; 970b518bb15SStefan Brüns interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 971b518bb15SStefan Brüns clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; 972b518bb15SStefan Brüns clock-names = "ahb", "mod"; 97306c1258aSStefan Brüns dmas = <&dma 23>, <&dma 23>; 97406c1258aSStefan Brüns dma-names = "rx", "tx"; 975b518bb15SStefan Brüns pinctrl-names = "default"; 976b518bb15SStefan Brüns pinctrl-0 = <&spi0_pins>; 977b518bb15SStefan Brüns resets = <&ccu RST_BUS_SPI0>; 978b518bb15SStefan Brüns status = "disabled"; 979b518bb15SStefan Brüns num-cs = <1>; 980b518bb15SStefan Brüns #address-cells = <1>; 981b518bb15SStefan Brüns #size-cells = <0>; 982b518bb15SStefan Brüns }; 983b518bb15SStefan Brüns 984d6c9da12SCorentin LABBE spi1: spi@1c69000 { 985b518bb15SStefan Brüns compatible = "allwinner,sun8i-h3-spi"; 986b518bb15SStefan Brüns reg = <0x01c69000 0x1000>; 987b518bb15SStefan Brüns interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; 988b518bb15SStefan Brüns clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; 989b518bb15SStefan Brüns clock-names = "ahb", "mod"; 99006c1258aSStefan Brüns dmas = <&dma 24>, <&dma 24>; 99106c1258aSStefan Brüns dma-names = "rx", "tx"; 992b518bb15SStefan Brüns pinctrl-names = "default"; 993b518bb15SStefan Brüns pinctrl-0 = <&spi1_pins>; 994b518bb15SStefan Brüns resets = <&ccu RST_BUS_SPI1>; 995b518bb15SStefan Brüns status = "disabled"; 996b518bb15SStefan Brüns num-cs = <1>; 997b518bb15SStefan Brüns #address-cells = <1>; 998b518bb15SStefan Brüns #size-cells = <0>; 999b518bb15SStefan Brüns }; 1000b518bb15SStefan Brüns 100194f44288SCorentin Labbe emac: ethernet@1c30000 { 100294f44288SCorentin Labbe compatible = "allwinner,sun50i-a64-emac"; 100394f44288SCorentin Labbe syscon = <&syscon>; 100494f44288SCorentin Labbe reg = <0x01c30000 0x10000>; 100594f44288SCorentin Labbe interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 100694f44288SCorentin Labbe interrupt-names = "macirq"; 100794f44288SCorentin Labbe resets = <&ccu RST_BUS_EMAC>; 100894f44288SCorentin Labbe reset-names = "stmmaceth"; 100994f44288SCorentin Labbe clocks = <&ccu CLK_BUS_EMAC>; 101094f44288SCorentin Labbe clock-names = "stmmaceth"; 101194f44288SCorentin Labbe status = "disabled"; 101294f44288SCorentin Labbe 101394f44288SCorentin Labbe mdio: mdio { 101416416084SCorentin Labbe compatible = "snps,dwmac-mdio"; 101594f44288SCorentin Labbe #address-cells = <1>; 101694f44288SCorentin Labbe #size-cells = <0>; 101794f44288SCorentin Labbe }; 101894f44288SCorentin Labbe }; 101994f44288SCorentin Labbe 10206b683d76SJagan Teki mali: gpu@1c40000 { 10216b683d76SJagan Teki compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; 10226b683d76SJagan Teki reg = <0x01c40000 0x10000>; 10236b683d76SJagan Teki interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 10246b683d76SJagan Teki <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 10256b683d76SJagan Teki <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 10266b683d76SJagan Teki <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 10276b683d76SJagan Teki <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 10286b683d76SJagan Teki <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 10296b683d76SJagan Teki <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 10306b683d76SJagan Teki interrupt-names = "gp", 10316b683d76SJagan Teki "gpmmu", 10326b683d76SJagan Teki "pp0", 10336b683d76SJagan Teki "ppmmu0", 10346b683d76SJagan Teki "pp1", 10356b683d76SJagan Teki "ppmmu1", 10366b683d76SJagan Teki "pmu"; 10376b683d76SJagan Teki clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; 10386b683d76SJagan Teki clock-names = "bus", "core"; 10396b683d76SJagan Teki resets = <&ccu RST_BUS_GPU>; 10406b683d76SJagan Teki }; 10416b683d76SJagan Teki 10426bc37facSAndre Przywara gic: interrupt-controller@1c81000 { 10436bc37facSAndre Przywara compatible = "arm,gic-400"; 10446bc37facSAndre Przywara reg = <0x01c81000 0x1000>, 10456bc37facSAndre Przywara <0x01c82000 0x2000>, 10466bc37facSAndre Przywara <0x01c84000 0x2000>, 10476bc37facSAndre Przywara <0x01c86000 0x2000>; 10486bc37facSAndre Przywara interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 10496bc37facSAndre Przywara interrupt-controller; 10506bc37facSAndre Przywara #interrupt-cells = <3>; 10516bc37facSAndre Przywara }; 10526bc37facSAndre Przywara 1053b5df280bSAndre Przywara pwm: pwm@1c21400 { 1054b5df280bSAndre Przywara compatible = "allwinner,sun50i-a64-pwm", 1055b5df280bSAndre Przywara "allwinner,sun5i-a13-pwm"; 1056b5df280bSAndre Przywara reg = <0x01c21400 0x400>; 1057b5df280bSAndre Przywara clocks = <&osc24M>; 1058b5df280bSAndre Przywara pinctrl-names = "default"; 1059b5df280bSAndre Przywara pinctrl-0 = <&pwm_pin>; 1060b5df280bSAndre Przywara #pwm-cells = <3>; 1061b5df280bSAndre Przywara status = "disabled"; 1062b5df280bSAndre Przywara }; 1063b5df280bSAndre Przywara 1064ff29f13eSJagan Teki csi: csi@1cb0000 { 1065ff29f13eSJagan Teki compatible = "allwinner,sun50i-a64-csi"; 1066ff29f13eSJagan Teki reg = <0x01cb0000 0x1000>; 1067ff29f13eSJagan Teki interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 1068ff29f13eSJagan Teki clocks = <&ccu CLK_BUS_CSI>, 1069ff29f13eSJagan Teki <&ccu CLK_CSI_SCLK>, 1070ff29f13eSJagan Teki <&ccu CLK_DRAM_CSI>; 1071ff29f13eSJagan Teki clock-names = "bus", "mod", "ram"; 1072ff29f13eSJagan Teki resets = <&ccu RST_BUS_CSI>; 1073ff29f13eSJagan Teki pinctrl-names = "default"; 1074ff29f13eSJagan Teki pinctrl-0 = <&csi_pins>; 1075ff29f13eSJagan Teki status = "disabled"; 1076ff29f13eSJagan Teki }; 1077ff29f13eSJagan Teki 107816c8ff57SJagan Teki dsi: dsi@1ca0000 { 107916c8ff57SJagan Teki compatible = "allwinner,sun50i-a64-mipi-dsi"; 108016c8ff57SJagan Teki reg = <0x01ca0000 0x1000>; 108116c8ff57SJagan Teki interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 108216c8ff57SJagan Teki clocks = <&ccu CLK_BUS_MIPI_DSI>; 108316c8ff57SJagan Teki resets = <&ccu RST_BUS_MIPI_DSI>; 108416c8ff57SJagan Teki phys = <&dphy>; 108516c8ff57SJagan Teki phy-names = "dphy"; 108616c8ff57SJagan Teki status = "disabled"; 108716c8ff57SJagan Teki #address-cells = <1>; 108816c8ff57SJagan Teki #size-cells = <0>; 108916c8ff57SJagan Teki 109016c8ff57SJagan Teki port { 109116c8ff57SJagan Teki dsi_in_tcon0: endpoint { 109216c8ff57SJagan Teki remote-endpoint = <&tcon0_out_dsi>; 109316c8ff57SJagan Teki }; 109416c8ff57SJagan Teki }; 109516c8ff57SJagan Teki }; 109616c8ff57SJagan Teki 109716c8ff57SJagan Teki dphy: d-phy@1ca1000 { 109816c8ff57SJagan Teki compatible = "allwinner,sun50i-a64-mipi-dphy", 109916c8ff57SJagan Teki "allwinner,sun6i-a31-mipi-dphy"; 110016c8ff57SJagan Teki reg = <0x01ca1000 0x1000>; 110116c8ff57SJagan Teki clocks = <&ccu CLK_BUS_MIPI_DSI>, 110216c8ff57SJagan Teki <&ccu CLK_DSI_DPHY>; 110316c8ff57SJagan Teki clock-names = "bus", "mod"; 110416c8ff57SJagan Teki resets = <&ccu RST_BUS_MIPI_DSI>; 110516c8ff57SJagan Teki status = "disabled"; 110616c8ff57SJagan Teki #phy-cells = <0>; 110716c8ff57SJagan Teki }; 110816c8ff57SJagan Teki 1109e85f28e0SJagan Teki hdmi: hdmi@1ee0000 { 1110e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-dw-hdmi", 1111e85f28e0SJagan Teki "allwinner,sun8i-a83t-dw-hdmi"; 1112e85f28e0SJagan Teki reg = <0x01ee0000 0x10000>; 1113e85f28e0SJagan Teki reg-io-width = <1>; 1114e85f28e0SJagan Teki interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1115e85f28e0SJagan Teki clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, 1116e85f28e0SJagan Teki <&ccu CLK_HDMI>; 1117e85f28e0SJagan Teki clock-names = "iahb", "isfr", "tmds"; 1118e85f28e0SJagan Teki resets = <&ccu RST_BUS_HDMI1>; 1119e85f28e0SJagan Teki reset-names = "ctrl"; 1120e85f28e0SJagan Teki phys = <&hdmi_phy>; 1121d40113fbSMaxime Ripard phy-names = "phy"; 1122e85f28e0SJagan Teki status = "disabled"; 1123e85f28e0SJagan Teki 1124e85f28e0SJagan Teki ports { 1125e85f28e0SJagan Teki #address-cells = <1>; 1126e85f28e0SJagan Teki #size-cells = <0>; 1127e85f28e0SJagan Teki 1128e85f28e0SJagan Teki hdmi_in: port@0 { 1129e85f28e0SJagan Teki reg = <0>; 1130e85f28e0SJagan Teki 1131e85f28e0SJagan Teki hdmi_in_tcon1: endpoint { 1132e85f28e0SJagan Teki remote-endpoint = <&tcon1_out_hdmi>; 1133e85f28e0SJagan Teki }; 1134e85f28e0SJagan Teki }; 1135e85f28e0SJagan Teki 1136e85f28e0SJagan Teki hdmi_out: port@1 { 1137e85f28e0SJagan Teki reg = <1>; 1138e85f28e0SJagan Teki }; 1139e85f28e0SJagan Teki }; 1140e85f28e0SJagan Teki }; 1141e85f28e0SJagan Teki 1142e85f28e0SJagan Teki hdmi_phy: hdmi-phy@1ef0000 { 1143e85f28e0SJagan Teki compatible = "allwinner,sun50i-a64-hdmi-phy"; 1144e85f28e0SJagan Teki reg = <0x01ef0000 0x10000>; 1145e85f28e0SJagan Teki clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, 1146b71818cbSChen-Yu Tsai <&ccu CLK_PLL_VIDEO0>; 1147e85f28e0SJagan Teki clock-names = "bus", "mod", "pll-0"; 1148e85f28e0SJagan Teki resets = <&ccu RST_BUS_HDMI0>; 1149e85f28e0SJagan Teki reset-names = "phy"; 1150e85f28e0SJagan Teki #phy-cells = <0>; 1151e85f28e0SJagan Teki }; 1152e85f28e0SJagan Teki 11536bc37facSAndre Przywara rtc: rtc@1f00000 { 115444ff3cafSChen-Yu Tsai compatible = "allwinner,sun50i-a64-rtc", 115544ff3cafSChen-Yu Tsai "allwinner,sun8i-h3-rtc"; 115644ff3cafSChen-Yu Tsai reg = <0x01f00000 0x400>; 11576bc37facSAndre Przywara interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 11586bc37facSAndre Przywara <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 115944ff3cafSChen-Yu Tsai clock-output-names = "osc32k", "osc32k-out", "iosc"; 1160e1a9a474SJagan Teki clocks = <&osc32k>; 1161e1a9a474SJagan Teki #clock-cells = <1>; 11626bc37facSAndre Przywara }; 1163791a9e00SIcenowy Zheng 1164535ca508SIcenowy Zheng r_intc: interrupt-controller@1f00c00 { 1165535ca508SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-intc", 1166535ca508SIcenowy Zheng "allwinner,sun6i-a31-r-intc"; 1167535ca508SIcenowy Zheng interrupt-controller; 1168535ca508SIcenowy Zheng #interrupt-cells = <2>; 1169535ca508SIcenowy Zheng reg = <0x01f00c00 0x400>; 1170535ca508SIcenowy Zheng interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 1171535ca508SIcenowy Zheng }; 1172535ca508SIcenowy Zheng 1173791a9e00SIcenowy Zheng r_ccu: clock@1f01400 { 1174791a9e00SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-ccu"; 1175791a9e00SIcenowy Zheng reg = <0x01f01400 0x100>; 1176b71818cbSChen-Yu Tsai clocks = <&osc24M>, <&rtc 0>, <&rtc 2>, 1177b71818cbSChen-Yu Tsai <&ccu CLK_PLL_PERIPH0>; 1178f74994a9SChen-Yu Tsai clock-names = "hosc", "losc", "iosc", "pll-periph"; 1179791a9e00SIcenowy Zheng #clock-cells = <1>; 1180791a9e00SIcenowy Zheng #reset-cells = <1>; 1181791a9e00SIcenowy Zheng }; 1182ec427905SIcenowy Zheng 1183ec4a9540SVasily Khoruzhick codec_analog: codec-analog@1f015c0 { 1184ec4a9540SVasily Khoruzhick compatible = "allwinner,sun50i-a64-codec-analog"; 1185ec4a9540SVasily Khoruzhick reg = <0x01f015c0 0x4>; 1186ec4a9540SVasily Khoruzhick status = "disabled"; 1187ec4a9540SVasily Khoruzhick }; 1188ec4a9540SVasily Khoruzhick 1189871b5352SIcenowy Zheng r_i2c: i2c@1f02400 { 1190871b5352SIcenowy Zheng compatible = "allwinner,sun50i-a64-i2c", 1191871b5352SIcenowy Zheng "allwinner,sun6i-a31-i2c"; 1192871b5352SIcenowy Zheng reg = <0x01f02400 0x400>; 1193871b5352SIcenowy Zheng interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 1194871b5352SIcenowy Zheng clocks = <&r_ccu CLK_APB0_I2C>; 1195871b5352SIcenowy Zheng resets = <&r_ccu RST_APB0_I2C>; 1196871b5352SIcenowy Zheng status = "disabled"; 1197871b5352SIcenowy Zheng #address-cells = <1>; 1198871b5352SIcenowy Zheng #size-cells = <0>; 1199871b5352SIcenowy Zheng }; 1200871b5352SIcenowy Zheng 120144a4f416SIgors Makejevs r_ir: ir@1f02000 { 120244a4f416SIgors Makejevs compatible = "allwinner,sun50i-a64-ir", 120344a4f416SIgors Makejevs "allwinner,sun6i-a31-ir"; 120444a4f416SIgors Makejevs reg = <0x01f02000 0x400>; 120544a4f416SIgors Makejevs clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; 120644a4f416SIgors Makejevs clock-names = "apb", "ir"; 120744a4f416SIgors Makejevs resets = <&r_ccu RST_APB0_IR>; 120844a4f416SIgors Makejevs interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 120944a4f416SIgors Makejevs pinctrl-names = "default"; 121044a4f416SIgors Makejevs pinctrl-0 = <&r_ir_rx_pin>; 121144a4f416SIgors Makejevs status = "disabled"; 121244a4f416SIgors Makejevs }; 121344a4f416SIgors Makejevs 1214b5df280bSAndre Przywara r_pwm: pwm@1f03800 { 1215b5df280bSAndre Przywara compatible = "allwinner,sun50i-a64-pwm", 1216b5df280bSAndre Przywara "allwinner,sun5i-a13-pwm"; 1217b5df280bSAndre Przywara reg = <0x01f03800 0x400>; 1218b5df280bSAndre Przywara clocks = <&osc24M>; 1219b5df280bSAndre Przywara pinctrl-names = "default"; 1220b5df280bSAndre Przywara pinctrl-0 = <&r_pwm_pin>; 1221b5df280bSAndre Przywara #pwm-cells = <3>; 1222b5df280bSAndre Przywara status = "disabled"; 1223b5df280bSAndre Przywara }; 1224b5df280bSAndre Przywara 1225d6c9da12SCorentin LABBE r_pio: pinctrl@1f02c00 { 1226ec427905SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-pinctrl"; 1227ec427905SIcenowy Zheng reg = <0x01f02c00 0x400>; 1228ec427905SIcenowy Zheng interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 1229494d8a2cSChen-Yu Tsai clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>; 1230ec427905SIcenowy Zheng clock-names = "apb", "hosc", "losc"; 1231ec427905SIcenowy Zheng gpio-controller; 1232ec427905SIcenowy Zheng #gpio-cells = <3>; 1233ec427905SIcenowy Zheng interrupt-controller; 1234ec427905SIcenowy Zheng #interrupt-cells = <3>; 12353b38fdedSIcenowy Zheng 12361b6ff1cbSChen-Yu Tsai r_i2c_pl89_pins: r-i2c-pl89-pins { 1237871b5352SIcenowy Zheng pins = "PL8", "PL9"; 1238871b5352SIcenowy Zheng function = "s_i2c"; 1239871b5352SIcenowy Zheng }; 1240871b5352SIcenowy Zheng 124144a4f416SIgors Makejevs r_ir_rx_pin: r-ir-rx-pin { 124244a4f416SIgors Makejevs pins = "PL11"; 124344a4f416SIgors Makejevs function = "s_cir_rx"; 124444a4f416SIgors Makejevs }; 124544a4f416SIgors Makejevs 124654eac67bSMaxime Ripard r_pwm_pin: r-pwm-pin { 1247b5df280bSAndre Przywara pins = "PL10"; 1248b5df280bSAndre Przywara function = "s_pwm"; 1249b5df280bSAndre Przywara }; 1250b5df280bSAndre Przywara 125154eac67bSMaxime Ripard r_rsb_pins: r-rsb-pins { 12523b38fdedSIcenowy Zheng pins = "PL0", "PL1"; 12533b38fdedSIcenowy Zheng function = "s_rsb"; 12543b38fdedSIcenowy Zheng }; 12553b38fdedSIcenowy Zheng }; 12563b38fdedSIcenowy Zheng 12573b38fdedSIcenowy Zheng r_rsb: rsb@1f03400 { 12583b38fdedSIcenowy Zheng compatible = "allwinner,sun8i-a23-rsb"; 12593b38fdedSIcenowy Zheng reg = <0x01f03400 0x400>; 12603b38fdedSIcenowy Zheng interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 12613b38fdedSIcenowy Zheng clocks = <&r_ccu 6>; 12623b38fdedSIcenowy Zheng clock-frequency = <3000000>; 12633b38fdedSIcenowy Zheng resets = <&r_ccu 2>; 12643b38fdedSIcenowy Zheng pinctrl-names = "default"; 12653b38fdedSIcenowy Zheng pinctrl-0 = <&r_rsb_pins>; 12663b38fdedSIcenowy Zheng status = "disabled"; 12673b38fdedSIcenowy Zheng #address-cells = <1>; 12683b38fdedSIcenowy Zheng #size-cells = <0>; 1269ec427905SIcenowy Zheng }; 1270d4185043SHarald Geyer 1271d4185043SHarald Geyer wdt0: watchdog@1c20ca0 { 1272d4185043SHarald Geyer compatible = "allwinner,sun50i-a64-wdt", 1273d4185043SHarald Geyer "allwinner,sun6i-a31-wdt"; 1274d4185043SHarald Geyer reg = <0x01c20ca0 0x20>; 1275d4185043SHarald Geyer interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 12769e1975f0SMaxime Ripard clocks = <&osc24M>; 1277d4185043SHarald Geyer }; 12786bc37facSAndre Przywara }; 12796bc37facSAndre Przywara}; 1280