1dd8c7b78SManivannan Sadhasivam// SPDX-License-Identifier: GPL-2.0 2dd8c7b78SManivannan Sadhasivam/* 3dd8c7b78SManivannan Sadhasivam * dts file for Hisilicon Hi3670 SoC 4dd8c7b78SManivannan Sadhasivam * 5dd8c7b78SManivannan Sadhasivam * Copyright (C) 2016, Hisilicon Ltd. 6dd8c7b78SManivannan Sadhasivam * Copyright (C) 2018, Linaro Ltd. 7dd8c7b78SManivannan Sadhasivam */ 8dd8c7b78SManivannan Sadhasivam 9dd8c7b78SManivannan Sadhasivam#include <dt-bindings/interrupt-controller/arm-gic.h> 10c00e3f80SManivannan Sadhasivam#include <dt-bindings/clock/hi3670-clock.h> 11dd8c7b78SManivannan Sadhasivam 12dd8c7b78SManivannan Sadhasivam/ { 13dd8c7b78SManivannan Sadhasivam compatible = "hisilicon,hi3670"; 14dd8c7b78SManivannan Sadhasivam interrupt-parent = <&gic>; 15dd8c7b78SManivannan Sadhasivam #address-cells = <2>; 16dd8c7b78SManivannan Sadhasivam #size-cells = <2>; 17dd8c7b78SManivannan Sadhasivam 18dd8c7b78SManivannan Sadhasivam psci { 19dd8c7b78SManivannan Sadhasivam compatible = "arm,psci-0.2"; 20dd8c7b78SManivannan Sadhasivam method = "smc"; 21dd8c7b78SManivannan Sadhasivam }; 22dd8c7b78SManivannan Sadhasivam 23dd8c7b78SManivannan Sadhasivam cpus { 24dd8c7b78SManivannan Sadhasivam #address-cells = <2>; 25dd8c7b78SManivannan Sadhasivam #size-cells = <0>; 26dd8c7b78SManivannan Sadhasivam 27dd8c7b78SManivannan Sadhasivam cpu-map { 28dd8c7b78SManivannan Sadhasivam cluster0 { 29dd8c7b78SManivannan Sadhasivam core0 { 30dd8c7b78SManivannan Sadhasivam cpu = <&cpu0>; 31dd8c7b78SManivannan Sadhasivam }; 32dd8c7b78SManivannan Sadhasivam core1 { 33dd8c7b78SManivannan Sadhasivam cpu = <&cpu1>; 34dd8c7b78SManivannan Sadhasivam }; 35dd8c7b78SManivannan Sadhasivam core2 { 36dd8c7b78SManivannan Sadhasivam cpu = <&cpu2>; 37dd8c7b78SManivannan Sadhasivam }; 38dd8c7b78SManivannan Sadhasivam core3 { 39dd8c7b78SManivannan Sadhasivam cpu = <&cpu3>; 40dd8c7b78SManivannan Sadhasivam }; 41dd8c7b78SManivannan Sadhasivam }; 42dd8c7b78SManivannan Sadhasivam cluster1 { 43dd8c7b78SManivannan Sadhasivam core0 { 44dd8c7b78SManivannan Sadhasivam cpu = <&cpu4>; 45dd8c7b78SManivannan Sadhasivam }; 46dd8c7b78SManivannan Sadhasivam core1 { 47dd8c7b78SManivannan Sadhasivam cpu = <&cpu5>; 48dd8c7b78SManivannan Sadhasivam }; 49dd8c7b78SManivannan Sadhasivam core2 { 50dd8c7b78SManivannan Sadhasivam cpu = <&cpu6>; 51dd8c7b78SManivannan Sadhasivam }; 52dd8c7b78SManivannan Sadhasivam core3 { 53dd8c7b78SManivannan Sadhasivam cpu = <&cpu7>; 54dd8c7b78SManivannan Sadhasivam }; 55dd8c7b78SManivannan Sadhasivam }; 56dd8c7b78SManivannan Sadhasivam }; 57dd8c7b78SManivannan Sadhasivam 58dd8c7b78SManivannan Sadhasivam cpu0: cpu@0 { 59dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a53", "arm,armv8"; 60dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 61dd8c7b78SManivannan Sadhasivam reg = <0x0 0x0>; 62dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 63dd8c7b78SManivannan Sadhasivam }; 64dd8c7b78SManivannan Sadhasivam 65dd8c7b78SManivannan Sadhasivam cpu1: cpu@1 { 66dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a53", "arm,armv8"; 67dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 68dd8c7b78SManivannan Sadhasivam reg = <0x0 0x1>; 69dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 70dd8c7b78SManivannan Sadhasivam }; 71dd8c7b78SManivannan Sadhasivam 72dd8c7b78SManivannan Sadhasivam cpu2: cpu@2 { 73dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a53", "arm,armv8"; 74dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 75dd8c7b78SManivannan Sadhasivam reg = <0x0 0x2>; 76dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 77dd8c7b78SManivannan Sadhasivam }; 78dd8c7b78SManivannan Sadhasivam 79dd8c7b78SManivannan Sadhasivam cpu3: cpu@3 { 80dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a53", "arm,armv8"; 81dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 82dd8c7b78SManivannan Sadhasivam reg = <0x0 0x3>; 83dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 84dd8c7b78SManivannan Sadhasivam }; 85dd8c7b78SManivannan Sadhasivam 86dd8c7b78SManivannan Sadhasivam cpu4: cpu@100 { 87dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a73", "arm,armv8"; 88dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 89dd8c7b78SManivannan Sadhasivam reg = <0x0 0x100>; 90dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 91dd8c7b78SManivannan Sadhasivam }; 92dd8c7b78SManivannan Sadhasivam 93dd8c7b78SManivannan Sadhasivam cpu5: cpu@101 { 94dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a73", "arm,armv8"; 95dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 96dd8c7b78SManivannan Sadhasivam reg = <0x0 0x101>; 97dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 98dd8c7b78SManivannan Sadhasivam }; 99dd8c7b78SManivannan Sadhasivam 100dd8c7b78SManivannan Sadhasivam cpu6: cpu@102 { 101dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a73", "arm,armv8"; 102dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 103dd8c7b78SManivannan Sadhasivam reg = <0x0 0x102>; 104dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 105dd8c7b78SManivannan Sadhasivam }; 106dd8c7b78SManivannan Sadhasivam 107dd8c7b78SManivannan Sadhasivam cpu7: cpu@103 { 108dd8c7b78SManivannan Sadhasivam compatible = "arm,cortex-a73", "arm,armv8"; 109dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 110dd8c7b78SManivannan Sadhasivam reg = <0x0 0x103>; 111dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 112dd8c7b78SManivannan Sadhasivam }; 113dd8c7b78SManivannan Sadhasivam }; 114dd8c7b78SManivannan Sadhasivam 115dd8c7b78SManivannan Sadhasivam gic: interrupt-controller@e82b0000 { 116dd8c7b78SManivannan Sadhasivam compatible = "arm,gic-400"; 117dd8c7b78SManivannan Sadhasivam reg = <0x0 0xe82b1000 0 0x1000>, /* GICD */ 118dd8c7b78SManivannan Sadhasivam <0x0 0xe82b2000 0 0x2000>, /* GICC */ 119dd8c7b78SManivannan Sadhasivam <0x0 0xe82b4000 0 0x2000>, /* GICH */ 120dd8c7b78SManivannan Sadhasivam <0x0 0xe82b6000 0 0x2000>; /* GICV */ 121dd8c7b78SManivannan Sadhasivam #interrupt-cells = <3>; 122dd8c7b78SManivannan Sadhasivam #address-cells = <0>; 123dd8c7b78SManivannan Sadhasivam interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | 124dd8c7b78SManivannan Sadhasivam IRQ_TYPE_LEVEL_HIGH)>; 125dd8c7b78SManivannan Sadhasivam interrupt-controller; 126dd8c7b78SManivannan Sadhasivam }; 127dd8c7b78SManivannan Sadhasivam 128dd8c7b78SManivannan Sadhasivam timer { 129dd8c7b78SManivannan Sadhasivam compatible = "arm,armv8-timer"; 130dd8c7b78SManivannan Sadhasivam interrupt-parent = <&gic>; 131dd8c7b78SManivannan Sadhasivam interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | 132dd8c7b78SManivannan Sadhasivam IRQ_TYPE_LEVEL_LOW)>, 133dd8c7b78SManivannan Sadhasivam <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | 134dd8c7b78SManivannan Sadhasivam IRQ_TYPE_LEVEL_LOW)>, 135dd8c7b78SManivannan Sadhasivam <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | 136dd8c7b78SManivannan Sadhasivam IRQ_TYPE_LEVEL_LOW)>, 137dd8c7b78SManivannan Sadhasivam <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | 138dd8c7b78SManivannan Sadhasivam IRQ_TYPE_LEVEL_LOW)>; 139dd8c7b78SManivannan Sadhasivam clock-frequency = <1920000>; 140dd8c7b78SManivannan Sadhasivam }; 141dd8c7b78SManivannan Sadhasivam 142dd8c7b78SManivannan Sadhasivam soc { 143dd8c7b78SManivannan Sadhasivam compatible = "simple-bus"; 144dd8c7b78SManivannan Sadhasivam #address-cells = <2>; 145dd8c7b78SManivannan Sadhasivam #size-cells = <2>; 146dd8c7b78SManivannan Sadhasivam ranges; 147dd8c7b78SManivannan Sadhasivam 148c00e3f80SManivannan Sadhasivam crg_ctrl: crg_ctrl@fff35000 { 149c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-crgctrl", "syscon"; 150c00e3f80SManivannan Sadhasivam reg = <0x0 0xfff35000 0x0 0x1000>; 151c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 152c00e3f80SManivannan Sadhasivam }; 153c00e3f80SManivannan Sadhasivam 154c00e3f80SManivannan Sadhasivam pctrl: pctrl@e8a09000 { 155c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-pctrl", "syscon"; 156c00e3f80SManivannan Sadhasivam reg = <0x0 0xe8a09000 0x0 0x1000>; 157c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 158c00e3f80SManivannan Sadhasivam }; 159c00e3f80SManivannan Sadhasivam 160c00e3f80SManivannan Sadhasivam pmuctrl: crg_ctrl@fff34000 { 161c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-pmuctrl", "syscon"; 162c00e3f80SManivannan Sadhasivam reg = <0x0 0xfff34000 0x0 0x1000>; 163c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 164c00e3f80SManivannan Sadhasivam }; 165c00e3f80SManivannan Sadhasivam 166c00e3f80SManivannan Sadhasivam sctrl: sctrl@fff0a000 { 167c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-sctrl", "syscon"; 168c00e3f80SManivannan Sadhasivam reg = <0x0 0xfff0a000 0x0 0x1000>; 169c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 170c00e3f80SManivannan Sadhasivam }; 171c00e3f80SManivannan Sadhasivam 172c00e3f80SManivannan Sadhasivam iomcu: iomcu@ffd7e000 { 173c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-iomcu", "syscon"; 174c00e3f80SManivannan Sadhasivam reg = <0x0 0xffd7e000 0x0 0x1000>; 175c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 176c00e3f80SManivannan Sadhasivam }; 177c00e3f80SManivannan Sadhasivam 178c00e3f80SManivannan Sadhasivam media1_crg: media1_crgctrl@e87ff000 { 179c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-media1-crg", "syscon"; 180c00e3f80SManivannan Sadhasivam reg = <0x0 0xe87ff000 0x0 0x1000>; 181c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 182c00e3f80SManivannan Sadhasivam }; 183c00e3f80SManivannan Sadhasivam 184c00e3f80SManivannan Sadhasivam media2_crg: media2_crgctrl@e8900000 { 185c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-media2-crg","syscon"; 186c00e3f80SManivannan Sadhasivam reg = <0x0 0xe8900000 0x0 0x1000>; 187c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 188c00e3f80SManivannan Sadhasivam }; 189c00e3f80SManivannan Sadhasivam 190dd8c7b78SManivannan Sadhasivam uart6: serial@fff32000 { 191dd8c7b78SManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 192dd8c7b78SManivannan Sadhasivam reg = <0x0 0xfff32000 0x0 0x1000>; 193dd8c7b78SManivannan Sadhasivam interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 194a758dd2eSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_UART6>, 195a758dd2eSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 196dd8c7b78SManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 197dd8c7b78SManivannan Sadhasivam status = "disabled"; 198dd8c7b78SManivannan Sadhasivam }; 199*e1881302SManivannan Sadhasivam 200*e1881302SManivannan Sadhasivam gpio0: gpio@e8a0b000 { 201*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 202*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0b000 0x0 0x1000>; 203*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 204*e1881302SManivannan Sadhasivam gpio-controller; 205*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 206*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 0 1 &pmx0 3 1 5>; 207*e1881302SManivannan Sadhasivam interrupt-controller; 208*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 209*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO0>; 210*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 211*e1881302SManivannan Sadhasivam }; 212*e1881302SManivannan Sadhasivam 213*e1881302SManivannan Sadhasivam gpio1: gpio@e8a0c000 { 214*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 215*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0c000 0x0 0x1000>; 216*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 217*e1881302SManivannan Sadhasivam gpio-controller; 218*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 219*e1881302SManivannan Sadhasivam interrupt-controller; 220*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 221*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO1>; 222*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 223*e1881302SManivannan Sadhasivam }; 224*e1881302SManivannan Sadhasivam 225*e1881302SManivannan Sadhasivam gpio2: gpio@e8a0d000 { 226*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 227*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0d000 0x0 0x1000>; 228*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 229*e1881302SManivannan Sadhasivam gpio-controller; 230*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 231*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 6 7>; 232*e1881302SManivannan Sadhasivam interrupt-controller; 233*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 234*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO2>; 235*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 236*e1881302SManivannan Sadhasivam }; 237*e1881302SManivannan Sadhasivam 238*e1881302SManivannan Sadhasivam gpio3: gpio@e8a0e000 { 239*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 240*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0e000 0x0 0x1000>; 241*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 242*e1881302SManivannan Sadhasivam gpio-controller; 243*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 244*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 13 4 &pmx0 7 17 1>; 245*e1881302SManivannan Sadhasivam interrupt-controller; 246*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 247*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO3>; 248*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 249*e1881302SManivannan Sadhasivam }; 250*e1881302SManivannan Sadhasivam 251*e1881302SManivannan Sadhasivam gpio4: gpio@e8a0f000 { 252*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 253*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0f000 0x0 0x1000>; 254*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 255*e1881302SManivannan Sadhasivam gpio-controller; 256*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 257*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 18 8>; 258*e1881302SManivannan Sadhasivam interrupt-controller; 259*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 260*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO4>; 261*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 262*e1881302SManivannan Sadhasivam }; 263*e1881302SManivannan Sadhasivam 264*e1881302SManivannan Sadhasivam gpio5: gpio@e8a10000 { 265*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 266*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a10000 0x0 0x1000>; 267*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 268*e1881302SManivannan Sadhasivam gpio-controller; 269*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 270*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 26 8>; 271*e1881302SManivannan Sadhasivam interrupt-controller; 272*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 273*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO5>; 274*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 275*e1881302SManivannan Sadhasivam }; 276*e1881302SManivannan Sadhasivam 277*e1881302SManivannan Sadhasivam gpio6: gpio@e8a11000 { 278*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 279*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a11000 0x0 0x1000>; 280*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 281*e1881302SManivannan Sadhasivam gpio-controller; 282*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 283*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 34 7>; 284*e1881302SManivannan Sadhasivam interrupt-controller; 285*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 286*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO6>; 287*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 288*e1881302SManivannan Sadhasivam }; 289*e1881302SManivannan Sadhasivam 290*e1881302SManivannan Sadhasivam gpio7: gpio@e8a12000 { 291*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 292*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a12000 0x0 0x1000>; 293*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 294*e1881302SManivannan Sadhasivam gpio-controller; 295*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 296*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 41 8>; 297*e1881302SManivannan Sadhasivam interrupt-controller; 298*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 299*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO7>; 300*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 301*e1881302SManivannan Sadhasivam }; 302*e1881302SManivannan Sadhasivam 303*e1881302SManivannan Sadhasivam gpio8: gpio@e8a13000 { 304*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 305*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a13000 0x0 0x1000>; 306*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 307*e1881302SManivannan Sadhasivam gpio-controller; 308*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 309*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 49 8>; 310*e1881302SManivannan Sadhasivam interrupt-controller; 311*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 312*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO8>; 313*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 314*e1881302SManivannan Sadhasivam }; 315*e1881302SManivannan Sadhasivam 316*e1881302SManivannan Sadhasivam gpio9: gpio@e8a14000 { 317*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 318*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a14000 0x0 0x1000>; 319*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 320*e1881302SManivannan Sadhasivam gpio-controller; 321*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 322*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 57 8>; 323*e1881302SManivannan Sadhasivam interrupt-controller; 324*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 325*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO9>; 326*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 327*e1881302SManivannan Sadhasivam }; 328*e1881302SManivannan Sadhasivam 329*e1881302SManivannan Sadhasivam gpio10: gpio@e8a15000 { 330*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 331*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a15000 0x0 0x1000>; 332*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 333*e1881302SManivannan Sadhasivam gpio-controller; 334*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 335*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 65 8>; 336*e1881302SManivannan Sadhasivam interrupt-controller; 337*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 338*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO10>; 339*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 340*e1881302SManivannan Sadhasivam }; 341*e1881302SManivannan Sadhasivam 342*e1881302SManivannan Sadhasivam gpio11: gpio@e8a16000 { 343*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 344*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a16000 0x0 0x1000>; 345*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 346*e1881302SManivannan Sadhasivam gpio-controller; 347*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 348*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 73 8>; 349*e1881302SManivannan Sadhasivam interrupt-controller; 350*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 351*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO11>; 352*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 353*e1881302SManivannan Sadhasivam }; 354*e1881302SManivannan Sadhasivam 355*e1881302SManivannan Sadhasivam gpio12: gpio@e8a17000 { 356*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 357*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a17000 0x0 0x1000>; 358*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 359*e1881302SManivannan Sadhasivam gpio-controller; 360*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 361*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 81 1>; 362*e1881302SManivannan Sadhasivam interrupt-controller; 363*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 364*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO12>; 365*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 366*e1881302SManivannan Sadhasivam }; 367*e1881302SManivannan Sadhasivam 368*e1881302SManivannan Sadhasivam gpio13: gpio@e8a18000 { 369*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 370*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a18000 0x0 0x1000>; 371*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 372*e1881302SManivannan Sadhasivam gpio-controller; 373*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 374*e1881302SManivannan Sadhasivam interrupt-controller; 375*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 376*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO13>; 377*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 378*e1881302SManivannan Sadhasivam }; 379*e1881302SManivannan Sadhasivam 380*e1881302SManivannan Sadhasivam gpio14: gpio@e8a19000 { 381*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 382*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a19000 0x0 0x1000>; 383*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 384*e1881302SManivannan Sadhasivam gpio-controller; 385*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 386*e1881302SManivannan Sadhasivam interrupt-controller; 387*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 388*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO14>; 389*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 390*e1881302SManivannan Sadhasivam }; 391*e1881302SManivannan Sadhasivam 392*e1881302SManivannan Sadhasivam gpio15: gpio@e8a1a000 { 393*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 394*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1a000 0x0 0x1000>; 395*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 396*e1881302SManivannan Sadhasivam gpio-controller; 397*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 398*e1881302SManivannan Sadhasivam interrupt-controller; 399*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 400*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO15>; 401*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 402*e1881302SManivannan Sadhasivam }; 403*e1881302SManivannan Sadhasivam 404*e1881302SManivannan Sadhasivam gpio16: gpio@e8a1b000 { 405*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 406*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1b000 0x0 0x1000>; 407*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 408*e1881302SManivannan Sadhasivam gpio-controller; 409*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 410*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx5 0 0 8>; 411*e1881302SManivannan Sadhasivam interrupt-controller; 412*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 413*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO16>; 414*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 415*e1881302SManivannan Sadhasivam }; 416*e1881302SManivannan Sadhasivam 417*e1881302SManivannan Sadhasivam gpio17: gpio@e8a1c000 { 418*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 419*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1c000 0x0 0x1000>; 420*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 421*e1881302SManivannan Sadhasivam gpio-controller; 422*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 423*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx5 0 8 2>; 424*e1881302SManivannan Sadhasivam interrupt-controller; 425*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 426*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO17>; 427*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 428*e1881302SManivannan Sadhasivam }; 429*e1881302SManivannan Sadhasivam 430*e1881302SManivannan Sadhasivam gpio18: gpio@fff28000 { 431*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 432*e1881302SManivannan Sadhasivam reg = <0x0 0xfff28000 0x0 0x1000>; 433*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 434*e1881302SManivannan Sadhasivam gpio-controller; 435*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 436*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 4 42 4>; 437*e1881302SManivannan Sadhasivam interrupt-controller; 438*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 439*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_GPIO18>; 440*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 441*e1881302SManivannan Sadhasivam }; 442*e1881302SManivannan Sadhasivam 443*e1881302SManivannan Sadhasivam gpio19: gpio@fff29000 { 444*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 445*e1881302SManivannan Sadhasivam reg = <0x0 0xfff29000 0x0 0x1000>; 446*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 447*e1881302SManivannan Sadhasivam gpio-controller; 448*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 449*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 61 2>; 450*e1881302SManivannan Sadhasivam interrupt-controller; 451*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 452*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_GPIO19>; 453*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 454*e1881302SManivannan Sadhasivam }; 455*e1881302SManivannan Sadhasivam 456*e1881302SManivannan Sadhasivam gpio20: gpio@e8a1f000 { 457*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 458*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1f000 0x0 0x1000>; 459*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 460*e1881302SManivannan Sadhasivam gpio-controller; 461*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 462*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx7 0 0 8>; 463*e1881302SManivannan Sadhasivam interrupt-controller; 464*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 465*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO20>; 466*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 467*e1881302SManivannan Sadhasivam }; 468*e1881302SManivannan Sadhasivam 469*e1881302SManivannan Sadhasivam gpio21: gpio@e8a20000 { 470*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 471*e1881302SManivannan Sadhasivam reg = <0x0 0xe8a20000 0x0 0x1000>; 472*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 473*e1881302SManivannan Sadhasivam gpio-controller; 474*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 475*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx7 0 8 4>; 476*e1881302SManivannan Sadhasivam interrupt-controller; 477*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 478*e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO21>; 479*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 480*e1881302SManivannan Sadhasivam }; 481*e1881302SManivannan Sadhasivam 482*e1881302SManivannan Sadhasivam gpio22: gpio@fff0b000 { 483*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 484*e1881302SManivannan Sadhasivam reg = <0x0 0xfff0b000 0x0 0x1000>; 485*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 486*e1881302SManivannan Sadhasivam gpio-controller; 487*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 488*e1881302SManivannan Sadhasivam /* GPIO176 */ 489*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 2 0 6>; 490*e1881302SManivannan Sadhasivam interrupt-controller; 491*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 492*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO0>; 493*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 494*e1881302SManivannan Sadhasivam }; 495*e1881302SManivannan Sadhasivam 496*e1881302SManivannan Sadhasivam gpio23: gpio@fff0c000 { 497*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 498*e1881302SManivannan Sadhasivam reg = <0x0 0xfff0c000 0x0 0x1000>; 499*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 500*e1881302SManivannan Sadhasivam gpio-controller; 501*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 502*e1881302SManivannan Sadhasivam /* GPIO184 */ 503*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 6 8>; 504*e1881302SManivannan Sadhasivam interrupt-controller; 505*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 506*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO1>; 507*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 508*e1881302SManivannan Sadhasivam }; 509*e1881302SManivannan Sadhasivam 510*e1881302SManivannan Sadhasivam gpio24: gpio@fff0d000 { 511*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 512*e1881302SManivannan Sadhasivam reg = <0x0 0xfff0d000 0x0 0x1000>; 513*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 514*e1881302SManivannan Sadhasivam gpio-controller; 515*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 516*e1881302SManivannan Sadhasivam /* GPIO192 */ 517*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 14 8>; 518*e1881302SManivannan Sadhasivam interrupt-controller; 519*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 520*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO2>; 521*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 522*e1881302SManivannan Sadhasivam }; 523*e1881302SManivannan Sadhasivam 524*e1881302SManivannan Sadhasivam gpio25: gpio@fff0e000 { 525*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 526*e1881302SManivannan Sadhasivam reg = <0x0 0xfff0e000 0x0 0x1000>; 527*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 528*e1881302SManivannan Sadhasivam gpio-controller; 529*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 530*e1881302SManivannan Sadhasivam /* GPIO200 */ 531*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 22 8>; 532*e1881302SManivannan Sadhasivam interrupt-controller; 533*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 534*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO3>; 535*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 536*e1881302SManivannan Sadhasivam }; 537*e1881302SManivannan Sadhasivam 538*e1881302SManivannan Sadhasivam gpio26: gpio@fff0f000 { 539*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 540*e1881302SManivannan Sadhasivam reg = <0x0 0xfff0f000 0x0 0x1000>; 541*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 542*e1881302SManivannan Sadhasivam gpio-controller; 543*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 544*e1881302SManivannan Sadhasivam /* GPIO208 */ 545*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 30 1>; 546*e1881302SManivannan Sadhasivam interrupt-controller; 547*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 548*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO4>; 549*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 550*e1881302SManivannan Sadhasivam }; 551*e1881302SManivannan Sadhasivam 552*e1881302SManivannan Sadhasivam gpio27: gpio@fff10000 { 553*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 554*e1881302SManivannan Sadhasivam reg = <0x0 0xfff10000 0x0 0x1000>; 555*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 556*e1881302SManivannan Sadhasivam gpio-controller; 557*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 558*e1881302SManivannan Sadhasivam /* GPIO216 */ 559*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 4 31 4>; 560*e1881302SManivannan Sadhasivam interrupt-controller; 561*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 562*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO5>; 563*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 564*e1881302SManivannan Sadhasivam }; 565*e1881302SManivannan Sadhasivam 566*e1881302SManivannan Sadhasivam gpio28: gpio@fff1d000 { 567*e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 568*e1881302SManivannan Sadhasivam reg = <0x0 0xfff1d000 0x0 0x1000>; 569*e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 570*e1881302SManivannan Sadhasivam gpio-controller; 571*e1881302SManivannan Sadhasivam #gpio-cells = <2>; 572*e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 1 35 7>; 573*e1881302SManivannan Sadhasivam interrupt-controller; 574*e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 575*e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO6>; 576*e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 577*e1881302SManivannan Sadhasivam }; 578dd8c7b78SManivannan Sadhasivam }; 579dd8c7b78SManivannan Sadhasivam}; 580