1c328666dSNeil Armstrong/* 20e26f26fSAndreas Färber * Copyright (c) 2016 Andreas Färber 30e26f26fSAndreas Färber * 4c328666dSNeil Armstrong * Copyright (c) 2016 BayLibre, SAS. 5c328666dSNeil Armstrong * Author: Neil Armstrong <narmstrong@baylibre.com> 6c328666dSNeil Armstrong * 7c328666dSNeil Armstrong * Copyright (c) 2016 Endless Computers, Inc. 8c328666dSNeil Armstrong * Author: Carlo Caione <carlo@endlessm.com> 9c328666dSNeil Armstrong * 10c328666dSNeil Armstrong * This file is dual-licensed: you can use it either under the terms 11c328666dSNeil Armstrong * of the GPL or the X11 license, at your option. Note that this dual 12c328666dSNeil Armstrong * licensing only applies to this file, and not this project as a 13c328666dSNeil Armstrong * whole. 14c328666dSNeil Armstrong * 15c328666dSNeil Armstrong * a) This library is free software; you can redistribute it and/or 16c328666dSNeil Armstrong * modify it under the terms of the GNU General Public License as 17c328666dSNeil Armstrong * published by the Free Software Foundation; either version 2 of the 18c328666dSNeil Armstrong * License, or (at your option) any later version. 19c328666dSNeil Armstrong * 20c328666dSNeil Armstrong * This library is distributed in the hope that it will be useful, 21c328666dSNeil Armstrong * but WITHOUT ANY WARRANTY; without even the implied warranty of 22c328666dSNeil Armstrong * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23c328666dSNeil Armstrong * GNU General Public License for more details. 24c328666dSNeil Armstrong * 25c328666dSNeil Armstrong * Or, alternatively, 26c328666dSNeil Armstrong * 27c328666dSNeil Armstrong * b) Permission is hereby granted, free of charge, to any person 28c328666dSNeil Armstrong * obtaining a copy of this software and associated documentation 29c328666dSNeil Armstrong * files (the "Software"), to deal in the Software without 30c328666dSNeil Armstrong * restriction, including without limitation the rights to use, 31c328666dSNeil Armstrong * copy, modify, merge, publish, distribute, sublicense, and/or 32c328666dSNeil Armstrong * sell copies of the Software, and to permit persons to whom the 33c328666dSNeil Armstrong * Software is furnished to do so, subject to the following 34c328666dSNeil Armstrong * conditions: 35c328666dSNeil Armstrong * 36c328666dSNeil Armstrong * The above copyright notice and this permission notice shall be 37c328666dSNeil Armstrong * included in all copies or substantial portions of the Software. 38c328666dSNeil Armstrong * 39c328666dSNeil Armstrong * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 40c328666dSNeil Armstrong * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 41c328666dSNeil Armstrong * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 42c328666dSNeil Armstrong * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 43c328666dSNeil Armstrong * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 44c328666dSNeil Armstrong * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 45c328666dSNeil Armstrong * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 46c328666dSNeil Armstrong * OTHER DEALINGS IN THE SOFTWARE. 47c328666dSNeil Armstrong */ 48c328666dSNeil Armstrong 49c328666dSNeil Armstrong#include <dt-bindings/gpio/gpio.h> 50c328666dSNeil Armstrong#include <dt-bindings/interrupt-controller/irq.h> 51c328666dSNeil Armstrong#include <dt-bindings/interrupt-controller/arm-gic.h> 52c328666dSNeil Armstrong 53c328666dSNeil Armstrong/ { 54c328666dSNeil Armstrong interrupt-parent = <&gic>; 55c328666dSNeil Armstrong #address-cells = <2>; 56c328666dSNeil Armstrong #size-cells = <2>; 57c328666dSNeil Armstrong 58c328666dSNeil Armstrong cpus { 59c328666dSNeil Armstrong #address-cells = <0x2>; 60c328666dSNeil Armstrong #size-cells = <0x0>; 61c328666dSNeil Armstrong 62c328666dSNeil Armstrong cpu0: cpu@0 { 63c328666dSNeil Armstrong device_type = "cpu"; 64c328666dSNeil Armstrong compatible = "arm,cortex-a53", "arm,armv8"; 65c328666dSNeil Armstrong reg = <0x0 0x0>; 66c328666dSNeil Armstrong enable-method = "psci"; 67214ec523SNeil Armstrong next-level-cache = <&l2>; 6847961f13SMartin Blumenstingl clocks = <&scpi_dvfs 0>; 69c328666dSNeil Armstrong }; 70c328666dSNeil Armstrong 71c328666dSNeil Armstrong cpu1: cpu@1 { 72c328666dSNeil Armstrong device_type = "cpu"; 73c328666dSNeil Armstrong compatible = "arm,cortex-a53", "arm,armv8"; 74c328666dSNeil Armstrong reg = <0x0 0x1>; 75c328666dSNeil Armstrong enable-method = "psci"; 76214ec523SNeil Armstrong next-level-cache = <&l2>; 7747961f13SMartin Blumenstingl clocks = <&scpi_dvfs 0>; 78c328666dSNeil Armstrong }; 79c328666dSNeil Armstrong 80c328666dSNeil Armstrong cpu2: cpu@2 { 81c328666dSNeil Armstrong device_type = "cpu"; 82c328666dSNeil Armstrong compatible = "arm,cortex-a53", "arm,armv8"; 83c328666dSNeil Armstrong reg = <0x0 0x2>; 84c328666dSNeil Armstrong enable-method = "psci"; 85214ec523SNeil Armstrong next-level-cache = <&l2>; 8647961f13SMartin Blumenstingl clocks = <&scpi_dvfs 0>; 87c328666dSNeil Armstrong }; 88c328666dSNeil Armstrong 89c328666dSNeil Armstrong cpu3: cpu@3 { 90c328666dSNeil Armstrong device_type = "cpu"; 91c328666dSNeil Armstrong compatible = "arm,cortex-a53", "arm,armv8"; 92c328666dSNeil Armstrong reg = <0x0 0x3>; 93c328666dSNeil Armstrong enable-method = "psci"; 94214ec523SNeil Armstrong next-level-cache = <&l2>; 9547961f13SMartin Blumenstingl clocks = <&scpi_dvfs 0>; 96214ec523SNeil Armstrong }; 97214ec523SNeil Armstrong 98214ec523SNeil Armstrong l2: l2-cache0 { 99214ec523SNeil Armstrong compatible = "cache"; 100c328666dSNeil Armstrong }; 101c328666dSNeil Armstrong }; 102c328666dSNeil Armstrong 103c328666dSNeil Armstrong arm-pmu { 104c328666dSNeil Armstrong compatible = "arm,cortex-a53-pmu"; 105c328666dSNeil Armstrong interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, 106c328666dSNeil Armstrong <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, 107c328666dSNeil Armstrong <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, 108c328666dSNeil Armstrong <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 109c328666dSNeil Armstrong interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 110c328666dSNeil Armstrong }; 111c328666dSNeil Armstrong 112c328666dSNeil Armstrong psci { 113c328666dSNeil Armstrong compatible = "arm,psci-0.2"; 114c328666dSNeil Armstrong method = "smc"; 115c328666dSNeil Armstrong }; 116c328666dSNeil Armstrong 117c328666dSNeil Armstrong timer { 118c328666dSNeil Armstrong compatible = "arm,armv8-timer"; 119c328666dSNeil Armstrong interrupts = <GIC_PPI 13 120c328666dSNeil Armstrong (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 121c328666dSNeil Armstrong <GIC_PPI 14 122c328666dSNeil Armstrong (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 123c328666dSNeil Armstrong <GIC_PPI 11 124c328666dSNeil Armstrong (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 125c328666dSNeil Armstrong <GIC_PPI 10 126c328666dSNeil Armstrong (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>; 127c328666dSNeil Armstrong }; 128c328666dSNeil Armstrong 129c328666dSNeil Armstrong xtal: xtal-clk { 130c328666dSNeil Armstrong compatible = "fixed-clock"; 131c328666dSNeil Armstrong clock-frequency = <24000000>; 132c328666dSNeil Armstrong clock-output-names = "xtal"; 133c328666dSNeil Armstrong #clock-cells = <0>; 134c328666dSNeil Armstrong }; 135c328666dSNeil Armstrong 136998a9c8aSNeil Armstrong firmware { 137998a9c8aSNeil Armstrong sm: secure-monitor { 138998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-sm", "amlogic,meson-gxbb-sm"; 139998a9c8aSNeil Armstrong }; 140998a9c8aSNeil Armstrong }; 141998a9c8aSNeil Armstrong 142998a9c8aSNeil Armstrong efuse: efuse { 143998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-efuse", "amlogic,meson-gxbb-efuse"; 144998a9c8aSNeil Armstrong #address-cells = <1>; 145998a9c8aSNeil Armstrong #size-cells = <1>; 146998a9c8aSNeil Armstrong 147998a9c8aSNeil Armstrong sn: sn@14 { 148998a9c8aSNeil Armstrong reg = <0x14 0x10>; 149998a9c8aSNeil Armstrong }; 150998a9c8aSNeil Armstrong 151998a9c8aSNeil Armstrong eth_mac: eth_mac@34 { 152998a9c8aSNeil Armstrong reg = <0x34 0x10>; 153998a9c8aSNeil Armstrong }; 154998a9c8aSNeil Armstrong 155998a9c8aSNeil Armstrong bid: bid@46 { 156998a9c8aSNeil Armstrong reg = <0x46 0x30>; 157998a9c8aSNeil Armstrong }; 158998a9c8aSNeil Armstrong }; 159998a9c8aSNeil Armstrong 16047961f13SMartin Blumenstingl scpi { 16147961f13SMartin Blumenstingl compatible = "amlogic,meson-gxbb-scpi", "arm,scpi-pre-1.0"; 16247961f13SMartin Blumenstingl mboxes = <&mailbox 1 &mailbox 2>; 16347961f13SMartin Blumenstingl shmem = <&cpu_scp_lpri &cpu_scp_hpri>; 16447961f13SMartin Blumenstingl 16547961f13SMartin Blumenstingl scpi_clocks: clocks { 16647961f13SMartin Blumenstingl compatible = "arm,scpi-clocks"; 16747961f13SMartin Blumenstingl 16847961f13SMartin Blumenstingl scpi_dvfs: scpi_clocks@0 { 16947961f13SMartin Blumenstingl compatible = "arm,scpi-dvfs-clocks"; 17047961f13SMartin Blumenstingl #clock-cells = <1>; 17147961f13SMartin Blumenstingl clock-indices = <0>; 17247961f13SMartin Blumenstingl clock-output-names = "vcpu"; 17347961f13SMartin Blumenstingl }; 17447961f13SMartin Blumenstingl }; 17547961f13SMartin Blumenstingl 17647961f13SMartin Blumenstingl scpi_sensors: sensors { 17747961f13SMartin Blumenstingl compatible = "arm,scpi-sensors"; 17847961f13SMartin Blumenstingl #thermal-sensor-cells = <1>; 17947961f13SMartin Blumenstingl }; 18047961f13SMartin Blumenstingl }; 18147961f13SMartin Blumenstingl 182c328666dSNeil Armstrong soc { 183c328666dSNeil Armstrong compatible = "simple-bus"; 184c328666dSNeil Armstrong #address-cells = <2>; 185c328666dSNeil Armstrong #size-cells = <2>; 186c328666dSNeil Armstrong ranges; 187c328666dSNeil Armstrong 188c328666dSNeil Armstrong cbus: cbus@c1100000 { 189c328666dSNeil Armstrong compatible = "simple-bus"; 190c328666dSNeil Armstrong reg = <0x0 0xc1100000 0x0 0x100000>; 191c328666dSNeil Armstrong #address-cells = <2>; 192c328666dSNeil Armstrong #size-cells = <2>; 193c328666dSNeil Armstrong ranges = <0x0 0x0 0x0 0xc1100000 0x0 0x100000>; 194c328666dSNeil Armstrong 195998a9c8aSNeil Armstrong reset: reset-controller@4404 { 196998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-reset", "amlogic,meson-gxbb-reset"; 197998a9c8aSNeil Armstrong reg = <0x0 0x04404 0x0 0x20>; 198998a9c8aSNeil Armstrong #reset-cells = <1>; 199998a9c8aSNeil Armstrong }; 200998a9c8aSNeil Armstrong 201c328666dSNeil Armstrong uart_A: serial@84c0 { 202c328666dSNeil Armstrong compatible = "amlogic,meson-uart"; 203c328666dSNeil Armstrong reg = <0x0 0x84c0 0x0 0x14>; 204c328666dSNeil Armstrong interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>; 205c328666dSNeil Armstrong clocks = <&xtal>; 206c328666dSNeil Armstrong status = "disabled"; 207c328666dSNeil Armstrong }; 208998a9c8aSNeil Armstrong 209998a9c8aSNeil Armstrong uart_B: serial@84dc { 210998a9c8aSNeil Armstrong compatible = "amlogic,meson-uart"; 211998a9c8aSNeil Armstrong reg = <0x0 0x84dc 0x0 0x14>; 212998a9c8aSNeil Armstrong interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; 213998a9c8aSNeil Armstrong clocks = <&xtal>; 214998a9c8aSNeil Armstrong status = "disabled"; 215998a9c8aSNeil Armstrong }; 216998a9c8aSNeil Armstrong 217998a9c8aSNeil Armstrong i2c_A: i2c@8500 { 218998a9c8aSNeil Armstrong compatible = "amlogic,meson-gxbb-i2c"; 219998a9c8aSNeil Armstrong reg = <0x0 0x08500 0x0 0x20>; 220998a9c8aSNeil Armstrong interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>; 221998a9c8aSNeil Armstrong #address-cells = <1>; 222998a9c8aSNeil Armstrong #size-cells = <0>; 223998a9c8aSNeil Armstrong status = "disabled"; 224998a9c8aSNeil Armstrong }; 225998a9c8aSNeil Armstrong 226998a9c8aSNeil Armstrong pwm_ab: pwm@8550 { 227998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; 228998a9c8aSNeil Armstrong reg = <0x0 0x08550 0x0 0x10>; 229998a9c8aSNeil Armstrong #pwm-cells = <3>; 230998a9c8aSNeil Armstrong status = "disabled"; 231998a9c8aSNeil Armstrong }; 232998a9c8aSNeil Armstrong 233998a9c8aSNeil Armstrong pwm_cd: pwm@8650 { 234998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; 235998a9c8aSNeil Armstrong reg = <0x0 0x08650 0x0 0x10>; 236998a9c8aSNeil Armstrong #pwm-cells = <3>; 237998a9c8aSNeil Armstrong status = "disabled"; 238998a9c8aSNeil Armstrong }; 239998a9c8aSNeil Armstrong 240998a9c8aSNeil Armstrong pwm_ef: pwm@86c0 { 241998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm"; 242998a9c8aSNeil Armstrong reg = <0x0 0x086c0 0x0 0x10>; 243998a9c8aSNeil Armstrong #pwm-cells = <3>; 244998a9c8aSNeil Armstrong status = "disabled"; 245998a9c8aSNeil Armstrong }; 246998a9c8aSNeil Armstrong 247998a9c8aSNeil Armstrong uart_C: serial@8700 { 248998a9c8aSNeil Armstrong compatible = "amlogic,meson-uart"; 249998a9c8aSNeil Armstrong reg = <0x0 0x8700 0x0 0x14>; 250998a9c8aSNeil Armstrong interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>; 251998a9c8aSNeil Armstrong clocks = <&xtal>; 252998a9c8aSNeil Armstrong status = "disabled"; 253998a9c8aSNeil Armstrong }; 254998a9c8aSNeil Armstrong 255998a9c8aSNeil Armstrong i2c_B: i2c@87c0 { 256998a9c8aSNeil Armstrong compatible = "amlogic,meson-gxbb-i2c"; 257998a9c8aSNeil Armstrong reg = <0x0 0x087c0 0x0 0x20>; 258998a9c8aSNeil Armstrong interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>; 259998a9c8aSNeil Armstrong #address-cells = <1>; 260998a9c8aSNeil Armstrong #size-cells = <0>; 261998a9c8aSNeil Armstrong status = "disabled"; 262998a9c8aSNeil Armstrong }; 263998a9c8aSNeil Armstrong 264998a9c8aSNeil Armstrong i2c_C: i2c@87e0 { 265998a9c8aSNeil Armstrong compatible = "amlogic,meson-gxbb-i2c"; 266998a9c8aSNeil Armstrong reg = <0x0 0x087e0 0x0 0x20>; 267998a9c8aSNeil Armstrong interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>; 268998a9c8aSNeil Armstrong #address-cells = <1>; 269998a9c8aSNeil Armstrong #size-cells = <0>; 270998a9c8aSNeil Armstrong status = "disabled"; 271998a9c8aSNeil Armstrong }; 272998a9c8aSNeil Armstrong 273998a9c8aSNeil Armstrong watchdog@98d0 { 274998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-wdt", "amlogic,meson-gxbb-wdt"; 275998a9c8aSNeil Armstrong reg = <0x0 0x098d0 0x0 0x10>; 276998a9c8aSNeil Armstrong clocks = <&xtal>; 277998a9c8aSNeil Armstrong }; 278c328666dSNeil Armstrong }; 279c328666dSNeil Armstrong 280c328666dSNeil Armstrong gic: interrupt-controller@c4301000 { 281c328666dSNeil Armstrong compatible = "arm,gic-400"; 282c328666dSNeil Armstrong reg = <0x0 0xc4301000 0 0x1000>, 283c328666dSNeil Armstrong <0x0 0xc4302000 0 0x2000>, 284c328666dSNeil Armstrong <0x0 0xc4304000 0 0x2000>, 285c328666dSNeil Armstrong <0x0 0xc4306000 0 0x2000>; 286c328666dSNeil Armstrong interrupt-controller; 287c328666dSNeil Armstrong interrupts = <GIC_PPI 9 288c328666dSNeil Armstrong (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; 289c328666dSNeil Armstrong #interrupt-cells = <3>; 290c328666dSNeil Armstrong #address-cells = <0>; 291c328666dSNeil Armstrong }; 292c328666dSNeil Armstrong 29347961f13SMartin Blumenstingl sram: sram@c8000000 { 29447961f13SMartin Blumenstingl compatible = "amlogic,meson-gxbb-sram", "mmio-sram"; 29547961f13SMartin Blumenstingl reg = <0x0 0xc8000000 0x0 0x14000>; 29647961f13SMartin Blumenstingl 29747961f13SMartin Blumenstingl #address-cells = <1>; 29847961f13SMartin Blumenstingl #size-cells = <1>; 29947961f13SMartin Blumenstingl ranges = <0 0x0 0xc8000000 0x14000>; 30047961f13SMartin Blumenstingl 30147961f13SMartin Blumenstingl cpu_scp_lpri: scp-shmem@0 { 30247961f13SMartin Blumenstingl compatible = "amlogic,meson-gxbb-scp-shmem"; 30347961f13SMartin Blumenstingl reg = <0x13000 0x400>; 30447961f13SMartin Blumenstingl }; 30547961f13SMartin Blumenstingl 30647961f13SMartin Blumenstingl cpu_scp_hpri: scp-shmem@200 { 30747961f13SMartin Blumenstingl compatible = "amlogic,meson-gxbb-scp-shmem"; 30847961f13SMartin Blumenstingl reg = <0x13400 0x400>; 30947961f13SMartin Blumenstingl }; 31047961f13SMartin Blumenstingl }; 31147961f13SMartin Blumenstingl 312c328666dSNeil Armstrong aobus: aobus@c8100000 { 313c328666dSNeil Armstrong compatible = "simple-bus"; 314c328666dSNeil Armstrong reg = <0x0 0xc8100000 0x0 0x100000>; 315c328666dSNeil Armstrong #address-cells = <2>; 316c328666dSNeil Armstrong #size-cells = <2>; 317c328666dSNeil Armstrong ranges = <0x0 0x0 0x0 0xc8100000 0x0 0x100000>; 318c328666dSNeil Armstrong 319c328666dSNeil Armstrong uart_AO: serial@4c0 { 320c328666dSNeil Armstrong compatible = "amlogic,meson-uart"; 321c328666dSNeil Armstrong reg = <0x0 0x004c0 0x0 0x14>; 322c328666dSNeil Armstrong interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>; 323c328666dSNeil Armstrong clocks = <&xtal>; 324c328666dSNeil Armstrong status = "disabled"; 325c328666dSNeil Armstrong }; 326998a9c8aSNeil Armstrong 327998a9c8aSNeil Armstrong ir: ir@580 { 328998a9c8aSNeil Armstrong compatible = "amlogic,meson-gxbb-ir"; 329998a9c8aSNeil Armstrong reg = <0x0 0x00580 0x0 0x40>; 330998a9c8aSNeil Armstrong interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>; 331998a9c8aSNeil Armstrong status = "disabled"; 332998a9c8aSNeil Armstrong }; 333c328666dSNeil Armstrong }; 334c328666dSNeil Armstrong 335c328666dSNeil Armstrong periphs: periphs@c8834000 { 336c328666dSNeil Armstrong compatible = "simple-bus"; 337c328666dSNeil Armstrong reg = <0x0 0xc8834000 0x0 0x2000>; 338c328666dSNeil Armstrong #address-cells = <2>; 339c328666dSNeil Armstrong #size-cells = <2>; 340c328666dSNeil Armstrong ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>; 341998a9c8aSNeil Armstrong 342998a9c8aSNeil Armstrong rng { 343998a9c8aSNeil Armstrong compatible = "amlogic,meson-rng"; 344998a9c8aSNeil Armstrong reg = <0x0 0x0 0x0 0x4>; 345998a9c8aSNeil Armstrong }; 346c328666dSNeil Armstrong }; 347c328666dSNeil Armstrong 348c328666dSNeil Armstrong 349c328666dSNeil Armstrong hiubus: hiubus@c883c000 { 350c328666dSNeil Armstrong compatible = "simple-bus"; 351c328666dSNeil Armstrong reg = <0x0 0xc883c000 0x0 0x2000>; 352c328666dSNeil Armstrong #address-cells = <2>; 353c328666dSNeil Armstrong #size-cells = <2>; 354c328666dSNeil Armstrong ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>; 355998a9c8aSNeil Armstrong 356998a9c8aSNeil Armstrong mailbox: mailbox@404 { 357998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu"; 358998a9c8aSNeil Armstrong reg = <0 0x404 0 0x4c>; 359998a9c8aSNeil Armstrong interrupts = <0 208 IRQ_TYPE_EDGE_RISING>, 360998a9c8aSNeil Armstrong <0 209 IRQ_TYPE_EDGE_RISING>, 361998a9c8aSNeil Armstrong <0 210 IRQ_TYPE_EDGE_RISING>; 362998a9c8aSNeil Armstrong #mbox-cells = <1>; 363998a9c8aSNeil Armstrong }; 364998a9c8aSNeil Armstrong }; 365998a9c8aSNeil Armstrong 366998a9c8aSNeil Armstrong ethmac: ethernet@c9410000 { 367998a9c8aSNeil Armstrong compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac"; 368998a9c8aSNeil Armstrong reg = <0x0 0xc9410000 0x0 0x10000 369998a9c8aSNeil Armstrong 0x0 0xc8834540 0x0 0x4>; 370998a9c8aSNeil Armstrong interrupts = <0 8 1>; 371998a9c8aSNeil Armstrong interrupt-names = "macirq"; 372998a9c8aSNeil Armstrong phy-mode = "rgmii"; 373998a9c8aSNeil Armstrong status = "disabled"; 374c328666dSNeil Armstrong }; 375c328666dSNeil Armstrong 376c328666dSNeil Armstrong apb: apb@d0000000 { 377c328666dSNeil Armstrong compatible = "simple-bus"; 378c328666dSNeil Armstrong reg = <0x0 0xd0000000 0x0 0x200000>; 379c328666dSNeil Armstrong #address-cells = <2>; 380c328666dSNeil Armstrong #size-cells = <2>; 381c328666dSNeil Armstrong ranges = <0x0 0x0 0x0 0xd0000000 0x0 0x200000>; 382ef8d2ffeSKevin Hilman 383ef8d2ffeSKevin Hilman sd_emmc_a: mmc@70000 { 384ef8d2ffeSKevin Hilman compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; 385ef8d2ffeSKevin Hilman reg = <0x0 0x70000 0x0 0x2000>; 386ef8d2ffeSKevin Hilman interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>; 387ef8d2ffeSKevin Hilman status = "disabled"; 388ef8d2ffeSKevin Hilman }; 389ef8d2ffeSKevin Hilman 390ef8d2ffeSKevin Hilman sd_emmc_b: mmc@72000 { 391ef8d2ffeSKevin Hilman compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; 392ef8d2ffeSKevin Hilman reg = <0x0 0x72000 0x0 0x2000>; 393ef8d2ffeSKevin Hilman interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; 394ef8d2ffeSKevin Hilman status = "disabled"; 395ef8d2ffeSKevin Hilman }; 396ef8d2ffeSKevin Hilman 397ef8d2ffeSKevin Hilman sd_emmc_c: mmc@74000 { 398ef8d2ffeSKevin Hilman compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; 399ef8d2ffeSKevin Hilman reg = <0x0 0x74000 0x0 0x2000>; 400ef8d2ffeSKevin Hilman interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; 401ef8d2ffeSKevin Hilman status = "disabled"; 402ef8d2ffeSKevin Hilman }; 403c328666dSNeil Armstrong }; 404fafdbdf7SNeil Armstrong 405fafdbdf7SNeil Armstrong vpu: vpu@d0100000 { 406fafdbdf7SNeil Armstrong compatible = "amlogic,meson-gx-vpu"; 407fafdbdf7SNeil Armstrong reg = <0x0 0xd0100000 0x0 0x100000>, 408fafdbdf7SNeil Armstrong <0x0 0xc883c000 0x0 0x1000>, 409fafdbdf7SNeil Armstrong <0x0 0xc8838000 0x0 0x1000>; 410fafdbdf7SNeil Armstrong reg-names = "vpu", "hhi", "dmc"; 411fafdbdf7SNeil Armstrong interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; 412fafdbdf7SNeil Armstrong #address-cells = <1>; 413fafdbdf7SNeil Armstrong #size-cells = <0>; 414fafdbdf7SNeil Armstrong 415fafdbdf7SNeil Armstrong /* CVBS VDAC output port */ 416fafdbdf7SNeil Armstrong cvbs_vdac_port: port@0 { 417fafdbdf7SNeil Armstrong reg = <0>; 418fafdbdf7SNeil Armstrong }; 419fafdbdf7SNeil Armstrong }; 420c328666dSNeil Armstrong }; 421c328666dSNeil Armstrong}; 422