1724ba675SRob Herring/* 2724ba675SRob Herring * Copyright 2013 Maxime Ripard 3724ba675SRob Herring * 4724ba675SRob Herring * Maxime Ripard <maxime.ripard@free-electrons.com> 5724ba675SRob Herring * 6724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms 7724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual 8724ba675SRob Herring * licensing only applies to this file, and not this project as a 9724ba675SRob Herring * whole. 10724ba675SRob Herring * 11724ba675SRob Herring * a) This file is free software; you can redistribute it and/or 12724ba675SRob Herring * modify it under the terms of the GNU General Public License as 13724ba675SRob Herring * published by the Free Software Foundation; either version 2 of the 14724ba675SRob Herring * License, or (at your option) any later version. 15724ba675SRob Herring * 16724ba675SRob Herring * This file is distributed in the hope that it will be useful, 17724ba675SRob Herring * but WITHOUT ANY WARRANTY; without even the implied warranty of 18724ba675SRob Herring * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19724ba675SRob Herring * GNU General Public License for more details. 20724ba675SRob Herring * 21724ba675SRob Herring * Or, alternatively, 22724ba675SRob Herring * 23724ba675SRob Herring * b) Permission is hereby granted, free of charge, to any person 24724ba675SRob Herring * obtaining a copy of this software and associated documentation 25724ba675SRob Herring * files (the "Software"), to deal in the Software without 26724ba675SRob Herring * restriction, including without limitation the rights to use, 27724ba675SRob Herring * copy, modify, merge, publish, distribute, sublicense, and/or 28724ba675SRob Herring * sell copies of the Software, and to permit persons to whom the 29724ba675SRob Herring * Software is furnished to do so, subject to the following 30724ba675SRob Herring * conditions: 31724ba675SRob Herring * 32724ba675SRob Herring * The above copyright notice and this permission notice shall be 33724ba675SRob Herring * included in all copies or substantial portions of the Software. 34724ba675SRob Herring * 35724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36724ba675SRob Herring * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 37724ba675SRob Herring * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 38724ba675SRob Herring * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 39724ba675SRob Herring * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 40724ba675SRob Herring * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41724ba675SRob Herring * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42724ba675SRob Herring * OTHER DEALINGS IN THE SOFTWARE. 43724ba675SRob Herring */ 44724ba675SRob Herring 45724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 46724ba675SRob Herring#include <dt-bindings/thermal/thermal.h> 47724ba675SRob Herring#include <dt-bindings/dma/sun4i-a10.h> 48724ba675SRob Herring#include <dt-bindings/clock/sun7i-a20-ccu.h> 49724ba675SRob Herring#include <dt-bindings/reset/sun4i-a10-ccu.h> 50724ba675SRob Herring#include <dt-bindings/pinctrl/sun4i-a10.h> 51724ba675SRob Herring 52724ba675SRob Herring/ { 53724ba675SRob Herring interrupt-parent = <&gic>; 54724ba675SRob Herring #address-cells = <1>; 55724ba675SRob Herring #size-cells = <1>; 56724ba675SRob Herring 57724ba675SRob Herring aliases { 58724ba675SRob Herring ethernet0 = &gmac; 59724ba675SRob Herring }; 60724ba675SRob Herring 61724ba675SRob Herring chosen { 62724ba675SRob Herring #address-cells = <1>; 63724ba675SRob Herring #size-cells = <1>; 64724ba675SRob Herring ranges; 65724ba675SRob Herring 66724ba675SRob Herring framebuffer-lcd0-hdmi { 67724ba675SRob Herring compatible = "allwinner,simple-framebuffer", 68724ba675SRob Herring "simple-framebuffer"; 69724ba675SRob Herring allwinner,pipeline = "de_be0-lcd0-hdmi"; 70724ba675SRob Herring clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_HDMI0>, 71724ba675SRob Herring <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_DE_BE0>, 72724ba675SRob Herring <&ccu CLK_TCON0_CH1>, <&ccu CLK_DRAM_DE_BE0>, 73724ba675SRob Herring <&ccu CLK_HDMI>; 74724ba675SRob Herring status = "disabled"; 75724ba675SRob Herring }; 76724ba675SRob Herring 77724ba675SRob Herring framebuffer-lcd0 { 78724ba675SRob Herring compatible = "allwinner,simple-framebuffer", 79724ba675SRob Herring "simple-framebuffer"; 80724ba675SRob Herring allwinner,pipeline = "de_be0-lcd0"; 81724ba675SRob Herring clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_DE_BE0>, 82724ba675SRob Herring <&ccu CLK_DE_BE0>, <&ccu CLK_TCON0_CH0>, 83724ba675SRob Herring <&ccu CLK_DRAM_DE_BE0>; 84724ba675SRob Herring status = "disabled"; 85724ba675SRob Herring }; 86724ba675SRob Herring 87724ba675SRob Herring framebuffer-lcd0-tve0 { 88724ba675SRob Herring compatible = "allwinner,simple-framebuffer", 89724ba675SRob Herring "simple-framebuffer"; 90724ba675SRob Herring allwinner,pipeline = "de_be0-lcd0-tve0"; 91724ba675SRob Herring clocks = <&ccu CLK_AHB_TVE0>, <&ccu CLK_AHB_LCD0>, 92724ba675SRob Herring <&ccu CLK_AHB_DE_BE0>, 93724ba675SRob Herring <&ccu CLK_DE_BE0>, <&ccu CLK_TCON0_CH1>, 94724ba675SRob Herring <&ccu CLK_DRAM_TVE0>, <&ccu CLK_DRAM_DE_BE0>; 95724ba675SRob Herring status = "disabled"; 96724ba675SRob Herring }; 97724ba675SRob Herring }; 98724ba675SRob Herring 99724ba675SRob Herring cpus { 100724ba675SRob Herring #address-cells = <1>; 101724ba675SRob Herring #size-cells = <0>; 102724ba675SRob Herring 103724ba675SRob Herring cpu0: cpu@0 { 104724ba675SRob Herring compatible = "arm,cortex-a7"; 105724ba675SRob Herring device_type = "cpu"; 106724ba675SRob Herring reg = <0>; 107724ba675SRob Herring clocks = <&ccu CLK_CPU>; 108724ba675SRob Herring clock-latency = <244144>; /* 8 32k periods */ 109724ba675SRob Herring operating-points = 110724ba675SRob Herring /* kHz uV */ 111724ba675SRob Herring <960000 1400000>, 112724ba675SRob Herring <912000 1400000>, 113724ba675SRob Herring <864000 1300000>, 114724ba675SRob Herring <720000 1200000>, 115724ba675SRob Herring <528000 1100000>, 116724ba675SRob Herring <312000 1000000>, 117724ba675SRob Herring <144000 1000000>; 118724ba675SRob Herring #cooling-cells = <2>; 119724ba675SRob Herring }; 120724ba675SRob Herring 121724ba675SRob Herring cpu1: cpu@1 { 122724ba675SRob Herring compatible = "arm,cortex-a7"; 123724ba675SRob Herring device_type = "cpu"; 124724ba675SRob Herring reg = <1>; 125724ba675SRob Herring clocks = <&ccu CLK_CPU>; 126724ba675SRob Herring clock-latency = <244144>; /* 8 32k periods */ 127724ba675SRob Herring operating-points = 128724ba675SRob Herring /* kHz uV */ 129724ba675SRob Herring <960000 1400000>, 130724ba675SRob Herring <912000 1400000>, 131724ba675SRob Herring <864000 1300000>, 132724ba675SRob Herring <720000 1200000>, 133724ba675SRob Herring <528000 1100000>, 134724ba675SRob Herring <312000 1000000>, 135724ba675SRob Herring <144000 1000000>; 136724ba675SRob Herring #cooling-cells = <2>; 137724ba675SRob Herring }; 138724ba675SRob Herring }; 139724ba675SRob Herring 140724ba675SRob Herring thermal-zones { 141724ba675SRob Herring cpu-thermal { 142724ba675SRob Herring /* milliseconds */ 143724ba675SRob Herring polling-delay-passive = <250>; 144724ba675SRob Herring polling-delay = <1000>; 145724ba675SRob Herring thermal-sensors = <&rtp>; 146724ba675SRob Herring 147724ba675SRob Herring cooling-maps { 148724ba675SRob Herring map0 { 149724ba675SRob Herring trip = <&cpu_alert0>; 150724ba675SRob Herring cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 151724ba675SRob Herring <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 152724ba675SRob Herring }; 153724ba675SRob Herring }; 154724ba675SRob Herring 155724ba675SRob Herring trips { 156*0f47ef3fSKrzysztof Kozlowski cpu_alert0: cpu-alert0 { 157724ba675SRob Herring /* milliCelsius */ 158724ba675SRob Herring temperature = <75000>; 159724ba675SRob Herring hysteresis = <2000>; 160724ba675SRob Herring type = "passive"; 161724ba675SRob Herring }; 162724ba675SRob Herring 163*0f47ef3fSKrzysztof Kozlowski cpu_crit: cpu-crit { 164724ba675SRob Herring /* milliCelsius */ 165724ba675SRob Herring temperature = <100000>; 166724ba675SRob Herring hysteresis = <2000>; 167724ba675SRob Herring type = "critical"; 168724ba675SRob Herring }; 169724ba675SRob Herring }; 170724ba675SRob Herring }; 171724ba675SRob Herring }; 172724ba675SRob Herring 173724ba675SRob Herring reserved-memory { 174724ba675SRob Herring #address-cells = <1>; 175724ba675SRob Herring #size-cells = <1>; 176724ba675SRob Herring ranges; 177724ba675SRob Herring 178724ba675SRob Herring /* Address must be kept in the lower 256 MiBs of DRAM for VE. */ 179724ba675SRob Herring default-pool { 180724ba675SRob Herring compatible = "shared-dma-pool"; 181724ba675SRob Herring size = <0x6000000>; 182724ba675SRob Herring alloc-ranges = <0x40000000 0x10000000>; 183724ba675SRob Herring reusable; 184724ba675SRob Herring linux,cma-default; 185724ba675SRob Herring }; 186724ba675SRob Herring }; 187724ba675SRob Herring 188724ba675SRob Herring timer { 189724ba675SRob Herring compatible = "arm,armv7-timer"; 190724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 191724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 192724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 193724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 194724ba675SRob Herring }; 195724ba675SRob Herring 196724ba675SRob Herring pmu { 197724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 198724ba675SRob Herring interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 199724ba675SRob Herring <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 200724ba675SRob Herring }; 201724ba675SRob Herring 202724ba675SRob Herring clocks { 203724ba675SRob Herring #address-cells = <1>; 204724ba675SRob Herring #size-cells = <1>; 205724ba675SRob Herring ranges; 206724ba675SRob Herring 207724ba675SRob Herring osc24M: clk-24M { 208724ba675SRob Herring #clock-cells = <0>; 209724ba675SRob Herring compatible = "fixed-clock"; 210724ba675SRob Herring clock-frequency = <24000000>; 211724ba675SRob Herring clock-output-names = "osc24M"; 212724ba675SRob Herring }; 213724ba675SRob Herring 214724ba675SRob Herring osc32k: clk-32k { 215724ba675SRob Herring #clock-cells = <0>; 216724ba675SRob Herring compatible = "fixed-clock"; 217724ba675SRob Herring clock-frequency = <32768>; 218724ba675SRob Herring clock-output-names = "osc32k"; 219724ba675SRob Herring }; 220724ba675SRob Herring 221724ba675SRob Herring /* 222724ba675SRob Herring * The following two are dummy clocks, placeholders 223724ba675SRob Herring * used in the gmac_tx clock. The gmac driver will 224724ba675SRob Herring * choose one parent depending on the PHY interface 225724ba675SRob Herring * mode, using clk_set_rate auto-reparenting. 226724ba675SRob Herring * 227724ba675SRob Herring * The actual TX clock rate is not controlled by the 228724ba675SRob Herring * gmac_tx clock. 229724ba675SRob Herring */ 230724ba675SRob Herring mii_phy_tx_clk: clk-mii-phy-tx { 231724ba675SRob Herring #clock-cells = <0>; 232724ba675SRob Herring compatible = "fixed-clock"; 233724ba675SRob Herring clock-frequency = <25000000>; 234724ba675SRob Herring clock-output-names = "mii_phy_tx"; 235724ba675SRob Herring }; 236724ba675SRob Herring 237724ba675SRob Herring gmac_int_tx_clk: clk-gmac-int-tx { 238724ba675SRob Herring #clock-cells = <0>; 239724ba675SRob Herring compatible = "fixed-clock"; 240724ba675SRob Herring clock-frequency = <125000000>; 241724ba675SRob Herring clock-output-names = "gmac_int_tx"; 242724ba675SRob Herring }; 243724ba675SRob Herring 244724ba675SRob Herring gmac_tx_clk: clk@1c20164 { 245724ba675SRob Herring #clock-cells = <0>; 246724ba675SRob Herring compatible = "allwinner,sun7i-a20-gmac-clk"; 247724ba675SRob Herring reg = <0x01c20164 0x4>; 248724ba675SRob Herring clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>; 249724ba675SRob Herring clock-output-names = "gmac_tx"; 250724ba675SRob Herring }; 251724ba675SRob Herring }; 252724ba675SRob Herring 253724ba675SRob Herring 254724ba675SRob Herring de: display-engine { 255724ba675SRob Herring compatible = "allwinner,sun7i-a20-display-engine"; 256724ba675SRob Herring allwinner,pipelines = <&fe0>, <&fe1>; 257724ba675SRob Herring status = "disabled"; 258724ba675SRob Herring }; 259724ba675SRob Herring 260724ba675SRob Herring soc { 261724ba675SRob Herring compatible = "simple-bus"; 262724ba675SRob Herring #address-cells = <1>; 263724ba675SRob Herring #size-cells = <1>; 264724ba675SRob Herring ranges; 265724ba675SRob Herring 266724ba675SRob Herring system-control@1c00000 { 267724ba675SRob Herring compatible = "allwinner,sun7i-a20-system-control", 268724ba675SRob Herring "allwinner,sun4i-a10-system-control"; 269724ba675SRob Herring reg = <0x01c00000 0x30>; 270724ba675SRob Herring #address-cells = <1>; 271724ba675SRob Herring #size-cells = <1>; 272724ba675SRob Herring ranges; 273724ba675SRob Herring 274724ba675SRob Herring sram_a: sram@0 { 275724ba675SRob Herring compatible = "mmio-sram"; 276724ba675SRob Herring reg = <0x00000000 0xc000>; 277724ba675SRob Herring #address-cells = <1>; 278724ba675SRob Herring #size-cells = <1>; 279724ba675SRob Herring ranges = <0 0x00000000 0xc000>; 280724ba675SRob Herring 281724ba675SRob Herring emac_sram: sram-section@8000 { 282724ba675SRob Herring compatible = "allwinner,sun7i-a20-sram-a3-a4", 283724ba675SRob Herring "allwinner,sun4i-a10-sram-a3-a4"; 284724ba675SRob Herring reg = <0x8000 0x4000>; 285724ba675SRob Herring status = "disabled"; 286724ba675SRob Herring }; 287724ba675SRob Herring }; 288724ba675SRob Herring 289724ba675SRob Herring sram_d: sram@10000 { 290724ba675SRob Herring compatible = "mmio-sram"; 291724ba675SRob Herring reg = <0x00010000 0x1000>; 292724ba675SRob Herring #address-cells = <1>; 293724ba675SRob Herring #size-cells = <1>; 294724ba675SRob Herring ranges = <0 0x00010000 0x1000>; 295724ba675SRob Herring 296724ba675SRob Herring otg_sram: sram-section@0 { 297724ba675SRob Herring compatible = "allwinner,sun7i-a20-sram-d", 298724ba675SRob Herring "allwinner,sun4i-a10-sram-d"; 299724ba675SRob Herring reg = <0x0000 0x1000>; 300724ba675SRob Herring status = "disabled"; 301724ba675SRob Herring }; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring sram_c: sram@1d00000 { 305724ba675SRob Herring compatible = "mmio-sram"; 306724ba675SRob Herring reg = <0x01d00000 0xd0000>; 307724ba675SRob Herring #address-cells = <1>; 308724ba675SRob Herring #size-cells = <1>; 309724ba675SRob Herring ranges = <0 0x01d00000 0xd0000>; 310724ba675SRob Herring 311724ba675SRob Herring ve_sram: sram-section@0 { 312724ba675SRob Herring compatible = "allwinner,sun7i-a20-sram-c1", 313724ba675SRob Herring "allwinner,sun4i-a10-sram-c1"; 314724ba675SRob Herring reg = <0x000000 0x80000>; 315724ba675SRob Herring }; 316724ba675SRob Herring }; 317724ba675SRob Herring }; 318724ba675SRob Herring 319724ba675SRob Herring nmi_intc: interrupt-controller@1c00030 { 320724ba675SRob Herring compatible = "allwinner,sun7i-a20-sc-nmi"; 321724ba675SRob Herring interrupt-controller; 322724ba675SRob Herring #interrupt-cells = <2>; 323724ba675SRob Herring reg = <0x01c00030 0x0c>; 324724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 325724ba675SRob Herring }; 326724ba675SRob Herring 327724ba675SRob Herring dma: dma-controller@1c02000 { 328724ba675SRob Herring compatible = "allwinner,sun4i-a10-dma"; 329724ba675SRob Herring reg = <0x01c02000 0x1000>; 330724ba675SRob Herring interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 331724ba675SRob Herring clocks = <&ccu CLK_AHB_DMA>; 332724ba675SRob Herring #dma-cells = <2>; 333724ba675SRob Herring }; 334724ba675SRob Herring 335724ba675SRob Herring nfc: nand-controller@1c03000 { 336724ba675SRob Herring compatible = "allwinner,sun4i-a10-nand"; 337724ba675SRob Herring reg = <0x01c03000 0x1000>; 338724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 339724ba675SRob Herring clocks = <&ccu CLK_AHB_NAND>, <&ccu CLK_NAND>; 340724ba675SRob Herring clock-names = "ahb", "mod"; 341724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 3>; 342724ba675SRob Herring dma-names = "rxtx"; 343724ba675SRob Herring status = "disabled"; 344724ba675SRob Herring #address-cells = <1>; 345724ba675SRob Herring #size-cells = <0>; 346724ba675SRob Herring }; 347724ba675SRob Herring 348724ba675SRob Herring spi0: spi@1c05000 { 349724ba675SRob Herring compatible = "allwinner,sun4i-a10-spi"; 350724ba675SRob Herring reg = <0x01c05000 0x1000>; 351724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 352724ba675SRob Herring clocks = <&ccu CLK_AHB_SPI0>, <&ccu CLK_SPI0>; 353724ba675SRob Herring clock-names = "ahb", "mod"; 354724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 27>, 355724ba675SRob Herring <&dma SUN4I_DMA_DEDICATED 26>; 356724ba675SRob Herring dma-names = "rx", "tx"; 357724ba675SRob Herring status = "disabled"; 358724ba675SRob Herring #address-cells = <1>; 359724ba675SRob Herring #size-cells = <0>; 360724ba675SRob Herring num-cs = <4>; 361724ba675SRob Herring }; 362724ba675SRob Herring 363724ba675SRob Herring spi1: spi@1c06000 { 364724ba675SRob Herring compatible = "allwinner,sun4i-a10-spi"; 365724ba675SRob Herring reg = <0x01c06000 0x1000>; 366724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 367724ba675SRob Herring clocks = <&ccu CLK_AHB_SPI1>, <&ccu CLK_SPI1>; 368724ba675SRob Herring clock-names = "ahb", "mod"; 369724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 9>, 370724ba675SRob Herring <&dma SUN4I_DMA_DEDICATED 8>; 371724ba675SRob Herring dma-names = "rx", "tx"; 372724ba675SRob Herring status = "disabled"; 373724ba675SRob Herring #address-cells = <1>; 374724ba675SRob Herring #size-cells = <0>; 375724ba675SRob Herring num-cs = <1>; 376724ba675SRob Herring }; 377724ba675SRob Herring 378724ba675SRob Herring csi0: csi@1c09000 { 379724ba675SRob Herring compatible = "allwinner,sun7i-a20-csi0"; 380724ba675SRob Herring reg = <0x01c09000 0x1000>; 381724ba675SRob Herring interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 382724ba675SRob Herring clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>; 383724ba675SRob Herring clock-names = "bus", "isp", "ram"; 384724ba675SRob Herring resets = <&ccu RST_CSI0>; 385724ba675SRob Herring status = "disabled"; 386724ba675SRob Herring }; 387724ba675SRob Herring 388724ba675SRob Herring emac: ethernet@1c0b000 { 389724ba675SRob Herring compatible = "allwinner,sun4i-a10-emac"; 390724ba675SRob Herring reg = <0x01c0b000 0x1000>; 391724ba675SRob Herring interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 392724ba675SRob Herring clocks = <&ccu CLK_AHB_EMAC>; 393724ba675SRob Herring allwinner,sram = <&emac_sram 1>; 394724ba675SRob Herring status = "disabled"; 395724ba675SRob Herring }; 396724ba675SRob Herring 397724ba675SRob Herring mdio: mdio@1c0b080 { 398724ba675SRob Herring compatible = "allwinner,sun4i-a10-mdio"; 399724ba675SRob Herring reg = <0x01c0b080 0x14>; 400724ba675SRob Herring status = "disabled"; 401724ba675SRob Herring #address-cells = <1>; 402724ba675SRob Herring #size-cells = <0>; 403724ba675SRob Herring }; 404724ba675SRob Herring 405724ba675SRob Herring tcon0: lcd-controller@1c0c000 { 406724ba675SRob Herring compatible = "allwinner,sun7i-a20-tcon0", 407724ba675SRob Herring "allwinner,sun7i-a20-tcon"; 408724ba675SRob Herring reg = <0x01c0c000 0x1000>; 409724ba675SRob Herring interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 410724ba675SRob Herring resets = <&ccu RST_TCON0>, <&ccu RST_LVDS>; 411724ba675SRob Herring reset-names = "lcd", "lvds"; 412724ba675SRob Herring clocks = <&ccu CLK_AHB_LCD0>, 413724ba675SRob Herring <&ccu CLK_TCON0_CH0>, 414724ba675SRob Herring <&ccu CLK_TCON0_CH1>; 415724ba675SRob Herring clock-names = "ahb", 416724ba675SRob Herring "tcon-ch0", 417724ba675SRob Herring "tcon-ch1"; 418724ba675SRob Herring clock-output-names = "tcon0-pixel-clock"; 419724ba675SRob Herring #clock-cells = <0>; 420724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 14>; 421724ba675SRob Herring 422724ba675SRob Herring ports { 423724ba675SRob Herring #address-cells = <1>; 424724ba675SRob Herring #size-cells = <0>; 425724ba675SRob Herring 426724ba675SRob Herring tcon0_in: port@0 { 427724ba675SRob Herring #address-cells = <1>; 428724ba675SRob Herring #size-cells = <0>; 429724ba675SRob Herring reg = <0>; 430724ba675SRob Herring 431724ba675SRob Herring tcon0_in_be0: endpoint@0 { 432724ba675SRob Herring reg = <0>; 433724ba675SRob Herring remote-endpoint = <&be0_out_tcon0>; 434724ba675SRob Herring }; 435724ba675SRob Herring 436724ba675SRob Herring tcon0_in_be1: endpoint@1 { 437724ba675SRob Herring reg = <1>; 438724ba675SRob Herring remote-endpoint = <&be1_out_tcon0>; 439724ba675SRob Herring }; 440724ba675SRob Herring }; 441724ba675SRob Herring 442724ba675SRob Herring tcon0_out: port@1 { 443724ba675SRob Herring #address-cells = <1>; 444724ba675SRob Herring #size-cells = <0>; 445724ba675SRob Herring reg = <1>; 446724ba675SRob Herring 447724ba675SRob Herring tcon0_out_hdmi: endpoint@1 { 448724ba675SRob Herring reg = <1>; 449724ba675SRob Herring remote-endpoint = <&hdmi_in_tcon0>; 450724ba675SRob Herring allwinner,tcon-channel = <1>; 451724ba675SRob Herring }; 452724ba675SRob Herring }; 453724ba675SRob Herring }; 454724ba675SRob Herring }; 455724ba675SRob Herring 456724ba675SRob Herring tcon1: lcd-controller@1c0d000 { 457724ba675SRob Herring compatible = "allwinner,sun7i-a20-tcon1", 458724ba675SRob Herring "allwinner,sun7i-a20-tcon"; 459724ba675SRob Herring reg = <0x01c0d000 0x1000>; 460724ba675SRob Herring interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 461724ba675SRob Herring resets = <&ccu RST_TCON1>; 462724ba675SRob Herring reset-names = "lcd"; 463724ba675SRob Herring clocks = <&ccu CLK_AHB_LCD1>, 464724ba675SRob Herring <&ccu CLK_TCON1_CH0>, 465724ba675SRob Herring <&ccu CLK_TCON1_CH1>; 466724ba675SRob Herring clock-names = "ahb", 467724ba675SRob Herring "tcon-ch0", 468724ba675SRob Herring "tcon-ch1"; 469724ba675SRob Herring clock-output-names = "tcon1-pixel-clock"; 470724ba675SRob Herring #clock-cells = <0>; 471724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 15>; 472724ba675SRob Herring 473724ba675SRob Herring ports { 474724ba675SRob Herring #address-cells = <1>; 475724ba675SRob Herring #size-cells = <0>; 476724ba675SRob Herring 477724ba675SRob Herring tcon1_in: port@0 { 478724ba675SRob Herring #address-cells = <1>; 479724ba675SRob Herring #size-cells = <0>; 480724ba675SRob Herring reg = <0>; 481724ba675SRob Herring 482724ba675SRob Herring tcon1_in_be0: endpoint@0 { 483724ba675SRob Herring reg = <0>; 484724ba675SRob Herring remote-endpoint = <&be0_out_tcon1>; 485724ba675SRob Herring }; 486724ba675SRob Herring 487724ba675SRob Herring tcon1_in_be1: endpoint@1 { 488724ba675SRob Herring reg = <1>; 489724ba675SRob Herring remote-endpoint = <&be1_out_tcon1>; 490724ba675SRob Herring }; 491724ba675SRob Herring }; 492724ba675SRob Herring 493724ba675SRob Herring tcon1_out: port@1 { 494724ba675SRob Herring #address-cells = <1>; 495724ba675SRob Herring #size-cells = <0>; 496724ba675SRob Herring reg = <1>; 497724ba675SRob Herring 498724ba675SRob Herring tcon1_out_hdmi: endpoint@1 { 499724ba675SRob Herring reg = <1>; 500724ba675SRob Herring remote-endpoint = <&hdmi_in_tcon1>; 501724ba675SRob Herring allwinner,tcon-channel = <1>; 502724ba675SRob Herring }; 503724ba675SRob Herring }; 504724ba675SRob Herring }; 505724ba675SRob Herring }; 506724ba675SRob Herring 507724ba675SRob Herring video-codec@1c0e000 { 508724ba675SRob Herring compatible = "allwinner,sun7i-a20-video-engine"; 509724ba675SRob Herring reg = <0x01c0e000 0x1000>; 510724ba675SRob Herring clocks = <&ccu CLK_AHB_VE>, <&ccu CLK_VE>, 511724ba675SRob Herring <&ccu CLK_DRAM_VE>; 512724ba675SRob Herring clock-names = "ahb", "mod", "ram"; 513724ba675SRob Herring resets = <&ccu RST_VE>; 514724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 515724ba675SRob Herring allwinner,sram = <&ve_sram 1>; 516724ba675SRob Herring }; 517724ba675SRob Herring 518724ba675SRob Herring mmc0: mmc@1c0f000 { 519724ba675SRob Herring compatible = "allwinner,sun7i-a20-mmc"; 520724ba675SRob Herring reg = <0x01c0f000 0x1000>; 521724ba675SRob Herring clocks = <&ccu CLK_AHB_MMC0>, 522724ba675SRob Herring <&ccu CLK_MMC0>, 523724ba675SRob Herring <&ccu CLK_MMC0_OUTPUT>, 524724ba675SRob Herring <&ccu CLK_MMC0_SAMPLE>; 525724ba675SRob Herring clock-names = "ahb", 526724ba675SRob Herring "mmc", 527724ba675SRob Herring "output", 528724ba675SRob Herring "sample"; 529724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 530724ba675SRob Herring pinctrl-names = "default"; 531724ba675SRob Herring pinctrl-0 = <&mmc0_pins>; 532724ba675SRob Herring status = "disabled"; 533724ba675SRob Herring #address-cells = <1>; 534724ba675SRob Herring #size-cells = <0>; 535724ba675SRob Herring }; 536724ba675SRob Herring 537724ba675SRob Herring mmc1: mmc@1c10000 { 538724ba675SRob Herring compatible = "allwinner,sun7i-a20-mmc"; 539724ba675SRob Herring reg = <0x01c10000 0x1000>; 540724ba675SRob Herring clocks = <&ccu CLK_AHB_MMC1>, 541724ba675SRob Herring <&ccu CLK_MMC1>, 542724ba675SRob Herring <&ccu CLK_MMC1_OUTPUT>, 543724ba675SRob Herring <&ccu CLK_MMC1_SAMPLE>; 544724ba675SRob Herring clock-names = "ahb", 545724ba675SRob Herring "mmc", 546724ba675SRob Herring "output", 547724ba675SRob Herring "sample"; 548724ba675SRob Herring interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 549724ba675SRob Herring status = "disabled"; 550724ba675SRob Herring #address-cells = <1>; 551724ba675SRob Herring #size-cells = <0>; 552724ba675SRob Herring }; 553724ba675SRob Herring 554724ba675SRob Herring mmc2: mmc@1c11000 { 555724ba675SRob Herring compatible = "allwinner,sun7i-a20-mmc"; 556724ba675SRob Herring reg = <0x01c11000 0x1000>; 557724ba675SRob Herring clocks = <&ccu CLK_AHB_MMC2>, 558724ba675SRob Herring <&ccu CLK_MMC2>, 559724ba675SRob Herring <&ccu CLK_MMC2_OUTPUT>, 560724ba675SRob Herring <&ccu CLK_MMC2_SAMPLE>; 561724ba675SRob Herring clock-names = "ahb", 562724ba675SRob Herring "mmc", 563724ba675SRob Herring "output", 564724ba675SRob Herring "sample"; 565724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 566724ba675SRob Herring pinctrl-names = "default"; 567724ba675SRob Herring pinctrl-0 = <&mmc2_pins>; 568724ba675SRob Herring status = "disabled"; 569724ba675SRob Herring #address-cells = <1>; 570724ba675SRob Herring #size-cells = <0>; 571724ba675SRob Herring }; 572724ba675SRob Herring 573724ba675SRob Herring mmc3: mmc@1c12000 { 574724ba675SRob Herring compatible = "allwinner,sun7i-a20-mmc"; 575724ba675SRob Herring reg = <0x01c12000 0x1000>; 576724ba675SRob Herring clocks = <&ccu CLK_AHB_MMC3>, 577724ba675SRob Herring <&ccu CLK_MMC3>, 578724ba675SRob Herring <&ccu CLK_MMC3_OUTPUT>, 579724ba675SRob Herring <&ccu CLK_MMC3_SAMPLE>; 580724ba675SRob Herring clock-names = "ahb", 581724ba675SRob Herring "mmc", 582724ba675SRob Herring "output", 583724ba675SRob Herring "sample"; 584724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 585724ba675SRob Herring pinctrl-names = "default"; 586724ba675SRob Herring pinctrl-0 = <&mmc3_pins>; 587724ba675SRob Herring status = "disabled"; 588724ba675SRob Herring #address-cells = <1>; 589724ba675SRob Herring #size-cells = <0>; 590724ba675SRob Herring }; 591724ba675SRob Herring 592724ba675SRob Herring usb_otg: usb@1c13000 { 593724ba675SRob Herring compatible = "allwinner,sun4i-a10-musb"; 594724ba675SRob Herring reg = <0x01c13000 0x0400>; 595724ba675SRob Herring clocks = <&ccu CLK_AHB_OTG>; 596724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 597724ba675SRob Herring interrupt-names = "mc"; 598724ba675SRob Herring phys = <&usbphy 0>; 599724ba675SRob Herring phy-names = "usb"; 600724ba675SRob Herring extcon = <&usbphy 0>; 601724ba675SRob Herring allwinner,sram = <&otg_sram 1>; 602724ba675SRob Herring dr_mode = "otg"; 603724ba675SRob Herring status = "disabled"; 604724ba675SRob Herring }; 605724ba675SRob Herring 606724ba675SRob Herring usbphy: phy@1c13400 { 607724ba675SRob Herring #phy-cells = <1>; 608724ba675SRob Herring compatible = "allwinner,sun7i-a20-usb-phy"; 609724ba675SRob Herring reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>; 610724ba675SRob Herring reg-names = "phy_ctrl", "pmu1", "pmu2"; 611724ba675SRob Herring clocks = <&ccu CLK_USB_PHY>; 612724ba675SRob Herring clock-names = "usb_phy"; 613724ba675SRob Herring resets = <&ccu RST_USB_PHY0>, 614724ba675SRob Herring <&ccu RST_USB_PHY1>, 615724ba675SRob Herring <&ccu RST_USB_PHY2>; 616724ba675SRob Herring reset-names = "usb0_reset", "usb1_reset", "usb2_reset"; 617724ba675SRob Herring status = "disabled"; 618724ba675SRob Herring }; 619724ba675SRob Herring 620724ba675SRob Herring ehci0: usb@1c14000 { 621724ba675SRob Herring compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; 622724ba675SRob Herring reg = <0x01c14000 0x100>; 623724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 624724ba675SRob Herring clocks = <&ccu CLK_AHB_EHCI0>; 625724ba675SRob Herring phys = <&usbphy 1>; 626724ba675SRob Herring phy-names = "usb"; 627724ba675SRob Herring status = "disabled"; 628724ba675SRob Herring }; 629724ba675SRob Herring 630724ba675SRob Herring ohci0: usb@1c14400 { 631724ba675SRob Herring compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; 632724ba675SRob Herring reg = <0x01c14400 0x100>; 633724ba675SRob Herring interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; 634724ba675SRob Herring clocks = <&ccu CLK_USB_OHCI0>, <&ccu CLK_AHB_OHCI0>; 635724ba675SRob Herring phys = <&usbphy 1>; 636724ba675SRob Herring phy-names = "usb"; 637724ba675SRob Herring status = "disabled"; 638724ba675SRob Herring }; 639724ba675SRob Herring 640724ba675SRob Herring crypto: crypto-engine@1c15000 { 641724ba675SRob Herring compatible = "allwinner,sun7i-a20-crypto", 642724ba675SRob Herring "allwinner,sun4i-a10-crypto"; 643724ba675SRob Herring reg = <0x01c15000 0x1000>; 644724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 645724ba675SRob Herring clocks = <&ccu CLK_AHB_SS>, <&ccu CLK_SS>; 646724ba675SRob Herring clock-names = "ahb", "mod"; 647724ba675SRob Herring }; 648724ba675SRob Herring 649724ba675SRob Herring hdmi: hdmi@1c16000 { 650724ba675SRob Herring compatible = "allwinner,sun7i-a20-hdmi", 651724ba675SRob Herring "allwinner,sun5i-a10s-hdmi"; 652724ba675SRob Herring reg = <0x01c16000 0x1000>; 653724ba675SRob Herring interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 654724ba675SRob Herring clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>, 655724ba675SRob Herring <&ccu CLK_PLL_VIDEO0_2X>, 656724ba675SRob Herring <&ccu CLK_PLL_VIDEO1_2X>; 657724ba675SRob Herring clock-names = "ahb", "mod", "pll-0", "pll-1"; 658724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 16>, 659724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 16>, 660724ba675SRob Herring <&dma SUN4I_DMA_DEDICATED 24>; 661724ba675SRob Herring dma-names = "ddc-tx", "ddc-rx", "audio-tx"; 662724ba675SRob Herring status = "disabled"; 663724ba675SRob Herring 664724ba675SRob Herring ports { 665724ba675SRob Herring #address-cells = <1>; 666724ba675SRob Herring #size-cells = <0>; 667724ba675SRob Herring 668724ba675SRob Herring hdmi_in: port@0 { 669724ba675SRob Herring #address-cells = <1>; 670724ba675SRob Herring #size-cells = <0>; 671724ba675SRob Herring reg = <0>; 672724ba675SRob Herring 673724ba675SRob Herring hdmi_in_tcon0: endpoint@0 { 674724ba675SRob Herring reg = <0>; 675724ba675SRob Herring remote-endpoint = <&tcon0_out_hdmi>; 676724ba675SRob Herring }; 677724ba675SRob Herring 678724ba675SRob Herring hdmi_in_tcon1: endpoint@1 { 679724ba675SRob Herring reg = <1>; 680724ba675SRob Herring remote-endpoint = <&tcon1_out_hdmi>; 681724ba675SRob Herring }; 682724ba675SRob Herring }; 683724ba675SRob Herring 684724ba675SRob Herring hdmi_out: port@1 { 685724ba675SRob Herring reg = <1>; 686724ba675SRob Herring }; 687724ba675SRob Herring }; 688724ba675SRob Herring }; 689724ba675SRob Herring 690724ba675SRob Herring spi2: spi@1c17000 { 691724ba675SRob Herring compatible = "allwinner,sun4i-a10-spi"; 692724ba675SRob Herring reg = <0x01c17000 0x1000>; 693724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 694724ba675SRob Herring clocks = <&ccu CLK_AHB_SPI2>, <&ccu CLK_SPI2>; 695724ba675SRob Herring clock-names = "ahb", "mod"; 696724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 29>, 697724ba675SRob Herring <&dma SUN4I_DMA_DEDICATED 28>; 698724ba675SRob Herring dma-names = "rx", "tx"; 699724ba675SRob Herring status = "disabled"; 700724ba675SRob Herring #address-cells = <1>; 701724ba675SRob Herring #size-cells = <0>; 702724ba675SRob Herring num-cs = <1>; 703724ba675SRob Herring }; 704724ba675SRob Herring 705724ba675SRob Herring ahci: sata@1c18000 { 706724ba675SRob Herring compatible = "allwinner,sun4i-a10-ahci"; 707724ba675SRob Herring reg = <0x01c18000 0x1000>; 708724ba675SRob Herring interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 709724ba675SRob Herring clocks = <&ccu CLK_AHB_SATA>, <&ccu CLK_SATA>; 710724ba675SRob Herring status = "disabled"; 711724ba675SRob Herring }; 712724ba675SRob Herring 713724ba675SRob Herring ehci1: usb@1c1c000 { 714724ba675SRob Herring compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; 715724ba675SRob Herring reg = <0x01c1c000 0x100>; 716724ba675SRob Herring interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 717724ba675SRob Herring clocks = <&ccu CLK_AHB_EHCI1>; 718724ba675SRob Herring phys = <&usbphy 2>; 719724ba675SRob Herring phy-names = "usb"; 720724ba675SRob Herring status = "disabled"; 721724ba675SRob Herring }; 722724ba675SRob Herring 723724ba675SRob Herring ohci1: usb@1c1c400 { 724724ba675SRob Herring compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; 725724ba675SRob Herring reg = <0x01c1c400 0x100>; 726724ba675SRob Herring interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 727724ba675SRob Herring clocks = <&ccu CLK_USB_OHCI1>, <&ccu CLK_AHB_OHCI1>; 728724ba675SRob Herring phys = <&usbphy 2>; 729724ba675SRob Herring phy-names = "usb"; 730724ba675SRob Herring status = "disabled"; 731724ba675SRob Herring }; 732724ba675SRob Herring 733724ba675SRob Herring csi1: csi@1c1d000 { 734724ba675SRob Herring compatible = "allwinner,sun7i-a20-csi1", 735724ba675SRob Herring "allwinner,sun4i-a10-csi1"; 736724ba675SRob Herring reg = <0x01c1d000 0x1000>; 737724ba675SRob Herring interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 738724ba675SRob Herring clocks = <&ccu CLK_AHB_CSI1>, <&ccu CLK_DRAM_CSI1>; 739724ba675SRob Herring clock-names = "bus", "ram"; 740724ba675SRob Herring resets = <&ccu RST_CSI1>; 741724ba675SRob Herring status = "disabled"; 742724ba675SRob Herring }; 743724ba675SRob Herring 744724ba675SRob Herring spi3: spi@1c1f000 { 745724ba675SRob Herring compatible = "allwinner,sun4i-a10-spi"; 746724ba675SRob Herring reg = <0x01c1f000 0x1000>; 747724ba675SRob Herring interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 748724ba675SRob Herring clocks = <&ccu CLK_AHB_SPI3>, <&ccu CLK_SPI3>; 749724ba675SRob Herring clock-names = "ahb", "mod"; 750724ba675SRob Herring dmas = <&dma SUN4I_DMA_DEDICATED 31>, 751724ba675SRob Herring <&dma SUN4I_DMA_DEDICATED 30>; 752724ba675SRob Herring dma-names = "rx", "tx"; 753724ba675SRob Herring status = "disabled"; 754724ba675SRob Herring #address-cells = <1>; 755724ba675SRob Herring #size-cells = <0>; 756724ba675SRob Herring num-cs = <1>; 757724ba675SRob Herring }; 758724ba675SRob Herring 759724ba675SRob Herring ccu: clock@1c20000 { 760724ba675SRob Herring compatible = "allwinner,sun7i-a20-ccu"; 761724ba675SRob Herring reg = <0x01c20000 0x400>; 762724ba675SRob Herring clocks = <&osc24M>, <&osc32k>; 763724ba675SRob Herring clock-names = "hosc", "losc"; 764724ba675SRob Herring #clock-cells = <1>; 765724ba675SRob Herring #reset-cells = <1>; 766724ba675SRob Herring }; 767724ba675SRob Herring 768724ba675SRob Herring pio: pinctrl@1c20800 { 769724ba675SRob Herring compatible = "allwinner,sun7i-a20-pinctrl"; 770724ba675SRob Herring reg = <0x01c20800 0x400>; 771724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 772724ba675SRob Herring clocks = <&ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>; 773724ba675SRob Herring clock-names = "apb", "hosc", "losc"; 774724ba675SRob Herring gpio-controller; 775724ba675SRob Herring interrupt-controller; 776724ba675SRob Herring #interrupt-cells = <3>; 777724ba675SRob Herring #gpio-cells = <3>; 778724ba675SRob Herring 779724ba675SRob Herring /omit-if-no-ref/ 780724ba675SRob Herring can_pa_pins: can-pa-pins { 781724ba675SRob Herring pins = "PA16", "PA17"; 782724ba675SRob Herring function = "can"; 783724ba675SRob Herring }; 784724ba675SRob Herring 785724ba675SRob Herring /omit-if-no-ref/ 786724ba675SRob Herring can_ph_pins: can-ph-pins { 787724ba675SRob Herring pins = "PH20", "PH21"; 788724ba675SRob Herring function = "can"; 789724ba675SRob Herring }; 790724ba675SRob Herring 791724ba675SRob Herring /omit-if-no-ref/ 792724ba675SRob Herring clk_out_a_pin: clk-out-a-pin { 793724ba675SRob Herring pins = "PI12"; 794724ba675SRob Herring function = "clk_out_a"; 795724ba675SRob Herring }; 796724ba675SRob Herring 797724ba675SRob Herring /omit-if-no-ref/ 798724ba675SRob Herring clk_out_b_pin: clk-out-b-pin { 799724ba675SRob Herring pins = "PI13"; 800724ba675SRob Herring function = "clk_out_b"; 801724ba675SRob Herring }; 802724ba675SRob Herring 803724ba675SRob Herring /omit-if-no-ref/ 804724ba675SRob Herring csi0_8bits_pins: csi-8bits-pins { 805724ba675SRob Herring pins = "PE0", "PE2", "PE3", "PE4", "PE5", 806724ba675SRob Herring "PE6", "PE7", "PE8", "PE9", "PE10", 807724ba675SRob Herring "PE11"; 808724ba675SRob Herring function = "csi0"; 809724ba675SRob Herring }; 810724ba675SRob Herring 811724ba675SRob Herring /omit-if-no-ref/ 812724ba675SRob Herring csi0_clk_pin: csi-clk-pin { 813724ba675SRob Herring pins = "PE1"; 814724ba675SRob Herring function = "csi0"; 815724ba675SRob Herring }; 816724ba675SRob Herring 817724ba675SRob Herring /omit-if-no-ref/ 818724ba675SRob Herring csi1_8bits_pg_pins: csi1-8bits-pg-pins { 819724ba675SRob Herring pins = "PG0", "PG2", "PG3", "PG4", "PG5", 820724ba675SRob Herring "PG6", "PG7", "PG8", "PG9", "PG10", 821724ba675SRob Herring "PG11"; 822724ba675SRob Herring function = "csi1"; 823724ba675SRob Herring }; 824724ba675SRob Herring 825724ba675SRob Herring /omit-if-no-ref/ 826724ba675SRob Herring csi1_24bits_ph_pins: csi1-24bits-ph-pins { 827724ba675SRob Herring pins = "PH0", "PH1", "PH2", "PH3", "PH4", 828724ba675SRob Herring "PH5", "PH6", "PH7", "PH8", "PH9", 829724ba675SRob Herring "PH10", "PH11", "PH12", "PH13", "PH14", 830724ba675SRob Herring "PH15", "PH16", "PH17", "PH18", "PH19", 831724ba675SRob Herring "PH20", "PH21", "PH22", "PH23", "PH24", 832724ba675SRob Herring "PH25", "PH26", "PH27"; 833724ba675SRob Herring function = "csi1"; 834724ba675SRob Herring }; 835724ba675SRob Herring 836724ba675SRob Herring /omit-if-no-ref/ 837724ba675SRob Herring csi1_clk_pg_pin: csi1-clk-pg-pin { 838724ba675SRob Herring pins = "PG1"; 839724ba675SRob Herring function = "csi1"; 840724ba675SRob Herring }; 841724ba675SRob Herring 842724ba675SRob Herring /omit-if-no-ref/ 843724ba675SRob Herring emac_pa_pins: emac-pa-pins { 844724ba675SRob Herring pins = "PA0", "PA1", "PA2", 845724ba675SRob Herring "PA3", "PA4", "PA5", "PA6", 846724ba675SRob Herring "PA7", "PA8", "PA9", "PA10", 847724ba675SRob Herring "PA11", "PA12", "PA13", "PA14", 848724ba675SRob Herring "PA15", "PA16"; 849724ba675SRob Herring function = "emac"; 850724ba675SRob Herring }; 851724ba675SRob Herring 852724ba675SRob Herring /omit-if-no-ref/ 853724ba675SRob Herring emac_ph_pins: emac-ph-pins { 854724ba675SRob Herring pins = "PH8", "PH9", "PH10", "PH11", 855724ba675SRob Herring "PH14", "PH15", "PH16", "PH17", 856724ba675SRob Herring "PH18", "PH19", "PH20", "PH21", 857724ba675SRob Herring "PH22", "PH23", "PH24", "PH25", 858724ba675SRob Herring "PH26"; 859724ba675SRob Herring function = "emac"; 860724ba675SRob Herring }; 861724ba675SRob Herring 862724ba675SRob Herring /omit-if-no-ref/ 863724ba675SRob Herring gmac_mii_pins: gmac-mii-pins { 864724ba675SRob Herring pins = "PA0", "PA1", "PA2", 865724ba675SRob Herring "PA3", "PA4", "PA5", "PA6", 866724ba675SRob Herring "PA7", "PA8", "PA9", "PA10", 867724ba675SRob Herring "PA11", "PA12", "PA13", "PA14", 868724ba675SRob Herring "PA15", "PA16"; 869724ba675SRob Herring function = "gmac"; 870724ba675SRob Herring }; 871724ba675SRob Herring 872724ba675SRob Herring /omit-if-no-ref/ 873724ba675SRob Herring gmac_rgmii_pins: gmac-rgmii-pins { 874724ba675SRob Herring pins = "PA0", "PA1", "PA2", 875724ba675SRob Herring "PA3", "PA4", "PA5", "PA6", 876724ba675SRob Herring "PA7", "PA8", "PA10", 877724ba675SRob Herring "PA11", "PA12", "PA13", 878724ba675SRob Herring "PA15", "PA16"; 879724ba675SRob Herring function = "gmac"; 880724ba675SRob Herring /* 881724ba675SRob Herring * data lines in RGMII mode use DDR mode 882724ba675SRob Herring * and need a higher signal drive strength 883724ba675SRob Herring */ 884724ba675SRob Herring drive-strength = <40>; 885724ba675SRob Herring }; 886724ba675SRob Herring 887724ba675SRob Herring /omit-if-no-ref/ 888724ba675SRob Herring i2c0_pins: i2c0-pins { 889724ba675SRob Herring pins = "PB0", "PB1"; 890724ba675SRob Herring function = "i2c0"; 891724ba675SRob Herring }; 892724ba675SRob Herring 893724ba675SRob Herring /omit-if-no-ref/ 894724ba675SRob Herring i2c1_pins: i2c1-pins { 895724ba675SRob Herring pins = "PB18", "PB19"; 896724ba675SRob Herring function = "i2c1"; 897724ba675SRob Herring }; 898724ba675SRob Herring 899724ba675SRob Herring /omit-if-no-ref/ 900724ba675SRob Herring i2c2_pins: i2c2-pins { 901724ba675SRob Herring pins = "PB20", "PB21"; 902724ba675SRob Herring function = "i2c2"; 903724ba675SRob Herring }; 904724ba675SRob Herring 905724ba675SRob Herring /omit-if-no-ref/ 906724ba675SRob Herring i2c3_pins: i2c3-pins { 907724ba675SRob Herring pins = "PI0", "PI1"; 908724ba675SRob Herring function = "i2c3"; 909724ba675SRob Herring }; 910724ba675SRob Herring 911724ba675SRob Herring /omit-if-no-ref/ 912724ba675SRob Herring ir0_rx_pin: ir0-rx-pin { 913724ba675SRob Herring pins = "PB4"; 914724ba675SRob Herring function = "ir0"; 915724ba675SRob Herring }; 916724ba675SRob Herring 917724ba675SRob Herring /omit-if-no-ref/ 918724ba675SRob Herring ir0_tx_pin: ir0-tx-pin { 919724ba675SRob Herring pins = "PB3"; 920724ba675SRob Herring function = "ir0"; 921724ba675SRob Herring }; 922724ba675SRob Herring 923724ba675SRob Herring /omit-if-no-ref/ 924724ba675SRob Herring ir1_rx_pin: ir1-rx-pin { 925724ba675SRob Herring pins = "PB23"; 926724ba675SRob Herring function = "ir1"; 927724ba675SRob Herring }; 928724ba675SRob Herring 929724ba675SRob Herring /omit-if-no-ref/ 930724ba675SRob Herring ir1_tx_pin: ir1-tx-pin { 931724ba675SRob Herring pins = "PB22"; 932724ba675SRob Herring function = "ir1"; 933724ba675SRob Herring }; 934724ba675SRob Herring 935724ba675SRob Herring /omit-if-no-ref/ 936724ba675SRob Herring lcd_lvds0_pins: lcd-lvds0-pins { 937724ba675SRob Herring pins = "PD0", "PD1", "PD2", "PD3", "PD4", 938724ba675SRob Herring "PD5", "PD6", "PD7", "PD8", "PD9"; 939724ba675SRob Herring function = "lvds0"; 940724ba675SRob Herring }; 941724ba675SRob Herring 942724ba675SRob Herring /omit-if-no-ref/ 943724ba675SRob Herring lcd_lvds1_pins: lcd-lvds1-pins { 944724ba675SRob Herring pins = "PD10", "PD11", "PD12", "PD13", "PD14", 945724ba675SRob Herring "PD15", "PD16", "PD17", "PD18", "PD19"; 946724ba675SRob Herring function = "lvds1"; 947724ba675SRob Herring }; 948724ba675SRob Herring 949724ba675SRob Herring /omit-if-no-ref/ 950724ba675SRob Herring mmc0_pins: mmc0-pins { 951724ba675SRob Herring pins = "PF0", "PF1", "PF2", 952724ba675SRob Herring "PF3", "PF4", "PF5"; 953724ba675SRob Herring function = "mmc0"; 954724ba675SRob Herring drive-strength = <30>; 955724ba675SRob Herring bias-pull-up; 956724ba675SRob Herring }; 957724ba675SRob Herring 958724ba675SRob Herring /omit-if-no-ref/ 959724ba675SRob Herring mmc2_pins: mmc2-pins { 960724ba675SRob Herring pins = "PC6", "PC7", "PC8", 961724ba675SRob Herring "PC9", "PC10", "PC11"; 962724ba675SRob Herring function = "mmc2"; 963724ba675SRob Herring drive-strength = <30>; 964724ba675SRob Herring bias-pull-up; 965724ba675SRob Herring }; 966724ba675SRob Herring 967724ba675SRob Herring /omit-if-no-ref/ 968724ba675SRob Herring mmc3_pins: mmc3-pins { 969724ba675SRob Herring pins = "PI4", "PI5", "PI6", 970724ba675SRob Herring "PI7", "PI8", "PI9"; 971724ba675SRob Herring function = "mmc3"; 972724ba675SRob Herring drive-strength = <30>; 973724ba675SRob Herring bias-pull-up; 974724ba675SRob Herring }; 975724ba675SRob Herring 976724ba675SRob Herring /omit-if-no-ref/ 977724ba675SRob Herring ps2_0_pins: ps2-0-pins { 978724ba675SRob Herring pins = "PI20", "PI21"; 979724ba675SRob Herring function = "ps2"; 980724ba675SRob Herring }; 981724ba675SRob Herring 982724ba675SRob Herring /omit-if-no-ref/ 983724ba675SRob Herring ps2_1_ph_pins: ps2-1-ph-pins { 984724ba675SRob Herring pins = "PH12", "PH13"; 985724ba675SRob Herring function = "ps2"; 986724ba675SRob Herring }; 987724ba675SRob Herring 988724ba675SRob Herring /omit-if-no-ref/ 989724ba675SRob Herring pwm0_pin: pwm0-pin { 990724ba675SRob Herring pins = "PB2"; 991724ba675SRob Herring function = "pwm"; 992724ba675SRob Herring }; 993724ba675SRob Herring 994724ba675SRob Herring /omit-if-no-ref/ 995724ba675SRob Herring pwm1_pin: pwm1-pin { 996724ba675SRob Herring pins = "PI3"; 997724ba675SRob Herring function = "pwm"; 998724ba675SRob Herring }; 999724ba675SRob Herring 1000724ba675SRob Herring /omit-if-no-ref/ 1001724ba675SRob Herring spdif_tx_pin: spdif-tx-pin { 1002724ba675SRob Herring pins = "PB13"; 1003724ba675SRob Herring function = "spdif"; 1004724ba675SRob Herring bias-pull-up; 1005724ba675SRob Herring }; 1006724ba675SRob Herring 1007724ba675SRob Herring /omit-if-no-ref/ 1008724ba675SRob Herring spi0_pi_pins: spi0-pi-pins { 1009724ba675SRob Herring pins = "PI11", "PI12", "PI13"; 1010724ba675SRob Herring function = "spi0"; 1011724ba675SRob Herring }; 1012724ba675SRob Herring 1013724ba675SRob Herring /omit-if-no-ref/ 1014724ba675SRob Herring spi0_cs0_pi_pin: spi0-cs0-pi-pin { 1015724ba675SRob Herring pins = "PI10"; 1016724ba675SRob Herring function = "spi0"; 1017724ba675SRob Herring }; 1018724ba675SRob Herring 1019724ba675SRob Herring /omit-if-no-ref/ 1020724ba675SRob Herring spi0_cs1_pi_pin: spi0-cs1-pi-pin { 1021724ba675SRob Herring pins = "PI14"; 1022724ba675SRob Herring function = "spi0"; 1023724ba675SRob Herring }; 1024724ba675SRob Herring 1025724ba675SRob Herring /omit-if-no-ref/ 1026724ba675SRob Herring spi1_pi_pins: spi1-pi-pins { 1027724ba675SRob Herring pins = "PI17", "PI18", "PI19"; 1028724ba675SRob Herring function = "spi1"; 1029724ba675SRob Herring }; 1030724ba675SRob Herring 1031724ba675SRob Herring /omit-if-no-ref/ 1032724ba675SRob Herring spi1_cs0_pi_pin: spi1-cs0-pi-pin { 1033724ba675SRob Herring pins = "PI16"; 1034724ba675SRob Herring function = "spi1"; 1035724ba675SRob Herring }; 1036724ba675SRob Herring 1037724ba675SRob Herring /omit-if-no-ref/ 1038724ba675SRob Herring spi2_pb_pins: spi2-pb-pins { 1039724ba675SRob Herring pins = "PB15", "PB16", "PB17"; 1040724ba675SRob Herring function = "spi2"; 1041724ba675SRob Herring }; 1042724ba675SRob Herring 1043724ba675SRob Herring /omit-if-no-ref/ 1044724ba675SRob Herring spi2_cs0_pb_pin: spi2-cs0-pb-pin { 1045724ba675SRob Herring pins = "PB14"; 1046724ba675SRob Herring function = "spi2"; 1047724ba675SRob Herring }; 1048724ba675SRob Herring 1049724ba675SRob Herring /omit-if-no-ref/ 1050724ba675SRob Herring spi2_pc_pins: spi2-pc-pins { 1051724ba675SRob Herring pins = "PC20", "PC21", "PC22"; 1052724ba675SRob Herring function = "spi2"; 1053724ba675SRob Herring }; 1054724ba675SRob Herring 1055724ba675SRob Herring /omit-if-no-ref/ 1056724ba675SRob Herring spi2_cs0_pc_pin: spi2-cs0-pc-pin { 1057724ba675SRob Herring pins = "PC19"; 1058724ba675SRob Herring function = "spi2"; 1059724ba675SRob Herring }; 1060724ba675SRob Herring 1061724ba675SRob Herring /omit-if-no-ref/ 1062724ba675SRob Herring uart0_pb_pins: uart0-pb-pins { 1063724ba675SRob Herring pins = "PB22", "PB23"; 1064724ba675SRob Herring function = "uart0"; 1065724ba675SRob Herring }; 1066724ba675SRob Herring 1067724ba675SRob Herring /omit-if-no-ref/ 1068724ba675SRob Herring uart0_pf_pins: uart0-pf-pins { 1069724ba675SRob Herring pins = "PF2", "PF4"; 1070724ba675SRob Herring function = "uart0"; 1071724ba675SRob Herring }; 1072724ba675SRob Herring 1073724ba675SRob Herring /omit-if-no-ref/ 1074724ba675SRob Herring uart1_pa_pins: uart1-pa-pins { 1075724ba675SRob Herring pins = "PA10", "PA11"; 1076724ba675SRob Herring function = "uart1"; 1077724ba675SRob Herring }; 1078724ba675SRob Herring 1079724ba675SRob Herring /omit-if-no-ref/ 1080724ba675SRob Herring uart1_cts_rts_pa_pins: uart1-cts-rts-pa-pins { 1081724ba675SRob Herring pins = "PA12", "PA13"; 1082724ba675SRob Herring function = "uart1"; 1083724ba675SRob Herring }; 1084724ba675SRob Herring 1085724ba675SRob Herring /omit-if-no-ref/ 1086724ba675SRob Herring uart2_pa_pins: uart2-pa-pins { 1087724ba675SRob Herring pins = "PA2", "PA3"; 1088724ba675SRob Herring function = "uart2"; 1089724ba675SRob Herring }; 1090724ba675SRob Herring 1091724ba675SRob Herring /omit-if-no-ref/ 1092724ba675SRob Herring uart2_cts_rts_pa_pins: uart2-cts-rts-pa-pins { 1093724ba675SRob Herring pins = "PA0", "PA1"; 1094724ba675SRob Herring function = "uart2"; 1095724ba675SRob Herring }; 1096724ba675SRob Herring 1097724ba675SRob Herring /omit-if-no-ref/ 1098724ba675SRob Herring uart2_pi_pins: uart2-pi-pins { 1099724ba675SRob Herring pins = "PI18", "PI19"; 1100724ba675SRob Herring function = "uart2"; 1101724ba675SRob Herring }; 1102724ba675SRob Herring 1103724ba675SRob Herring /omit-if-no-ref/ 1104724ba675SRob Herring uart2_cts_rts_pi_pins: uart2-cts-rts-pi-pins { 1105724ba675SRob Herring pins = "PI16", "PI17"; 1106724ba675SRob Herring function = "uart2"; 1107724ba675SRob Herring }; 1108724ba675SRob Herring 1109724ba675SRob Herring /omit-if-no-ref/ 1110724ba675SRob Herring uart3_pg_pins: uart3-pg-pins { 1111724ba675SRob Herring pins = "PG6", "PG7"; 1112724ba675SRob Herring function = "uart3"; 1113724ba675SRob Herring }; 1114724ba675SRob Herring 1115724ba675SRob Herring /omit-if-no-ref/ 1116724ba675SRob Herring uart3_cts_rts_pg_pins: uart3-cts-rts-pg-pins { 1117724ba675SRob Herring pins = "PG8", "PG9"; 1118724ba675SRob Herring function = "uart3"; 1119724ba675SRob Herring }; 1120724ba675SRob Herring 1121724ba675SRob Herring /omit-if-no-ref/ 1122724ba675SRob Herring uart3_ph_pins: uart3-ph-pins { 1123724ba675SRob Herring pins = "PH0", "PH1"; 1124724ba675SRob Herring function = "uart3"; 1125724ba675SRob Herring }; 1126724ba675SRob Herring 1127724ba675SRob Herring /omit-if-no-ref/ 1128724ba675SRob Herring uart3_cts_rts_ph_pins: uart3-cts-rts-ph-pins { 1129724ba675SRob Herring pins = "PH2", "PH3"; 1130724ba675SRob Herring function = "uart3"; 1131724ba675SRob Herring }; 1132724ba675SRob Herring 1133724ba675SRob Herring /omit-if-no-ref/ 1134724ba675SRob Herring uart4_pg_pins: uart4-pg-pins { 1135724ba675SRob Herring pins = "PG10", "PG11"; 1136724ba675SRob Herring function = "uart4"; 1137724ba675SRob Herring }; 1138724ba675SRob Herring 1139724ba675SRob Herring /omit-if-no-ref/ 1140724ba675SRob Herring uart4_ph_pins: uart4-ph-pins { 1141724ba675SRob Herring pins = "PH4", "PH5"; 1142724ba675SRob Herring function = "uart4"; 1143724ba675SRob Herring }; 1144724ba675SRob Herring 1145724ba675SRob Herring /omit-if-no-ref/ 1146724ba675SRob Herring uart5_ph_pins: uart5-ph-pins { 1147724ba675SRob Herring pins = "PH6", "PH7"; 1148724ba675SRob Herring function = "uart5"; 1149724ba675SRob Herring }; 1150724ba675SRob Herring 1151724ba675SRob Herring /omit-if-no-ref/ 1152724ba675SRob Herring uart5_pi_pins: uart5-pi-pins { 1153724ba675SRob Herring pins = "PI10", "PI11"; 1154724ba675SRob Herring function = "uart5"; 1155724ba675SRob Herring }; 1156724ba675SRob Herring 1157724ba675SRob Herring /omit-if-no-ref/ 1158724ba675SRob Herring uart6_pa_pins: uart6-pa-pins { 1159724ba675SRob Herring pins = "PA12", "PA13"; 1160724ba675SRob Herring function = "uart6"; 1161724ba675SRob Herring }; 1162724ba675SRob Herring 1163724ba675SRob Herring /omit-if-no-ref/ 1164724ba675SRob Herring uart6_pi_pins: uart6-pi-pins { 1165724ba675SRob Herring pins = "PI12", "PI13"; 1166724ba675SRob Herring function = "uart6"; 1167724ba675SRob Herring }; 1168724ba675SRob Herring 1169724ba675SRob Herring /omit-if-no-ref/ 1170724ba675SRob Herring uart7_pa_pins: uart7-pa-pins { 1171724ba675SRob Herring pins = "PA14", "PA15"; 1172724ba675SRob Herring function = "uart7"; 1173724ba675SRob Herring }; 1174724ba675SRob Herring 1175724ba675SRob Herring /omit-if-no-ref/ 1176724ba675SRob Herring uart7_pi_pins: uart7-pi-pins { 1177724ba675SRob Herring pins = "PI20", "PI21"; 1178724ba675SRob Herring function = "uart7"; 1179724ba675SRob Herring }; 1180724ba675SRob Herring }; 1181724ba675SRob Herring 1182724ba675SRob Herring timer@1c20c00 { 1183724ba675SRob Herring compatible = "allwinner,sun4i-a10-timer"; 1184724ba675SRob Herring reg = <0x01c20c00 0x90>; 1185724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 1186724ba675SRob Herring <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 1187724ba675SRob Herring <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 1188724ba675SRob Herring <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 1189724ba675SRob Herring <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, 1190724ba675SRob Herring <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; 1191724ba675SRob Herring clocks = <&osc24M>; 1192724ba675SRob Herring }; 1193724ba675SRob Herring 1194724ba675SRob Herring wdt: watchdog@1c20c90 { 1195724ba675SRob Herring compatible = "allwinner,sun4i-a10-wdt"; 1196724ba675SRob Herring reg = <0x01c20c90 0x10>; 1197724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 1198724ba675SRob Herring clocks = <&osc24M>; 1199724ba675SRob Herring }; 1200724ba675SRob Herring 1201724ba675SRob Herring rtc: rtc@1c20d00 { 1202724ba675SRob Herring compatible = "allwinner,sun7i-a20-rtc"; 1203724ba675SRob Herring reg = <0x01c20d00 0x20>; 1204724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 1205724ba675SRob Herring }; 1206724ba675SRob Herring 1207724ba675SRob Herring pwm: pwm@1c20e00 { 1208724ba675SRob Herring compatible = "allwinner,sun7i-a20-pwm"; 1209724ba675SRob Herring reg = <0x01c20e00 0xc>; 1210724ba675SRob Herring clocks = <&osc24M>; 1211724ba675SRob Herring #pwm-cells = <3>; 1212724ba675SRob Herring status = "disabled"; 1213724ba675SRob Herring }; 1214724ba675SRob Herring 1215724ba675SRob Herring spdif: spdif@1c21000 { 1216724ba675SRob Herring #sound-dai-cells = <0>; 1217724ba675SRob Herring compatible = "allwinner,sun4i-a10-spdif"; 1218724ba675SRob Herring reg = <0x01c21000 0x400>; 1219724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 1220724ba675SRob Herring clocks = <&ccu CLK_APB0_SPDIF>, <&ccu CLK_SPDIF>; 1221724ba675SRob Herring clock-names = "apb", "spdif"; 1222724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 2>, 1223724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 2>; 1224724ba675SRob Herring dma-names = "rx", "tx"; 1225724ba675SRob Herring status = "disabled"; 1226724ba675SRob Herring }; 1227724ba675SRob Herring 1228724ba675SRob Herring ir0: ir@1c21800 { 1229724ba675SRob Herring compatible = "allwinner,sun4i-a10-ir"; 1230724ba675SRob Herring clocks = <&ccu CLK_APB0_IR0>, <&ccu CLK_IR0>; 1231724ba675SRob Herring clock-names = "apb", "ir"; 1232724ba675SRob Herring interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 1233724ba675SRob Herring reg = <0x01c21800 0x40>; 1234724ba675SRob Herring status = "disabled"; 1235724ba675SRob Herring }; 1236724ba675SRob Herring 1237724ba675SRob Herring ir1: ir@1c21c00 { 1238724ba675SRob Herring compatible = "allwinner,sun4i-a10-ir"; 1239724ba675SRob Herring clocks = <&ccu CLK_APB0_IR1>, <&ccu CLK_IR1>; 1240724ba675SRob Herring clock-names = "apb", "ir"; 1241724ba675SRob Herring interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 1242724ba675SRob Herring reg = <0x01c21c00 0x40>; 1243724ba675SRob Herring status = "disabled"; 1244724ba675SRob Herring }; 1245724ba675SRob Herring 1246724ba675SRob Herring i2s1: i2s@1c22000 { 1247724ba675SRob Herring #sound-dai-cells = <0>; 1248724ba675SRob Herring compatible = "allwinner,sun4i-a10-i2s"; 1249724ba675SRob Herring reg = <0x01c22000 0x400>; 1250724ba675SRob Herring interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 1251724ba675SRob Herring clocks = <&ccu CLK_APB0_I2S1>, <&ccu CLK_I2S1>; 1252724ba675SRob Herring clock-names = "apb", "mod"; 1253724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 4>, 1254724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 4>; 1255724ba675SRob Herring dma-names = "rx", "tx"; 1256724ba675SRob Herring status = "disabled"; 1257724ba675SRob Herring }; 1258724ba675SRob Herring 1259724ba675SRob Herring i2s0: i2s@1c22400 { 1260724ba675SRob Herring #sound-dai-cells = <0>; 1261724ba675SRob Herring compatible = "allwinner,sun4i-a10-i2s"; 1262724ba675SRob Herring reg = <0x01c22400 0x400>; 1263724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 1264724ba675SRob Herring clocks = <&ccu CLK_APB0_I2S0>, <&ccu CLK_I2S0>; 1265724ba675SRob Herring clock-names = "apb", "mod"; 1266724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 3>, 1267724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 3>; 1268724ba675SRob Herring dma-names = "rx", "tx"; 1269724ba675SRob Herring status = "disabled"; 1270724ba675SRob Herring }; 1271724ba675SRob Herring 1272724ba675SRob Herring lradc: lradc@1c22800 { 1273724ba675SRob Herring compatible = "allwinner,sun4i-a10-lradc-keys"; 1274724ba675SRob Herring reg = <0x01c22800 0x100>; 1275724ba675SRob Herring interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 1276724ba675SRob Herring status = "disabled"; 1277724ba675SRob Herring }; 1278724ba675SRob Herring 1279724ba675SRob Herring codec: codec@1c22c00 { 1280724ba675SRob Herring #sound-dai-cells = <0>; 1281724ba675SRob Herring compatible = "allwinner,sun7i-a20-codec"; 1282724ba675SRob Herring reg = <0x01c22c00 0x40>; 1283724ba675SRob Herring interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 1284724ba675SRob Herring clocks = <&ccu CLK_APB0_CODEC>, <&ccu CLK_CODEC>; 1285724ba675SRob Herring clock-names = "apb", "codec"; 1286724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 19>, 1287724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 19>; 1288724ba675SRob Herring dma-names = "rx", "tx"; 1289724ba675SRob Herring status = "disabled"; 1290724ba675SRob Herring }; 1291724ba675SRob Herring 1292724ba675SRob Herring sid: eeprom@1c23800 { 1293724ba675SRob Herring compatible = "allwinner,sun7i-a20-sid"; 1294724ba675SRob Herring reg = <0x01c23800 0x200>; 1295724ba675SRob Herring }; 1296724ba675SRob Herring 1297724ba675SRob Herring i2s2: i2s@1c24400 { 1298724ba675SRob Herring #sound-dai-cells = <0>; 1299724ba675SRob Herring compatible = "allwinner,sun4i-a10-i2s"; 1300724ba675SRob Herring reg = <0x01c24400 0x400>; 1301724ba675SRob Herring interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 1302724ba675SRob Herring clocks = <&ccu CLK_APB0_I2S2>, <&ccu CLK_I2S2>; 1303724ba675SRob Herring clock-names = "apb", "mod"; 1304724ba675SRob Herring dmas = <&dma SUN4I_DMA_NORMAL 6>, 1305724ba675SRob Herring <&dma SUN4I_DMA_NORMAL 6>; 1306724ba675SRob Herring dma-names = "rx", "tx"; 1307724ba675SRob Herring status = "disabled"; 1308724ba675SRob Herring }; 1309724ba675SRob Herring 1310724ba675SRob Herring rtp: rtp@1c25000 { 1311724ba675SRob Herring compatible = "allwinner,sun5i-a13-ts"; 1312724ba675SRob Herring reg = <0x01c25000 0x100>; 1313724ba675SRob Herring interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 1314724ba675SRob Herring #thermal-sensor-cells = <0>; 1315724ba675SRob Herring }; 1316724ba675SRob Herring 1317724ba675SRob Herring uart0: serial@1c28000 { 1318724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1319724ba675SRob Herring reg = <0x01c28000 0x400>; 1320724ba675SRob Herring interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 1321724ba675SRob Herring reg-shift = <2>; 1322724ba675SRob Herring reg-io-width = <4>; 1323724ba675SRob Herring clocks = <&ccu CLK_APB1_UART0>; 1324724ba675SRob Herring status = "disabled"; 1325724ba675SRob Herring }; 1326724ba675SRob Herring 1327724ba675SRob Herring uart1: serial@1c28400 { 1328724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1329724ba675SRob Herring reg = <0x01c28400 0x400>; 1330724ba675SRob Herring interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 1331724ba675SRob Herring reg-shift = <2>; 1332724ba675SRob Herring reg-io-width = <4>; 1333724ba675SRob Herring clocks = <&ccu CLK_APB1_UART1>; 1334724ba675SRob Herring status = "disabled"; 1335724ba675SRob Herring }; 1336724ba675SRob Herring 1337724ba675SRob Herring uart2: serial@1c28800 { 1338724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1339724ba675SRob Herring reg = <0x01c28800 0x400>; 1340724ba675SRob Herring interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 1341724ba675SRob Herring reg-shift = <2>; 1342724ba675SRob Herring reg-io-width = <4>; 1343724ba675SRob Herring clocks = <&ccu CLK_APB1_UART2>; 1344724ba675SRob Herring status = "disabled"; 1345724ba675SRob Herring }; 1346724ba675SRob Herring 1347724ba675SRob Herring uart3: serial@1c28c00 { 1348724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1349724ba675SRob Herring reg = <0x01c28c00 0x400>; 1350724ba675SRob Herring interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 1351724ba675SRob Herring reg-shift = <2>; 1352724ba675SRob Herring reg-io-width = <4>; 1353724ba675SRob Herring clocks = <&ccu CLK_APB1_UART3>; 1354724ba675SRob Herring status = "disabled"; 1355724ba675SRob Herring }; 1356724ba675SRob Herring 1357724ba675SRob Herring uart4: serial@1c29000 { 1358724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1359724ba675SRob Herring reg = <0x01c29000 0x400>; 1360724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 1361724ba675SRob Herring reg-shift = <2>; 1362724ba675SRob Herring reg-io-width = <4>; 1363724ba675SRob Herring clocks = <&ccu CLK_APB1_UART4>; 1364724ba675SRob Herring status = "disabled"; 1365724ba675SRob Herring }; 1366724ba675SRob Herring 1367724ba675SRob Herring uart5: serial@1c29400 { 1368724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1369724ba675SRob Herring reg = <0x01c29400 0x400>; 1370724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 1371724ba675SRob Herring reg-shift = <2>; 1372724ba675SRob Herring reg-io-width = <4>; 1373724ba675SRob Herring clocks = <&ccu CLK_APB1_UART5>; 1374724ba675SRob Herring status = "disabled"; 1375724ba675SRob Herring }; 1376724ba675SRob Herring 1377724ba675SRob Herring uart6: serial@1c29800 { 1378724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1379724ba675SRob Herring reg = <0x01c29800 0x400>; 1380724ba675SRob Herring interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 1381724ba675SRob Herring reg-shift = <2>; 1382724ba675SRob Herring reg-io-width = <4>; 1383724ba675SRob Herring clocks = <&ccu CLK_APB1_UART6>; 1384724ba675SRob Herring status = "disabled"; 1385724ba675SRob Herring }; 1386724ba675SRob Herring 1387724ba675SRob Herring uart7: serial@1c29c00 { 1388724ba675SRob Herring compatible = "snps,dw-apb-uart"; 1389724ba675SRob Herring reg = <0x01c29c00 0x400>; 1390724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 1391724ba675SRob Herring reg-shift = <2>; 1392724ba675SRob Herring reg-io-width = <4>; 1393724ba675SRob Herring clocks = <&ccu CLK_APB1_UART7>; 1394724ba675SRob Herring status = "disabled"; 1395724ba675SRob Herring }; 1396724ba675SRob Herring 1397724ba675SRob Herring ps20: ps2@1c2a000 { 1398724ba675SRob Herring compatible = "allwinner,sun4i-a10-ps2"; 1399724ba675SRob Herring reg = <0x01c2a000 0x400>; 1400724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 1401724ba675SRob Herring clocks = <&ccu CLK_APB1_PS20>; 1402724ba675SRob Herring status = "disabled"; 1403724ba675SRob Herring }; 1404724ba675SRob Herring 1405724ba675SRob Herring ps21: ps2@1c2a400 { 1406724ba675SRob Herring compatible = "allwinner,sun4i-a10-ps2"; 1407724ba675SRob Herring reg = <0x01c2a400 0x400>; 1408724ba675SRob Herring interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 1409724ba675SRob Herring clocks = <&ccu CLK_APB1_PS21>; 1410724ba675SRob Herring status = "disabled"; 1411724ba675SRob Herring }; 1412724ba675SRob Herring 1413724ba675SRob Herring i2c0: i2c@1c2ac00 { 1414724ba675SRob Herring compatible = "allwinner,sun7i-a20-i2c", 1415724ba675SRob Herring "allwinner,sun4i-a10-i2c"; 1416724ba675SRob Herring reg = <0x01c2ac00 0x400>; 1417724ba675SRob Herring interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1418724ba675SRob Herring clocks = <&ccu CLK_APB1_I2C0>; 1419724ba675SRob Herring pinctrl-names = "default"; 1420724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 1421724ba675SRob Herring status = "disabled"; 1422724ba675SRob Herring #address-cells = <1>; 1423724ba675SRob Herring #size-cells = <0>; 1424724ba675SRob Herring }; 1425724ba675SRob Herring 1426724ba675SRob Herring i2c1: i2c@1c2b000 { 1427724ba675SRob Herring compatible = "allwinner,sun7i-a20-i2c", 1428724ba675SRob Herring "allwinner,sun4i-a10-i2c"; 1429724ba675SRob Herring reg = <0x01c2b000 0x400>; 1430724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1431724ba675SRob Herring clocks = <&ccu CLK_APB1_I2C1>; 1432724ba675SRob Herring pinctrl-names = "default"; 1433724ba675SRob Herring pinctrl-0 = <&i2c1_pins>; 1434724ba675SRob Herring status = "disabled"; 1435724ba675SRob Herring #address-cells = <1>; 1436724ba675SRob Herring #size-cells = <0>; 1437724ba675SRob Herring }; 1438724ba675SRob Herring 1439724ba675SRob Herring i2c2: i2c@1c2b400 { 1440724ba675SRob Herring compatible = "allwinner,sun7i-a20-i2c", 1441724ba675SRob Herring "allwinner,sun4i-a10-i2c"; 1442724ba675SRob Herring reg = <0x01c2b400 0x400>; 1443724ba675SRob Herring interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 1444724ba675SRob Herring clocks = <&ccu CLK_APB1_I2C2>; 1445724ba675SRob Herring pinctrl-names = "default"; 1446724ba675SRob Herring pinctrl-0 = <&i2c2_pins>; 1447724ba675SRob Herring status = "disabled"; 1448724ba675SRob Herring #address-cells = <1>; 1449724ba675SRob Herring #size-cells = <0>; 1450724ba675SRob Herring }; 1451724ba675SRob Herring 1452724ba675SRob Herring i2c3: i2c@1c2b800 { 1453724ba675SRob Herring compatible = "allwinner,sun7i-a20-i2c", 1454724ba675SRob Herring "allwinner,sun4i-a10-i2c"; 1455724ba675SRob Herring reg = <0x01c2b800 0x400>; 1456724ba675SRob Herring interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1457724ba675SRob Herring clocks = <&ccu CLK_APB1_I2C3>; 1458724ba675SRob Herring pinctrl-names = "default"; 1459724ba675SRob Herring pinctrl-0 = <&i2c3_pins>; 1460724ba675SRob Herring status = "disabled"; 1461724ba675SRob Herring #address-cells = <1>; 1462724ba675SRob Herring #size-cells = <0>; 1463724ba675SRob Herring }; 1464724ba675SRob Herring 1465724ba675SRob Herring can0: can@1c2bc00 { 1466724ba675SRob Herring compatible = "allwinner,sun7i-a20-can", 1467724ba675SRob Herring "allwinner,sun4i-a10-can"; 1468724ba675SRob Herring reg = <0x01c2bc00 0x400>; 1469724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 1470724ba675SRob Herring clocks = <&ccu CLK_APB1_CAN>; 1471724ba675SRob Herring status = "disabled"; 1472724ba675SRob Herring }; 1473724ba675SRob Herring 1474724ba675SRob Herring i2c4: i2c@1c2c000 { 1475724ba675SRob Herring compatible = "allwinner,sun7i-a20-i2c", 1476724ba675SRob Herring "allwinner,sun4i-a10-i2c"; 1477724ba675SRob Herring reg = <0x01c2c000 0x400>; 1478724ba675SRob Herring interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 1479724ba675SRob Herring clocks = <&ccu CLK_APB1_I2C4>; 1480724ba675SRob Herring status = "disabled"; 1481724ba675SRob Herring #address-cells = <1>; 1482724ba675SRob Herring #size-cells = <0>; 1483724ba675SRob Herring }; 1484724ba675SRob Herring 1485724ba675SRob Herring mali: gpu@1c40000 { 1486724ba675SRob Herring compatible = "allwinner,sun7i-a20-mali", "arm,mali-400"; 1487724ba675SRob Herring reg = <0x01c40000 0x10000>; 1488724ba675SRob Herring interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, 1489724ba675SRob Herring <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 1490724ba675SRob Herring <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, 1491724ba675SRob Herring <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 1492724ba675SRob Herring <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, 1493724ba675SRob Herring <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, 1494724ba675SRob Herring <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 1495724ba675SRob Herring interrupt-names = "gp", 1496724ba675SRob Herring "gpmmu", 1497724ba675SRob Herring "pp0", 1498724ba675SRob Herring "ppmmu0", 1499724ba675SRob Herring "pp1", 1500724ba675SRob Herring "ppmmu1", 1501724ba675SRob Herring "pmu"; 1502724ba675SRob Herring clocks = <&ccu CLK_AHB_GPU>, <&ccu CLK_GPU>; 1503724ba675SRob Herring clock-names = "bus", "core"; 1504724ba675SRob Herring resets = <&ccu RST_GPU>; 1505724ba675SRob Herring 1506724ba675SRob Herring assigned-clocks = <&ccu CLK_GPU>; 1507724ba675SRob Herring assigned-clock-rates = <384000000>; 1508724ba675SRob Herring }; 1509724ba675SRob Herring 1510724ba675SRob Herring gmac: ethernet@1c50000 { 1511724ba675SRob Herring compatible = "allwinner,sun7i-a20-gmac"; 1512724ba675SRob Herring reg = <0x01c50000 0x10000>; 1513724ba675SRob Herring interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 1514724ba675SRob Herring interrupt-names = "macirq"; 1515724ba675SRob Herring clocks = <&ccu CLK_AHB_GMAC>, <&gmac_tx_clk>; 1516724ba675SRob Herring clock-names = "stmmaceth", "allwinner_gmac_tx"; 1517724ba675SRob Herring snps,pbl = <2>; 1518724ba675SRob Herring snps,fixed-burst; 1519724ba675SRob Herring snps,force_sf_dma_mode; 1520724ba675SRob Herring status = "disabled"; 1521724ba675SRob Herring 1522724ba675SRob Herring gmac_mdio: mdio { 1523724ba675SRob Herring compatible = "snps,dwmac-mdio"; 1524724ba675SRob Herring #address-cells = <1>; 1525724ba675SRob Herring #size-cells = <0>; 1526724ba675SRob Herring }; 1527724ba675SRob Herring }; 1528724ba675SRob Herring 1529724ba675SRob Herring hstimer@1c60000 { 1530724ba675SRob Herring compatible = "allwinner,sun7i-a20-hstimer"; 1531724ba675SRob Herring reg = <0x01c60000 0x1000>; 1532724ba675SRob Herring interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, 1533724ba675SRob Herring <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, 1534724ba675SRob Herring <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>, 1535724ba675SRob Herring <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 1536724ba675SRob Herring clocks = <&ccu CLK_AHB_HSTIMER>; 1537724ba675SRob Herring }; 1538724ba675SRob Herring 1539724ba675SRob Herring gic: interrupt-controller@1c81000 { 1540724ba675SRob Herring compatible = "arm,gic-400"; 1541724ba675SRob Herring reg = <0x01c81000 0x1000>, 1542724ba675SRob Herring <0x01c82000 0x2000>, 1543724ba675SRob Herring <0x01c84000 0x2000>, 1544724ba675SRob Herring <0x01c86000 0x2000>; 1545724ba675SRob Herring interrupt-controller; 1546724ba675SRob Herring #interrupt-cells = <3>; 1547724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 1548724ba675SRob Herring }; 1549724ba675SRob Herring 1550724ba675SRob Herring fe0: display-frontend@1e00000 { 1551724ba675SRob Herring compatible = "allwinner,sun7i-a20-display-frontend"; 1552724ba675SRob Herring reg = <0x01e00000 0x20000>; 1553724ba675SRob Herring interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 1554724ba675SRob Herring clocks = <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_FE0>, 1555724ba675SRob Herring <&ccu CLK_DRAM_DE_FE0>; 1556724ba675SRob Herring clock-names = "ahb", "mod", 1557724ba675SRob Herring "ram"; 1558724ba675SRob Herring resets = <&ccu RST_DE_FE0>; 1559724ba675SRob Herring 1560724ba675SRob Herring ports { 1561724ba675SRob Herring #address-cells = <1>; 1562724ba675SRob Herring #size-cells = <0>; 1563724ba675SRob Herring 1564724ba675SRob Herring fe0_out: port@1 { 1565724ba675SRob Herring #address-cells = <1>; 1566724ba675SRob Herring #size-cells = <0>; 1567724ba675SRob Herring reg = <1>; 1568724ba675SRob Herring 1569724ba675SRob Herring fe0_out_be0: endpoint@0 { 1570724ba675SRob Herring reg = <0>; 1571724ba675SRob Herring remote-endpoint = <&be0_in_fe0>; 1572724ba675SRob Herring }; 1573724ba675SRob Herring 1574724ba675SRob Herring fe0_out_be1: endpoint@1 { 1575724ba675SRob Herring reg = <1>; 1576724ba675SRob Herring remote-endpoint = <&be1_in_fe0>; 1577724ba675SRob Herring }; 1578724ba675SRob Herring }; 1579724ba675SRob Herring }; 1580724ba675SRob Herring }; 1581724ba675SRob Herring 1582724ba675SRob Herring fe1: display-frontend@1e20000 { 1583724ba675SRob Herring compatible = "allwinner,sun7i-a20-display-frontend"; 1584724ba675SRob Herring reg = <0x01e20000 0x20000>; 1585724ba675SRob Herring interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 1586724ba675SRob Herring clocks = <&ccu CLK_AHB_DE_FE1>, <&ccu CLK_DE_FE1>, 1587724ba675SRob Herring <&ccu CLK_DRAM_DE_FE1>; 1588724ba675SRob Herring clock-names = "ahb", "mod", 1589724ba675SRob Herring "ram"; 1590724ba675SRob Herring resets = <&ccu RST_DE_FE1>; 1591724ba675SRob Herring 1592724ba675SRob Herring ports { 1593724ba675SRob Herring #address-cells = <1>; 1594724ba675SRob Herring #size-cells = <0>; 1595724ba675SRob Herring 1596724ba675SRob Herring fe1_out: port@1 { 1597724ba675SRob Herring #address-cells = <1>; 1598724ba675SRob Herring #size-cells = <0>; 1599724ba675SRob Herring reg = <1>; 1600724ba675SRob Herring 1601724ba675SRob Herring fe1_out_be0: endpoint@0 { 1602724ba675SRob Herring reg = <0>; 1603724ba675SRob Herring remote-endpoint = <&be0_in_fe1>; 1604724ba675SRob Herring }; 1605724ba675SRob Herring 1606724ba675SRob Herring fe1_out_be1: endpoint@1 { 1607724ba675SRob Herring reg = <1>; 1608724ba675SRob Herring remote-endpoint = <&be1_in_fe1>; 1609724ba675SRob Herring }; 1610724ba675SRob Herring }; 1611724ba675SRob Herring }; 1612724ba675SRob Herring }; 1613724ba675SRob Herring 1614724ba675SRob Herring be1: display-backend@1e40000 { 1615724ba675SRob Herring compatible = "allwinner,sun7i-a20-display-backend"; 1616724ba675SRob Herring reg = <0x01e40000 0x10000>; 1617724ba675SRob Herring interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 1618724ba675SRob Herring clocks = <&ccu CLK_AHB_DE_BE1>, <&ccu CLK_DE_BE1>, 1619724ba675SRob Herring <&ccu CLK_DRAM_DE_BE1>; 1620724ba675SRob Herring clock-names = "ahb", "mod", 1621724ba675SRob Herring "ram"; 1622724ba675SRob Herring resets = <&ccu RST_DE_BE1>; 1623724ba675SRob Herring 1624724ba675SRob Herring ports { 1625724ba675SRob Herring #address-cells = <1>; 1626724ba675SRob Herring #size-cells = <0>; 1627724ba675SRob Herring 1628724ba675SRob Herring be1_in: port@0 { 1629724ba675SRob Herring #address-cells = <1>; 1630724ba675SRob Herring #size-cells = <0>; 1631724ba675SRob Herring reg = <0>; 1632724ba675SRob Herring 1633724ba675SRob Herring be1_in_fe0: endpoint@0 { 1634724ba675SRob Herring reg = <0>; 1635724ba675SRob Herring remote-endpoint = <&fe0_out_be1>; 1636724ba675SRob Herring }; 1637724ba675SRob Herring 1638724ba675SRob Herring be1_in_fe1: endpoint@1 { 1639724ba675SRob Herring reg = <1>; 1640724ba675SRob Herring remote-endpoint = <&fe1_out_be1>; 1641724ba675SRob Herring }; 1642724ba675SRob Herring }; 1643724ba675SRob Herring 1644724ba675SRob Herring be1_out: port@1 { 1645724ba675SRob Herring #address-cells = <1>; 1646724ba675SRob Herring #size-cells = <0>; 1647724ba675SRob Herring reg = <1>; 1648724ba675SRob Herring 1649724ba675SRob Herring be1_out_tcon0: endpoint@0 { 1650724ba675SRob Herring reg = <0>; 1651724ba675SRob Herring remote-endpoint = <&tcon0_in_be1>; 1652724ba675SRob Herring }; 1653724ba675SRob Herring 1654724ba675SRob Herring be1_out_tcon1: endpoint@1 { 1655724ba675SRob Herring reg = <1>; 1656724ba675SRob Herring remote-endpoint = <&tcon1_in_be1>; 1657724ba675SRob Herring }; 1658724ba675SRob Herring }; 1659724ba675SRob Herring }; 1660724ba675SRob Herring }; 1661724ba675SRob Herring 1662724ba675SRob Herring be0: display-backend@1e60000 { 1663724ba675SRob Herring compatible = "allwinner,sun7i-a20-display-backend"; 1664724ba675SRob Herring reg = <0x01e60000 0x10000>; 1665724ba675SRob Herring interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 1666724ba675SRob Herring clocks = <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_DE_BE0>, 1667724ba675SRob Herring <&ccu CLK_DRAM_DE_BE0>; 1668724ba675SRob Herring clock-names = "ahb", "mod", 1669724ba675SRob Herring "ram"; 1670724ba675SRob Herring resets = <&ccu RST_DE_BE0>; 1671724ba675SRob Herring 1672724ba675SRob Herring ports { 1673724ba675SRob Herring #address-cells = <1>; 1674724ba675SRob Herring #size-cells = <0>; 1675724ba675SRob Herring 1676724ba675SRob Herring be0_in: port@0 { 1677724ba675SRob Herring #address-cells = <1>; 1678724ba675SRob Herring #size-cells = <0>; 1679724ba675SRob Herring reg = <0>; 1680724ba675SRob Herring 1681724ba675SRob Herring be0_in_fe0: endpoint@0 { 1682724ba675SRob Herring reg = <0>; 1683724ba675SRob Herring remote-endpoint = <&fe0_out_be0>; 1684724ba675SRob Herring }; 1685724ba675SRob Herring 1686724ba675SRob Herring be0_in_fe1: endpoint@1 { 1687724ba675SRob Herring reg = <1>; 1688724ba675SRob Herring remote-endpoint = <&fe1_out_be0>; 1689724ba675SRob Herring }; 1690724ba675SRob Herring }; 1691724ba675SRob Herring 1692724ba675SRob Herring be0_out: port@1 { 1693724ba675SRob Herring #address-cells = <1>; 1694724ba675SRob Herring #size-cells = <0>; 1695724ba675SRob Herring reg = <1>; 1696724ba675SRob Herring 1697724ba675SRob Herring be0_out_tcon0: endpoint@0 { 1698724ba675SRob Herring reg = <0>; 1699724ba675SRob Herring remote-endpoint = <&tcon0_in_be0>; 1700724ba675SRob Herring }; 1701724ba675SRob Herring 1702724ba675SRob Herring be0_out_tcon1: endpoint@1 { 1703724ba675SRob Herring reg = <1>; 1704724ba675SRob Herring remote-endpoint = <&tcon1_in_be0>; 1705724ba675SRob Herring }; 1706724ba675SRob Herring }; 1707724ba675SRob Herring }; 1708724ba675SRob Herring }; 1709724ba675SRob Herring }; 1710724ba675SRob Herring}; 1711