16bc37facSAndre Przywara/* 26bc37facSAndre Przywara * Copyright (C) 2016 ARM Ltd. 36bc37facSAndre Przywara * based on the Allwinner H3 dtsi: 46bc37facSAndre Przywara * Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com> 56bc37facSAndre Przywara * 66bc37facSAndre Przywara * This file is dual-licensed: you can use it either under the terms 76bc37facSAndre Przywara * of the GPL or the X11 license, at your option. Note that this dual 86bc37facSAndre Przywara * licensing only applies to this file, and not this project as a 96bc37facSAndre Przywara * whole. 106bc37facSAndre Przywara * 116bc37facSAndre Przywara * a) This file is free software; you can redistribute it and/or 126bc37facSAndre Przywara * modify it under the terms of the GNU General Public License as 136bc37facSAndre Przywara * published by the Free Software Foundation; either version 2 of the 146bc37facSAndre Przywara * License, or (at your option) any later version. 156bc37facSAndre Przywara * 166bc37facSAndre Przywara * This file is distributed in the hope that it will be useful, 176bc37facSAndre Przywara * but WITHOUT ANY WARRANTY; without even the implied warranty of 186bc37facSAndre Przywara * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 196bc37facSAndre Przywara * GNU General Public License for more details. 206bc37facSAndre Przywara * 216bc37facSAndre Przywara * Or, alternatively, 226bc37facSAndre Przywara * 236bc37facSAndre Przywara * b) Permission is hereby granted, free of charge, to any person 246bc37facSAndre Przywara * obtaining a copy of this software and associated documentation 256bc37facSAndre Przywara * files (the "Software"), to deal in the Software without 266bc37facSAndre Przywara * restriction, including without limitation the rights to use, 276bc37facSAndre Przywara * copy, modify, merge, publish, distribute, sublicense, and/or 286bc37facSAndre Przywara * sell copies of the Software, and to permit persons to whom the 296bc37facSAndre Przywara * Software is furnished to do so, subject to the following 306bc37facSAndre Przywara * conditions: 316bc37facSAndre Przywara * 326bc37facSAndre Przywara * The above copyright notice and this permission notice shall be 336bc37facSAndre Przywara * included in all copies or substantial portions of the Software. 346bc37facSAndre Przywara * 356bc37facSAndre Przywara * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 366bc37facSAndre Przywara * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 376bc37facSAndre Przywara * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 386bc37facSAndre Przywara * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 396bc37facSAndre Przywara * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 406bc37facSAndre Przywara * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 416bc37facSAndre Przywara * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 426bc37facSAndre Przywara * OTHER DEALINGS IN THE SOFTWARE. 436bc37facSAndre Przywara */ 446bc37facSAndre Przywara 45a004ee35SIcenowy Zheng#include <dt-bindings/clock/sun50i-a64-ccu.h> 462c796fc8SIcenowy Zheng#include <dt-bindings/clock/sun8i-de2.h> 47494d8a2cSChen-Yu Tsai#include <dt-bindings/clock/sun8i-r-ccu.h> 486bc37facSAndre Przywara#include <dt-bindings/interrupt-controller/arm-gic.h> 49a004ee35SIcenowy Zheng#include <dt-bindings/reset/sun50i-a64-ccu.h> 502c796fc8SIcenowy Zheng#include <dt-bindings/reset/sun8i-de2.h> 51871b5352SIcenowy Zheng#include <dt-bindings/reset/sun8i-r-ccu.h> 526bc37facSAndre Przywara 536bc37facSAndre Przywara/ { 546bc37facSAndre Przywara interrupt-parent = <&gic>; 556bc37facSAndre Przywara #address-cells = <1>; 566bc37facSAndre Przywara #size-cells = <1>; 576bc37facSAndre Przywara 58c1cff65fSHarald Geyer chosen { 59c1cff65fSHarald Geyer #address-cells = <1>; 60c1cff65fSHarald Geyer #size-cells = <1>; 61c1cff65fSHarald Geyer ranges; 62c1cff65fSHarald Geyer 63c1cff65fSHarald Geyer simplefb_lcd: framebuffer-lcd { 64c1cff65fSHarald Geyer compatible = "allwinner,simple-framebuffer", 65c1cff65fSHarald Geyer "simple-framebuffer"; 66c1cff65fSHarald Geyer allwinner,pipeline = "mixer0-lcd0"; 67c1cff65fSHarald Geyer clocks = <&ccu CLK_TCON0>, 682c796fc8SIcenowy Zheng <&display_clocks CLK_MIXER0>; 69c1cff65fSHarald Geyer status = "disabled"; 70c1cff65fSHarald Geyer }; 71fca63f58SIcenowy Zheng 72fca63f58SIcenowy Zheng simplefb_hdmi: framebuffer-hdmi { 73fca63f58SIcenowy Zheng compatible = "allwinner,simple-framebuffer", 74fca63f58SIcenowy Zheng "simple-framebuffer"; 75fca63f58SIcenowy Zheng allwinner,pipeline = "mixer1-lcd1-hdmi"; 76fca63f58SIcenowy Zheng clocks = <&display_clocks CLK_MIXER1>, 77fca63f58SIcenowy Zheng <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; 78fca63f58SIcenowy Zheng status = "disabled"; 79fca63f58SIcenowy Zheng }; 80c1cff65fSHarald Geyer }; 81c1cff65fSHarald Geyer 826bc37facSAndre Przywara cpus { 836bc37facSAndre Przywara #address-cells = <1>; 846bc37facSAndre Przywara #size-cells = <0>; 856bc37facSAndre Przywara 866bc37facSAndre Przywara cpu0: cpu@0 { 876bc37facSAndre Przywara compatible = "arm,cortex-a53", "arm,armv8"; 886bc37facSAndre Przywara device_type = "cpu"; 896bc37facSAndre Przywara reg = <0>; 906bc37facSAndre Przywara enable-method = "psci"; 916bc37facSAndre Przywara }; 926bc37facSAndre Przywara 936bc37facSAndre Przywara cpu1: cpu@1 { 946bc37facSAndre Przywara compatible = "arm,cortex-a53", "arm,armv8"; 956bc37facSAndre Przywara device_type = "cpu"; 966bc37facSAndre Przywara reg = <1>; 976bc37facSAndre Przywara enable-method = "psci"; 986bc37facSAndre Przywara }; 996bc37facSAndre Przywara 1006bc37facSAndre Przywara cpu2: cpu@2 { 1016bc37facSAndre Przywara compatible = "arm,cortex-a53", "arm,armv8"; 1026bc37facSAndre Przywara device_type = "cpu"; 1036bc37facSAndre Przywara reg = <2>; 1046bc37facSAndre Przywara enable-method = "psci"; 1056bc37facSAndre Przywara }; 1066bc37facSAndre Przywara 1076bc37facSAndre Przywara cpu3: cpu@3 { 1086bc37facSAndre Przywara compatible = "arm,cortex-a53", "arm,armv8"; 1096bc37facSAndre Przywara device_type = "cpu"; 1106bc37facSAndre Przywara reg = <3>; 1116bc37facSAndre Przywara enable-method = "psci"; 1126bc37facSAndre Przywara }; 1136bc37facSAndre Przywara }; 1146bc37facSAndre Przywara 1156bc37facSAndre Przywara osc24M: osc24M_clk { 1166bc37facSAndre Przywara #clock-cells = <0>; 1176bc37facSAndre Przywara compatible = "fixed-clock"; 1186bc37facSAndre Przywara clock-frequency = <24000000>; 1196bc37facSAndre Przywara clock-output-names = "osc24M"; 1206bc37facSAndre Przywara }; 1216bc37facSAndre Przywara 1226bc37facSAndre Przywara osc32k: osc32k_clk { 1236bc37facSAndre Przywara #clock-cells = <0>; 1246bc37facSAndre Przywara compatible = "fixed-clock"; 1256bc37facSAndre Przywara clock-frequency = <32768>; 1266bc37facSAndre Przywara clock-output-names = "osc32k"; 1276bc37facSAndre Przywara }; 1286bc37facSAndre Przywara 129791a9e00SIcenowy Zheng iosc: internal-osc-clk { 130791a9e00SIcenowy Zheng #clock-cells = <0>; 131791a9e00SIcenowy Zheng compatible = "fixed-clock"; 132791a9e00SIcenowy Zheng clock-frequency = <16000000>; 133791a9e00SIcenowy Zheng clock-accuracy = <300000000>; 134791a9e00SIcenowy Zheng clock-output-names = "iosc"; 135791a9e00SIcenowy Zheng }; 136791a9e00SIcenowy Zheng 1376bc37facSAndre Przywara psci { 1386bc37facSAndre Przywara compatible = "arm,psci-0.2"; 1396bc37facSAndre Przywara method = "smc"; 1406bc37facSAndre Przywara }; 1416bc37facSAndre Przywara 14278e07137SMarcus Cooper sound_spdif { 14378e07137SMarcus Cooper compatible = "simple-audio-card"; 14478e07137SMarcus Cooper simple-audio-card,name = "On-board SPDIF"; 14578e07137SMarcus Cooper 14678e07137SMarcus Cooper simple-audio-card,cpu { 14778e07137SMarcus Cooper sound-dai = <&spdif>; 14878e07137SMarcus Cooper }; 14978e07137SMarcus Cooper 15078e07137SMarcus Cooper simple-audio-card,codec { 15178e07137SMarcus Cooper sound-dai = <&spdif_out>; 15278e07137SMarcus Cooper }; 15378e07137SMarcus Cooper }; 15478e07137SMarcus Cooper 15578e07137SMarcus Cooper spdif_out: spdif-out { 15678e07137SMarcus Cooper #sound-dai-cells = <0>; 15778e07137SMarcus Cooper compatible = "linux,spdif-dit"; 15878e07137SMarcus Cooper }; 15978e07137SMarcus Cooper 1606bc37facSAndre Przywara timer { 1616bc37facSAndre Przywara compatible = "arm,armv8-timer"; 1626bc37facSAndre Przywara interrupts = <GIC_PPI 13 1636bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1646bc37facSAndre Przywara <GIC_PPI 14 1656bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1666bc37facSAndre Przywara <GIC_PPI 11 1676bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1686bc37facSAndre Przywara <GIC_PPI 10 1696bc37facSAndre Przywara (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 1706bc37facSAndre Przywara }; 1716bc37facSAndre Przywara 1726bc37facSAndre Przywara soc { 1736bc37facSAndre Przywara compatible = "simple-bus"; 1746bc37facSAndre Przywara #address-cells = <1>; 1756bc37facSAndre Przywara #size-cells = <1>; 1766bc37facSAndre Przywara ranges; 1776bc37facSAndre Przywara 1782c796fc8SIcenowy Zheng de2@1000000 { 1792c796fc8SIcenowy Zheng compatible = "allwinner,sun50i-a64-de2"; 1802c796fc8SIcenowy Zheng reg = <0x1000000 0x400000>; 1812c796fc8SIcenowy Zheng allwinner,sram = <&de2_sram 1>; 1822c796fc8SIcenowy Zheng #address-cells = <1>; 1832c796fc8SIcenowy Zheng #size-cells = <1>; 1842c796fc8SIcenowy Zheng ranges = <0 0x1000000 0x400000>; 1852c796fc8SIcenowy Zheng 1862c796fc8SIcenowy Zheng display_clocks: clock@0 { 1872c796fc8SIcenowy Zheng compatible = "allwinner,sun50i-a64-de2-clk"; 1882c796fc8SIcenowy Zheng reg = <0x0 0x100000>; 1892c796fc8SIcenowy Zheng clocks = <&ccu CLK_DE>, 1902c796fc8SIcenowy Zheng <&ccu CLK_BUS_DE>; 1912c796fc8SIcenowy Zheng clock-names = "mod", 1922c796fc8SIcenowy Zheng "bus"; 1932c796fc8SIcenowy Zheng resets = <&ccu RST_BUS_DE>; 1942c796fc8SIcenowy Zheng #clock-cells = <1>; 1952c796fc8SIcenowy Zheng #reset-cells = <1>; 1962c796fc8SIcenowy Zheng }; 1972c796fc8SIcenowy Zheng }; 1982c796fc8SIcenowy Zheng 19979b95360SCorentin Labbe syscon: syscon@1c00000 { 2001f1f5183SIcenowy Zheng compatible = "allwinner,sun50i-a64-system-control"; 20179b95360SCorentin Labbe reg = <0x01c00000 0x1000>; 2021f1f5183SIcenowy Zheng #address-cells = <1>; 2031f1f5183SIcenowy Zheng #size-cells = <1>; 2041f1f5183SIcenowy Zheng ranges; 2051f1f5183SIcenowy Zheng 2061f1f5183SIcenowy Zheng sram_c: sram@18000 { 2071f1f5183SIcenowy Zheng compatible = "mmio-sram"; 2081f1f5183SIcenowy Zheng reg = <0x00018000 0x28000>; 2091f1f5183SIcenowy Zheng #address-cells = <1>; 2101f1f5183SIcenowy Zheng #size-cells = <1>; 2111f1f5183SIcenowy Zheng ranges = <0 0x00018000 0x28000>; 2121f1f5183SIcenowy Zheng 2131f1f5183SIcenowy Zheng de2_sram: sram-section@0 { 2141f1f5183SIcenowy Zheng compatible = "allwinner,sun50i-a64-sram-c"; 2151f1f5183SIcenowy Zheng reg = <0x0000 0x28000>; 2161f1f5183SIcenowy Zheng }; 2171f1f5183SIcenowy Zheng }; 21879b95360SCorentin Labbe }; 21979b95360SCorentin Labbe 220c32637e0SStefan Brüns dma: dma-controller@1c02000 { 221c32637e0SStefan Brüns compatible = "allwinner,sun50i-a64-dma"; 222c32637e0SStefan Brüns reg = <0x01c02000 0x1000>; 223c32637e0SStefan Brüns interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 224c32637e0SStefan Brüns clocks = <&ccu CLK_BUS_DMA>; 225c32637e0SStefan Brüns dma-channels = <8>; 226c32637e0SStefan Brüns dma-requests = <27>; 227c32637e0SStefan Brüns resets = <&ccu RST_BUS_DMA>; 228c32637e0SStefan Brüns #dma-cells = <1>; 229c32637e0SStefan Brüns }; 230c32637e0SStefan Brüns 231f3dff347SAndre Przywara mmc0: mmc@1c0f000 { 232f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-mmc"; 233f3dff347SAndre Przywara reg = <0x01c0f000 0x1000>; 234f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; 235f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 236f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC0>; 237f3dff347SAndre Przywara reset-names = "ahb"; 238f3dff347SAndre Przywara interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 23922be992fSMaxime Ripard max-frequency = <150000000>; 240f3dff347SAndre Przywara status = "disabled"; 241f3dff347SAndre Przywara #address-cells = <1>; 242f3dff347SAndre Przywara #size-cells = <0>; 243f3dff347SAndre Przywara }; 244f3dff347SAndre Przywara 245f3dff347SAndre Przywara mmc1: mmc@1c10000 { 246f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-mmc"; 247f3dff347SAndre Przywara reg = <0x01c10000 0x1000>; 248f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; 249f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 250f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC1>; 251f3dff347SAndre Przywara reset-names = "ahb"; 252f3dff347SAndre Przywara interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 25322be992fSMaxime Ripard max-frequency = <150000000>; 254f3dff347SAndre Przywara status = "disabled"; 255f3dff347SAndre Przywara #address-cells = <1>; 256f3dff347SAndre Przywara #size-cells = <0>; 257f3dff347SAndre Przywara }; 258f3dff347SAndre Przywara 259f3dff347SAndre Przywara mmc2: mmc@1c11000 { 260f3dff347SAndre Przywara compatible = "allwinner,sun50i-a64-emmc"; 261f3dff347SAndre Przywara reg = <0x01c11000 0x1000>; 262f3dff347SAndre Przywara clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; 263f3dff347SAndre Przywara clock-names = "ahb", "mmc"; 264f3dff347SAndre Przywara resets = <&ccu RST_BUS_MMC2>; 265f3dff347SAndre Przywara reset-names = "ahb"; 266f3dff347SAndre Przywara interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 26722be992fSMaxime Ripard max-frequency = <200000000>; 268f3dff347SAndre Przywara status = "disabled"; 269f3dff347SAndre Przywara #address-cells = <1>; 270f3dff347SAndre Przywara #size-cells = <0>; 271f3dff347SAndre Przywara }; 272f3dff347SAndre Przywara 273*ac947b17SEmmanuel Vadot sid: eeprom@1c14000 { 274*ac947b17SEmmanuel Vadot compatible = "allwinner,sun50i-a64-sid"; 275*ac947b17SEmmanuel Vadot reg = <0x1c14000 0x400>; 276*ac947b17SEmmanuel Vadot }; 277*ac947b17SEmmanuel Vadot 278d6c9da12SCorentin LABBE usb_otg: usb@1c19000 { 279972a3ecdSIcenowy Zheng compatible = "allwinner,sun8i-a33-musb"; 280972a3ecdSIcenowy Zheng reg = <0x01c19000 0x0400>; 281972a3ecdSIcenowy Zheng clocks = <&ccu CLK_BUS_OTG>; 282972a3ecdSIcenowy Zheng resets = <&ccu RST_BUS_OTG>; 283972a3ecdSIcenowy Zheng interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 284972a3ecdSIcenowy Zheng interrupt-names = "mc"; 285972a3ecdSIcenowy Zheng phys = <&usbphy 0>; 286972a3ecdSIcenowy Zheng phy-names = "usb"; 287972a3ecdSIcenowy Zheng extcon = <&usbphy 0>; 288972a3ecdSIcenowy Zheng status = "disabled"; 289972a3ecdSIcenowy Zheng }; 290972a3ecdSIcenowy Zheng 291d6c9da12SCorentin LABBE usbphy: phy@1c19400 { 292a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-usb-phy"; 293a004ee35SIcenowy Zheng reg = <0x01c19400 0x14>, 2940d984797SIcenowy Zheng <0x01c1a800 0x4>, 295a004ee35SIcenowy Zheng <0x01c1b800 0x4>; 296a004ee35SIcenowy Zheng reg-names = "phy_ctrl", 2970d984797SIcenowy Zheng "pmu0", 298a004ee35SIcenowy Zheng "pmu1"; 299a004ee35SIcenowy Zheng clocks = <&ccu CLK_USB_PHY0>, 300a004ee35SIcenowy Zheng <&ccu CLK_USB_PHY1>; 301a004ee35SIcenowy Zheng clock-names = "usb0_phy", 302a004ee35SIcenowy Zheng "usb1_phy"; 303a004ee35SIcenowy Zheng resets = <&ccu RST_USB_PHY0>, 304a004ee35SIcenowy Zheng <&ccu RST_USB_PHY1>; 305a004ee35SIcenowy Zheng reset-names = "usb0_reset", 306a004ee35SIcenowy Zheng "usb1_reset"; 307a004ee35SIcenowy Zheng status = "disabled"; 308a004ee35SIcenowy Zheng #phy-cells = <1>; 309a004ee35SIcenowy Zheng }; 310a004ee35SIcenowy Zheng 311d6c9da12SCorentin LABBE ehci0: usb@1c1a000 { 312dc03a047SIcenowy Zheng compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; 313dc03a047SIcenowy Zheng reg = <0x01c1a000 0x100>; 314dc03a047SIcenowy Zheng interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 315dc03a047SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI0>, 316dc03a047SIcenowy Zheng <&ccu CLK_BUS_EHCI0>, 317dc03a047SIcenowy Zheng <&ccu CLK_USB_OHCI0>; 318dc03a047SIcenowy Zheng resets = <&ccu RST_BUS_OHCI0>, 319dc03a047SIcenowy Zheng <&ccu RST_BUS_EHCI0>; 320dc03a047SIcenowy Zheng status = "disabled"; 321dc03a047SIcenowy Zheng }; 322dc03a047SIcenowy Zheng 323d6c9da12SCorentin LABBE ohci0: usb@1c1a400 { 324dc03a047SIcenowy Zheng compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; 325dc03a047SIcenowy Zheng reg = <0x01c1a400 0x100>; 326dc03a047SIcenowy Zheng interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 327dc03a047SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI0>, 328dc03a047SIcenowy Zheng <&ccu CLK_USB_OHCI0>; 329dc03a047SIcenowy Zheng resets = <&ccu RST_BUS_OHCI0>; 330dc03a047SIcenowy Zheng status = "disabled"; 331dc03a047SIcenowy Zheng }; 332dc03a047SIcenowy Zheng 333d6c9da12SCorentin LABBE ehci1: usb@1c1b000 { 334a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; 335a004ee35SIcenowy Zheng reg = <0x01c1b000 0x100>; 336a004ee35SIcenowy Zheng interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 337a004ee35SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI1>, 338a004ee35SIcenowy Zheng <&ccu CLK_BUS_EHCI1>, 339a004ee35SIcenowy Zheng <&ccu CLK_USB_OHCI1>; 340a004ee35SIcenowy Zheng resets = <&ccu RST_BUS_OHCI1>, 341a004ee35SIcenowy Zheng <&ccu RST_BUS_EHCI1>; 342a004ee35SIcenowy Zheng phys = <&usbphy 1>; 343a004ee35SIcenowy Zheng phy-names = "usb"; 344a004ee35SIcenowy Zheng status = "disabled"; 345a004ee35SIcenowy Zheng }; 346a004ee35SIcenowy Zheng 347d6c9da12SCorentin LABBE ohci1: usb@1c1b400 { 348a004ee35SIcenowy Zheng compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; 349a004ee35SIcenowy Zheng reg = <0x01c1b400 0x100>; 350a004ee35SIcenowy Zheng interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 351a004ee35SIcenowy Zheng clocks = <&ccu CLK_BUS_OHCI1>, 352a004ee35SIcenowy Zheng <&ccu CLK_USB_OHCI1>; 353a004ee35SIcenowy Zheng resets = <&ccu RST_BUS_OHCI1>; 354a004ee35SIcenowy Zheng phys = <&usbphy 1>; 355a004ee35SIcenowy Zheng phy-names = "usb"; 356a004ee35SIcenowy Zheng status = "disabled"; 357a004ee35SIcenowy Zheng }; 358a004ee35SIcenowy Zheng 359d6c9da12SCorentin LABBE ccu: clock@1c20000 { 3606bc37facSAndre Przywara compatible = "allwinner,sun50i-a64-ccu"; 3616bc37facSAndre Przywara reg = <0x01c20000 0x400>; 3626bc37facSAndre Przywara clocks = <&osc24M>, <&osc32k>; 3636bc37facSAndre Przywara clock-names = "hosc", "losc"; 3646bc37facSAndre Przywara #clock-cells = <1>; 3656bc37facSAndre Przywara #reset-cells = <1>; 3666bc37facSAndre Przywara }; 3676bc37facSAndre Przywara 3686bc37facSAndre Przywara pio: pinctrl@1c20800 { 3696bc37facSAndre Przywara compatible = "allwinner,sun50i-a64-pinctrl"; 3706bc37facSAndre Przywara reg = <0x01c20800 0x400>; 3716bc37facSAndre Przywara interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 3726bc37facSAndre Przywara <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 3736bc37facSAndre Przywara <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 374f98121f3SArnd Bergmann clocks = <&ccu 58>; 3756bc37facSAndre Przywara gpio-controller; 3766bc37facSAndre Przywara #gpio-cells = <3>; 3776bc37facSAndre Przywara interrupt-controller; 3786bc37facSAndre Przywara #interrupt-cells = <3>; 3796bc37facSAndre Przywara 38011239fe6SHarald Geyer i2c0_pins: i2c0_pins { 38111239fe6SHarald Geyer pins = "PH0", "PH1"; 38211239fe6SHarald Geyer function = "i2c0"; 38311239fe6SHarald Geyer }; 38411239fe6SHarald Geyer 3856bc37facSAndre Przywara i2c1_pins: i2c1_pins { 3866bc37facSAndre Przywara pins = "PH2", "PH3"; 3876bc37facSAndre Przywara function = "i2c1"; 3886bc37facSAndre Przywara }; 3896bc37facSAndre Przywara 390a3e8f492SMaxime Ripard mmc0_pins: mmc0-pins { 391a3e8f492SMaxime Ripard pins = "PF0", "PF1", "PF2", "PF3", 392a3e8f492SMaxime Ripard "PF4", "PF5"; 393a3e8f492SMaxime Ripard function = "mmc0"; 394a3e8f492SMaxime Ripard drive-strength = <30>; 395a3e8f492SMaxime Ripard bias-pull-up; 396a3e8f492SMaxime Ripard }; 397a3e8f492SMaxime Ripard 398a3e8f492SMaxime Ripard mmc1_pins: mmc1-pins { 399a3e8f492SMaxime Ripard pins = "PG0", "PG1", "PG2", "PG3", 400a3e8f492SMaxime Ripard "PG4", "PG5"; 401a3e8f492SMaxime Ripard function = "mmc1"; 402a3e8f492SMaxime Ripard drive-strength = <30>; 403a3e8f492SMaxime Ripard bias-pull-up; 404a3e8f492SMaxime Ripard }; 405a3e8f492SMaxime Ripard 406a3e8f492SMaxime Ripard mmc2_pins: mmc2-pins { 407a3e8f492SMaxime Ripard pins = "PC1", "PC5", "PC6", "PC8", "PC9", 408a3e8f492SMaxime Ripard "PC10","PC11", "PC12", "PC13", 409a3e8f492SMaxime Ripard "PC14", "PC15", "PC16"; 410a3e8f492SMaxime Ripard function = "mmc2"; 411a3e8f492SMaxime Ripard drive-strength = <30>; 412a3e8f492SMaxime Ripard bias-pull-up; 413a3e8f492SMaxime Ripard }; 414a3e8f492SMaxime Ripard 415b5df280bSAndre Przywara pwm_pin: pwm_pin { 416b5df280bSAndre Przywara pins = "PD22"; 417b5df280bSAndre Przywara function = "pwm"; 418b5df280bSAndre Przywara }; 419b5df280bSAndre Przywara 420e53f67e9SCorentin Labbe rmii_pins: rmii_pins { 421e53f67e9SCorentin Labbe pins = "PD10", "PD11", "PD13", "PD14", "PD17", 422e53f67e9SCorentin Labbe "PD18", "PD19", "PD20", "PD22", "PD23"; 423e53f67e9SCorentin Labbe function = "emac"; 424e53f67e9SCorentin Labbe drive-strength = <40>; 425e53f67e9SCorentin Labbe }; 426e53f67e9SCorentin Labbe 427e53f67e9SCorentin Labbe rgmii_pins: rgmii_pins { 428e53f67e9SCorentin Labbe pins = "PD8", "PD9", "PD10", "PD11", "PD12", 429e53f67e9SCorentin Labbe "PD13", "PD15", "PD16", "PD17", "PD18", 430e53f67e9SCorentin Labbe "PD19", "PD20", "PD21", "PD22", "PD23"; 431e53f67e9SCorentin Labbe function = "emac"; 432e53f67e9SCorentin Labbe drive-strength = <40>; 433e53f67e9SCorentin Labbe }; 434e53f67e9SCorentin Labbe 435b399d2acSMarcus Cooper spdif_tx_pin: spdif { 436b399d2acSMarcus Cooper pins = "PH8"; 437b399d2acSMarcus Cooper function = "spdif"; 438b399d2acSMarcus Cooper }; 439b399d2acSMarcus Cooper 440b518bb15SStefan Brüns spi0_pins: spi0 { 441b518bb15SStefan Brüns pins = "PC0", "PC1", "PC2", "PC3"; 442b518bb15SStefan Brüns function = "spi0"; 443b518bb15SStefan Brüns }; 444b518bb15SStefan Brüns 445b518bb15SStefan Brüns spi1_pins: spi1 { 446b518bb15SStefan Brüns pins = "PD0", "PD1", "PD2", "PD3"; 447b518bb15SStefan Brüns function = "spi1"; 448b518bb15SStefan Brüns }; 449b518bb15SStefan Brüns 45092d378fbSCorentin LABBE uart0_pins_a: uart0 { 4516bc37facSAndre Przywara pins = "PB8", "PB9"; 4526bc37facSAndre Przywara function = "uart0"; 4536bc37facSAndre Przywara }; 454e7ba733dSAndre Przywara 455e7ba733dSAndre Przywara uart1_pins: uart1_pins { 456e7ba733dSAndre Przywara pins = "PG6", "PG7"; 457e7ba733dSAndre Przywara function = "uart1"; 458e7ba733dSAndre Przywara }; 459e7ba733dSAndre Przywara 460e7ba733dSAndre Przywara uart1_rts_cts_pins: uart1_rts_cts_pins { 461e7ba733dSAndre Przywara pins = "PG8", "PG9"; 462e7ba733dSAndre Przywara function = "uart1"; 463e7ba733dSAndre Przywara }; 46479825719SAndreas Färber 46579825719SAndreas Färber uart2_pins: uart2-pins { 46679825719SAndreas Färber pins = "PB0", "PB1"; 46779825719SAndreas Färber function = "uart2"; 46879825719SAndreas Färber }; 4692273aa16SAndreas Färber 4702273aa16SAndreas Färber uart3_pins: uart3-pins { 4712273aa16SAndreas Färber pins = "PD0", "PD1"; 4722273aa16SAndreas Färber function = "uart3"; 4732273aa16SAndreas Färber }; 4742273aa16SAndreas Färber 4752273aa16SAndreas Färber uart4_pins: uart4-pins { 4762273aa16SAndreas Färber pins = "PD2", "PD3"; 4772273aa16SAndreas Färber function = "uart4"; 4782273aa16SAndreas Färber }; 4792273aa16SAndreas Färber 4802273aa16SAndreas Färber uart4_rts_cts_pins: uart4-rts-cts-pins { 4812273aa16SAndreas Färber pins = "PD4", "PD5"; 4822273aa16SAndreas Färber function = "uart4"; 4832273aa16SAndreas Färber }; 4846bc37facSAndre Przywara }; 4856bc37facSAndre Przywara 486b399d2acSMarcus Cooper spdif: spdif@1c21000 { 487b399d2acSMarcus Cooper #sound-dai-cells = <0>; 488b399d2acSMarcus Cooper compatible = "allwinner,sun50i-a64-spdif", 489b399d2acSMarcus Cooper "allwinner,sun8i-h3-spdif"; 490b399d2acSMarcus Cooper reg = <0x01c21000 0x400>; 491b399d2acSMarcus Cooper interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 492b399d2acSMarcus Cooper clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; 493b399d2acSMarcus Cooper resets = <&ccu RST_BUS_SPDIF>; 494b399d2acSMarcus Cooper clock-names = "apb", "spdif"; 495b399d2acSMarcus Cooper dmas = <&dma 2>; 496b399d2acSMarcus Cooper dma-names = "tx"; 497b399d2acSMarcus Cooper pinctrl-names = "default"; 498b399d2acSMarcus Cooper pinctrl-0 = <&spdif_tx_pin>; 499b399d2acSMarcus Cooper status = "disabled"; 500b399d2acSMarcus Cooper }; 501b399d2acSMarcus Cooper 5021c92c009SMarcus Cooper i2s0: i2s@1c22000 { 5031c92c009SMarcus Cooper #sound-dai-cells = <0>; 5041c92c009SMarcus Cooper compatible = "allwinner,sun50i-a64-i2s", 5051c92c009SMarcus Cooper "allwinner,sun8i-h3-i2s"; 5061c92c009SMarcus Cooper reg = <0x01c22000 0x400>; 5071c92c009SMarcus Cooper interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 5081c92c009SMarcus Cooper clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; 5091c92c009SMarcus Cooper clock-names = "apb", "mod"; 5101c92c009SMarcus Cooper resets = <&ccu RST_BUS_I2S0>; 5111c92c009SMarcus Cooper dma-names = "rx", "tx"; 5121c92c009SMarcus Cooper dmas = <&dma 3>, <&dma 3>; 5131c92c009SMarcus Cooper status = "disabled"; 5141c92c009SMarcus Cooper }; 5151c92c009SMarcus Cooper 5161c92c009SMarcus Cooper i2s1: i2s@1c22400 { 5171c92c009SMarcus Cooper #sound-dai-cells = <0>; 5181c92c009SMarcus Cooper compatible = "allwinner,sun50i-a64-i2s", 5191c92c009SMarcus Cooper "allwinner,sun8i-h3-i2s"; 5201c92c009SMarcus Cooper reg = <0x01c22400 0x400>; 5211c92c009SMarcus Cooper interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 5221c92c009SMarcus Cooper clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; 5231c92c009SMarcus Cooper clock-names = "apb", "mod"; 5241c92c009SMarcus Cooper resets = <&ccu RST_BUS_I2S1>; 5251c92c009SMarcus Cooper dma-names = "rx", "tx"; 5261c92c009SMarcus Cooper dmas = <&dma 4>, <&dma 4>; 5271c92c009SMarcus Cooper status = "disabled"; 5281c92c009SMarcus Cooper }; 5291c92c009SMarcus Cooper 5306bc37facSAndre Przywara uart0: serial@1c28000 { 5316bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 5326bc37facSAndre Przywara reg = <0x01c28000 0x400>; 5336bc37facSAndre Przywara interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 5346bc37facSAndre Przywara reg-shift = <2>; 5356bc37facSAndre Przywara reg-io-width = <4>; 536494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART0>; 537494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART0>; 5386bc37facSAndre Przywara status = "disabled"; 5396bc37facSAndre Przywara }; 5406bc37facSAndre Przywara 5416bc37facSAndre Przywara uart1: serial@1c28400 { 5426bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 5436bc37facSAndre Przywara reg = <0x01c28400 0x400>; 5446bc37facSAndre Przywara interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 5456bc37facSAndre Przywara reg-shift = <2>; 5466bc37facSAndre Przywara reg-io-width = <4>; 547494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART1>; 548494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART1>; 5496bc37facSAndre Przywara status = "disabled"; 5506bc37facSAndre Przywara }; 5516bc37facSAndre Przywara 5526bc37facSAndre Przywara uart2: serial@1c28800 { 5536bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 5546bc37facSAndre Przywara reg = <0x01c28800 0x400>; 5556bc37facSAndre Przywara interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 5566bc37facSAndre Przywara reg-shift = <2>; 5576bc37facSAndre Przywara reg-io-width = <4>; 558494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART2>; 559494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART2>; 5606bc37facSAndre Przywara status = "disabled"; 5616bc37facSAndre Przywara }; 5626bc37facSAndre Przywara 5636bc37facSAndre Przywara uart3: serial@1c28c00 { 5646bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 5656bc37facSAndre Przywara reg = <0x01c28c00 0x400>; 5666bc37facSAndre Przywara interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 5676bc37facSAndre Przywara reg-shift = <2>; 5686bc37facSAndre Przywara reg-io-width = <4>; 569494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART3>; 570494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART3>; 5716bc37facSAndre Przywara status = "disabled"; 5726bc37facSAndre Przywara }; 5736bc37facSAndre Przywara 5746bc37facSAndre Przywara uart4: serial@1c29000 { 5756bc37facSAndre Przywara compatible = "snps,dw-apb-uart"; 5766bc37facSAndre Przywara reg = <0x01c29000 0x400>; 5776bc37facSAndre Przywara interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 5786bc37facSAndre Przywara reg-shift = <2>; 5796bc37facSAndre Przywara reg-io-width = <4>; 580494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_UART4>; 581494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_UART4>; 5826bc37facSAndre Przywara status = "disabled"; 5836bc37facSAndre Przywara }; 5846bc37facSAndre Przywara 5856bc37facSAndre Przywara i2c0: i2c@1c2ac00 { 5866bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 5876bc37facSAndre Przywara reg = <0x01c2ac00 0x400>; 5886bc37facSAndre Przywara interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 589494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C0>; 590494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C0>; 5916bc37facSAndre Przywara status = "disabled"; 5926bc37facSAndre Przywara #address-cells = <1>; 5936bc37facSAndre Przywara #size-cells = <0>; 5946bc37facSAndre Przywara }; 5956bc37facSAndre Przywara 5966bc37facSAndre Przywara i2c1: i2c@1c2b000 { 5976bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 5986bc37facSAndre Przywara reg = <0x01c2b000 0x400>; 5996bc37facSAndre Przywara interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 600494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C1>; 601494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C1>; 6026bc37facSAndre Przywara status = "disabled"; 6036bc37facSAndre Przywara #address-cells = <1>; 6046bc37facSAndre Przywara #size-cells = <0>; 6056bc37facSAndre Przywara }; 6066bc37facSAndre Przywara 6076bc37facSAndre Przywara i2c2: i2c@1c2b400 { 6086bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-i2c"; 6096bc37facSAndre Przywara reg = <0x01c2b400 0x400>; 6106bc37facSAndre Przywara interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 611494d8a2cSChen-Yu Tsai clocks = <&ccu CLK_BUS_I2C2>; 612494d8a2cSChen-Yu Tsai resets = <&ccu RST_BUS_I2C2>; 6136bc37facSAndre Przywara status = "disabled"; 6146bc37facSAndre Przywara #address-cells = <1>; 6156bc37facSAndre Przywara #size-cells = <0>; 6166bc37facSAndre Przywara }; 6176bc37facSAndre Przywara 618b518bb15SStefan Brüns 619d6c9da12SCorentin LABBE spi0: spi@1c68000 { 620b518bb15SStefan Brüns compatible = "allwinner,sun8i-h3-spi"; 621b518bb15SStefan Brüns reg = <0x01c68000 0x1000>; 622b518bb15SStefan Brüns interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 623b518bb15SStefan Brüns clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; 624b518bb15SStefan Brüns clock-names = "ahb", "mod"; 62506c1258aSStefan Brüns dmas = <&dma 23>, <&dma 23>; 62606c1258aSStefan Brüns dma-names = "rx", "tx"; 627b518bb15SStefan Brüns pinctrl-names = "default"; 628b518bb15SStefan Brüns pinctrl-0 = <&spi0_pins>; 629b518bb15SStefan Brüns resets = <&ccu RST_BUS_SPI0>; 630b518bb15SStefan Brüns status = "disabled"; 631b518bb15SStefan Brüns num-cs = <1>; 632b518bb15SStefan Brüns #address-cells = <1>; 633b518bb15SStefan Brüns #size-cells = <0>; 634b518bb15SStefan Brüns }; 635b518bb15SStefan Brüns 636d6c9da12SCorentin LABBE spi1: spi@1c69000 { 637b518bb15SStefan Brüns compatible = "allwinner,sun8i-h3-spi"; 638b518bb15SStefan Brüns reg = <0x01c69000 0x1000>; 639b518bb15SStefan Brüns interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; 640b518bb15SStefan Brüns clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; 641b518bb15SStefan Brüns clock-names = "ahb", "mod"; 64206c1258aSStefan Brüns dmas = <&dma 24>, <&dma 24>; 64306c1258aSStefan Brüns dma-names = "rx", "tx"; 644b518bb15SStefan Brüns pinctrl-names = "default"; 645b518bb15SStefan Brüns pinctrl-0 = <&spi1_pins>; 646b518bb15SStefan Brüns resets = <&ccu RST_BUS_SPI1>; 647b518bb15SStefan Brüns status = "disabled"; 648b518bb15SStefan Brüns num-cs = <1>; 649b518bb15SStefan Brüns #address-cells = <1>; 650b518bb15SStefan Brüns #size-cells = <0>; 651b518bb15SStefan Brüns }; 652b518bb15SStefan Brüns 65394f44288SCorentin Labbe emac: ethernet@1c30000 { 65494f44288SCorentin Labbe compatible = "allwinner,sun50i-a64-emac"; 65594f44288SCorentin Labbe syscon = <&syscon>; 65694f44288SCorentin Labbe reg = <0x01c30000 0x10000>; 65794f44288SCorentin Labbe interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 65894f44288SCorentin Labbe interrupt-names = "macirq"; 65994f44288SCorentin Labbe resets = <&ccu RST_BUS_EMAC>; 66094f44288SCorentin Labbe reset-names = "stmmaceth"; 66194f44288SCorentin Labbe clocks = <&ccu CLK_BUS_EMAC>; 66294f44288SCorentin Labbe clock-names = "stmmaceth"; 66394f44288SCorentin Labbe status = "disabled"; 66494f44288SCorentin Labbe 66594f44288SCorentin Labbe mdio: mdio { 66616416084SCorentin Labbe compatible = "snps,dwmac-mdio"; 66794f44288SCorentin Labbe #address-cells = <1>; 66894f44288SCorentin Labbe #size-cells = <0>; 66994f44288SCorentin Labbe }; 67094f44288SCorentin Labbe }; 67194f44288SCorentin Labbe 6726bc37facSAndre Przywara gic: interrupt-controller@1c81000 { 6736bc37facSAndre Przywara compatible = "arm,gic-400"; 6746bc37facSAndre Przywara reg = <0x01c81000 0x1000>, 6756bc37facSAndre Przywara <0x01c82000 0x2000>, 6766bc37facSAndre Przywara <0x01c84000 0x2000>, 6776bc37facSAndre Przywara <0x01c86000 0x2000>; 6786bc37facSAndre Przywara interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 6796bc37facSAndre Przywara interrupt-controller; 6806bc37facSAndre Przywara #interrupt-cells = <3>; 6816bc37facSAndre Przywara }; 6826bc37facSAndre Przywara 683b5df280bSAndre Przywara pwm: pwm@1c21400 { 684b5df280bSAndre Przywara compatible = "allwinner,sun50i-a64-pwm", 685b5df280bSAndre Przywara "allwinner,sun5i-a13-pwm"; 686b5df280bSAndre Przywara reg = <0x01c21400 0x400>; 687b5df280bSAndre Przywara clocks = <&osc24M>; 688b5df280bSAndre Przywara pinctrl-names = "default"; 689b5df280bSAndre Przywara pinctrl-0 = <&pwm_pin>; 690b5df280bSAndre Przywara #pwm-cells = <3>; 691b5df280bSAndre Przywara status = "disabled"; 692b5df280bSAndre Przywara }; 693b5df280bSAndre Przywara 6946bc37facSAndre Przywara rtc: rtc@1f00000 { 6956bc37facSAndre Przywara compatible = "allwinner,sun6i-a31-rtc"; 6966bc37facSAndre Przywara reg = <0x01f00000 0x54>; 6976bc37facSAndre Przywara interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 6986bc37facSAndre Przywara <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 699e1a9a474SJagan Teki clock-output-names = "rtc-osc32k", "rtc-osc32k-out"; 700e1a9a474SJagan Teki clocks = <&osc32k>; 701e1a9a474SJagan Teki #clock-cells = <1>; 7026bc37facSAndre Przywara }; 703791a9e00SIcenowy Zheng 704535ca508SIcenowy Zheng r_intc: interrupt-controller@1f00c00 { 705535ca508SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-intc", 706535ca508SIcenowy Zheng "allwinner,sun6i-a31-r-intc"; 707535ca508SIcenowy Zheng interrupt-controller; 708535ca508SIcenowy Zheng #interrupt-cells = <2>; 709535ca508SIcenowy Zheng reg = <0x01f00c00 0x400>; 710535ca508SIcenowy Zheng interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 711535ca508SIcenowy Zheng }; 712535ca508SIcenowy Zheng 713791a9e00SIcenowy Zheng r_ccu: clock@1f01400 { 714791a9e00SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-ccu"; 715791a9e00SIcenowy Zheng reg = <0x01f01400 0x100>; 716f74994a9SChen-Yu Tsai clocks = <&osc24M>, <&osc32k>, <&iosc>, 717f74994a9SChen-Yu Tsai <&ccu 11>; 718f74994a9SChen-Yu Tsai clock-names = "hosc", "losc", "iosc", "pll-periph"; 719791a9e00SIcenowy Zheng #clock-cells = <1>; 720791a9e00SIcenowy Zheng #reset-cells = <1>; 721791a9e00SIcenowy Zheng }; 722ec427905SIcenowy Zheng 723871b5352SIcenowy Zheng r_i2c: i2c@1f02400 { 724871b5352SIcenowy Zheng compatible = "allwinner,sun50i-a64-i2c", 725871b5352SIcenowy Zheng "allwinner,sun6i-a31-i2c"; 726871b5352SIcenowy Zheng reg = <0x01f02400 0x400>; 727871b5352SIcenowy Zheng interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 728871b5352SIcenowy Zheng clocks = <&r_ccu CLK_APB0_I2C>; 729871b5352SIcenowy Zheng resets = <&r_ccu RST_APB0_I2C>; 730871b5352SIcenowy Zheng status = "disabled"; 731871b5352SIcenowy Zheng #address-cells = <1>; 732871b5352SIcenowy Zheng #size-cells = <0>; 733871b5352SIcenowy Zheng }; 734871b5352SIcenowy Zheng 735b5df280bSAndre Przywara r_pwm: pwm@1f03800 { 736b5df280bSAndre Przywara compatible = "allwinner,sun50i-a64-pwm", 737b5df280bSAndre Przywara "allwinner,sun5i-a13-pwm"; 738b5df280bSAndre Przywara reg = <0x01f03800 0x400>; 739b5df280bSAndre Przywara clocks = <&osc24M>; 740b5df280bSAndre Przywara pinctrl-names = "default"; 741b5df280bSAndre Przywara pinctrl-0 = <&r_pwm_pin>; 742b5df280bSAndre Przywara #pwm-cells = <3>; 743b5df280bSAndre Przywara status = "disabled"; 744b5df280bSAndre Przywara }; 745b5df280bSAndre Przywara 746d6c9da12SCorentin LABBE r_pio: pinctrl@1f02c00 { 747ec427905SIcenowy Zheng compatible = "allwinner,sun50i-a64-r-pinctrl"; 748ec427905SIcenowy Zheng reg = <0x01f02c00 0x400>; 749ec427905SIcenowy Zheng interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 750494d8a2cSChen-Yu Tsai clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>; 751ec427905SIcenowy Zheng clock-names = "apb", "hosc", "losc"; 752ec427905SIcenowy Zheng gpio-controller; 753ec427905SIcenowy Zheng #gpio-cells = <3>; 754ec427905SIcenowy Zheng interrupt-controller; 755ec427905SIcenowy Zheng #interrupt-cells = <3>; 7563b38fdedSIcenowy Zheng 757871b5352SIcenowy Zheng r_i2c_pins_a: i2c-a { 758871b5352SIcenowy Zheng pins = "PL8", "PL9"; 759871b5352SIcenowy Zheng function = "s_i2c"; 760871b5352SIcenowy Zheng }; 761871b5352SIcenowy Zheng 762b5df280bSAndre Przywara r_pwm_pin: pwm { 763b5df280bSAndre Przywara pins = "PL10"; 764b5df280bSAndre Przywara function = "s_pwm"; 765b5df280bSAndre Przywara }; 766b5df280bSAndre Przywara 76792d378fbSCorentin LABBE r_rsb_pins: rsb { 7683b38fdedSIcenowy Zheng pins = "PL0", "PL1"; 7693b38fdedSIcenowy Zheng function = "s_rsb"; 7703b38fdedSIcenowy Zheng }; 7713b38fdedSIcenowy Zheng }; 7723b38fdedSIcenowy Zheng 7733b38fdedSIcenowy Zheng r_rsb: rsb@1f03400 { 7743b38fdedSIcenowy Zheng compatible = "allwinner,sun8i-a23-rsb"; 7753b38fdedSIcenowy Zheng reg = <0x01f03400 0x400>; 7763b38fdedSIcenowy Zheng interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 7773b38fdedSIcenowy Zheng clocks = <&r_ccu 6>; 7783b38fdedSIcenowy Zheng clock-frequency = <3000000>; 7793b38fdedSIcenowy Zheng resets = <&r_ccu 2>; 7803b38fdedSIcenowy Zheng pinctrl-names = "default"; 7813b38fdedSIcenowy Zheng pinctrl-0 = <&r_rsb_pins>; 7823b38fdedSIcenowy Zheng status = "disabled"; 7833b38fdedSIcenowy Zheng #address-cells = <1>; 7843b38fdedSIcenowy Zheng #size-cells = <0>; 785ec427905SIcenowy Zheng }; 786d4185043SHarald Geyer 787d4185043SHarald Geyer wdt0: watchdog@1c20ca0 { 788d4185043SHarald Geyer compatible = "allwinner,sun50i-a64-wdt", 789d4185043SHarald Geyer "allwinner,sun6i-a31-wdt"; 790d4185043SHarald Geyer reg = <0x01c20ca0 0x20>; 791d4185043SHarald Geyer interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 792d4185043SHarald Geyer }; 7936bc37facSAndre Przywara }; 7946bc37facSAndre Przywara}; 795