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 { 5931af04cdSRob Herring compatible = "arm,cortex-a53"; 60dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 61dd8c7b78SManivannan Sadhasivam reg = <0x0 0x0>; 62dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 63dd8c7b78SManivannan Sadhasivam }; 64dd8c7b78SManivannan Sadhasivam 65dd8c7b78SManivannan Sadhasivam cpu1: cpu@1 { 6631af04cdSRob Herring compatible = "arm,cortex-a53"; 67dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 68dd8c7b78SManivannan Sadhasivam reg = <0x0 0x1>; 69dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 70dd8c7b78SManivannan Sadhasivam }; 71dd8c7b78SManivannan Sadhasivam 72dd8c7b78SManivannan Sadhasivam cpu2: cpu@2 { 7331af04cdSRob Herring compatible = "arm,cortex-a53"; 74dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 75dd8c7b78SManivannan Sadhasivam reg = <0x0 0x2>; 76dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 77dd8c7b78SManivannan Sadhasivam }; 78dd8c7b78SManivannan Sadhasivam 79dd8c7b78SManivannan Sadhasivam cpu3: cpu@3 { 8031af04cdSRob Herring compatible = "arm,cortex-a53"; 81dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 82dd8c7b78SManivannan Sadhasivam reg = <0x0 0x3>; 83dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 84dd8c7b78SManivannan Sadhasivam }; 85dd8c7b78SManivannan Sadhasivam 86dd8c7b78SManivannan Sadhasivam cpu4: cpu@100 { 8731af04cdSRob Herring compatible = "arm,cortex-a73"; 88dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 89dd8c7b78SManivannan Sadhasivam reg = <0x0 0x100>; 90dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 91dd8c7b78SManivannan Sadhasivam }; 92dd8c7b78SManivannan Sadhasivam 93dd8c7b78SManivannan Sadhasivam cpu5: cpu@101 { 9431af04cdSRob Herring compatible = "arm,cortex-a73"; 95dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 96dd8c7b78SManivannan Sadhasivam reg = <0x0 0x101>; 97dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 98dd8c7b78SManivannan Sadhasivam }; 99dd8c7b78SManivannan Sadhasivam 100dd8c7b78SManivannan Sadhasivam cpu6: cpu@102 { 10131af04cdSRob Herring compatible = "arm,cortex-a73"; 102dd8c7b78SManivannan Sadhasivam device_type = "cpu"; 103dd8c7b78SManivannan Sadhasivam reg = <0x0 0x102>; 104dd8c7b78SManivannan Sadhasivam enable-method = "psci"; 105dd8c7b78SManivannan Sadhasivam }; 106dd8c7b78SManivannan Sadhasivam 107dd8c7b78SManivannan Sadhasivam cpu7: cpu@103 { 10831af04cdSRob Herring compatible = "arm,cortex-a73"; 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 154757a4b29SManivannan Sadhasivam crg_rst: crg_rst_controller { 155757a4b29SManivannan Sadhasivam compatible = "hisilicon,hi3670-reset", 156757a4b29SManivannan Sadhasivam "hisilicon,hi3660-reset"; 157757a4b29SManivannan Sadhasivam #reset-cells = <2>; 158757a4b29SManivannan Sadhasivam hisi,rst-syscon = <&crg_ctrl>; 159757a4b29SManivannan Sadhasivam }; 160757a4b29SManivannan Sadhasivam 161c00e3f80SManivannan Sadhasivam pctrl: pctrl@e8a09000 { 162c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-pctrl", "syscon"; 163c00e3f80SManivannan Sadhasivam reg = <0x0 0xe8a09000 0x0 0x1000>; 164c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 165c00e3f80SManivannan Sadhasivam }; 166c00e3f80SManivannan Sadhasivam 167c00e3f80SManivannan Sadhasivam pmuctrl: crg_ctrl@fff34000 { 168c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-pmuctrl", "syscon"; 169c00e3f80SManivannan Sadhasivam reg = <0x0 0xfff34000 0x0 0x1000>; 170c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 171c00e3f80SManivannan Sadhasivam }; 172c00e3f80SManivannan Sadhasivam 173c00e3f80SManivannan Sadhasivam sctrl: sctrl@fff0a000 { 174c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-sctrl", "syscon"; 175c00e3f80SManivannan Sadhasivam reg = <0x0 0xfff0a000 0x0 0x1000>; 176c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 177c00e3f80SManivannan Sadhasivam }; 178c00e3f80SManivannan Sadhasivam 179c00e3f80SManivannan Sadhasivam iomcu: iomcu@ffd7e000 { 180c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-iomcu", "syscon"; 181c00e3f80SManivannan Sadhasivam reg = <0x0 0xffd7e000 0x0 0x1000>; 182c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 183c00e3f80SManivannan Sadhasivam }; 184c00e3f80SManivannan Sadhasivam 185c00e3f80SManivannan Sadhasivam media1_crg: media1_crgctrl@e87ff000 { 186c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-media1-crg", "syscon"; 187c00e3f80SManivannan Sadhasivam reg = <0x0 0xe87ff000 0x0 0x1000>; 188c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 189c00e3f80SManivannan Sadhasivam }; 190c00e3f80SManivannan Sadhasivam 191c00e3f80SManivannan Sadhasivam media2_crg: media2_crgctrl@e8900000 { 192c00e3f80SManivannan Sadhasivam compatible = "hisilicon,hi3670-media2-crg","syscon"; 193c00e3f80SManivannan Sadhasivam reg = <0x0 0xe8900000 0x0 0x1000>; 194c00e3f80SManivannan Sadhasivam #clock-cells = <1>; 195c00e3f80SManivannan Sadhasivam }; 196c00e3f80SManivannan Sadhasivam 197305656e0SMauro Carvalho Chehab iomcu_rst: reset { 198305656e0SMauro Carvalho Chehab compatible = "hisilicon,hi3660-reset"; 199305656e0SMauro Carvalho Chehab hisi,rst-syscon = <&iomcu>; 200305656e0SMauro Carvalho Chehab #reset-cells = <2>; 201305656e0SMauro Carvalho Chehab }; 202305656e0SMauro Carvalho Chehab 203dd54bb8aSManivannan Sadhasivam uart0: serial@fdf02000 { 204dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 205dd54bb8aSManivannan Sadhasivam reg = <0x0 0xfdf02000 0x0 0x1000>; 206dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 207dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART0>, 208dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 209dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 210dd54bb8aSManivannan Sadhasivam pinctrl-names = "default"; 211dd54bb8aSManivannan Sadhasivam pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>; 212dd54bb8aSManivannan Sadhasivam status = "disabled"; 213dd54bb8aSManivannan Sadhasivam }; 214dd54bb8aSManivannan Sadhasivam 215dd54bb8aSManivannan Sadhasivam uart1: serial@fdf00000 { 216dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 217dd54bb8aSManivannan Sadhasivam reg = <0x0 0xfdf00000 0x0 0x1000>; 218dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 219dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART1>, 220dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 221dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 222dd54bb8aSManivannan Sadhasivam status = "disabled"; 223dd54bb8aSManivannan Sadhasivam }; 224dd54bb8aSManivannan Sadhasivam 225dd54bb8aSManivannan Sadhasivam uart2: serial@fdf03000 { 226dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 227dd54bb8aSManivannan Sadhasivam reg = <0x0 0xfdf03000 0x0 0x1000>; 228dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 229dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART2>, 230dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 231dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 232dd54bb8aSManivannan Sadhasivam pinctrl-names = "default"; 233dd54bb8aSManivannan Sadhasivam pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>; 234dd54bb8aSManivannan Sadhasivam status = "disabled"; 235dd54bb8aSManivannan Sadhasivam }; 236dd54bb8aSManivannan Sadhasivam 237dd54bb8aSManivannan Sadhasivam uart3: serial@ffd74000 { 238dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 239dd54bb8aSManivannan Sadhasivam reg = <0x0 0xffd74000 0x0 0x1000>; 240dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 241dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART3>, 242dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 243dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 244dd54bb8aSManivannan Sadhasivam pinctrl-names = "default"; 245dd54bb8aSManivannan Sadhasivam pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>; 246dd54bb8aSManivannan Sadhasivam status = "disabled"; 247dd54bb8aSManivannan Sadhasivam }; 248dd54bb8aSManivannan Sadhasivam 249dd54bb8aSManivannan Sadhasivam uart4: serial@fdf01000 { 250dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 251dd54bb8aSManivannan Sadhasivam reg = <0x0 0xfdf01000 0x0 0x1000>; 252dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; 253dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART4>, 254dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 255dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 256dd54bb8aSManivannan Sadhasivam pinctrl-names = "default"; 257dd54bb8aSManivannan Sadhasivam pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>; 258dd54bb8aSManivannan Sadhasivam status = "disabled"; 259dd54bb8aSManivannan Sadhasivam }; 260dd54bb8aSManivannan Sadhasivam 261dd54bb8aSManivannan Sadhasivam uart5: serial@fdf05000 { 262dd54bb8aSManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 263dd54bb8aSManivannan Sadhasivam reg = <0x0 0xfdf05000 0x0 0x1000>; 264dd54bb8aSManivannan Sadhasivam interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 265dd54bb8aSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UART5>, 266dd54bb8aSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 267dd54bb8aSManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 268dd54bb8aSManivannan Sadhasivam status = "disabled"; 269dd54bb8aSManivannan Sadhasivam }; 270dd54bb8aSManivannan Sadhasivam 271dd8c7b78SManivannan Sadhasivam uart6: serial@fff32000 { 272dd8c7b78SManivannan Sadhasivam compatible = "arm,pl011", "arm,primecell"; 273dd8c7b78SManivannan Sadhasivam reg = <0x0 0xfff32000 0x0 0x1000>; 274dd8c7b78SManivannan Sadhasivam interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 275a758dd2eSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_UART6>, 276a758dd2eSManivannan Sadhasivam <&crg_ctrl HI3670_PCLK>; 277dd8c7b78SManivannan Sadhasivam clock-names = "uartclk", "apb_pclk"; 278dd54bb8aSManivannan Sadhasivam pinctrl-names = "default"; 279dd54bb8aSManivannan Sadhasivam pinctrl-0 = <&uart6_pmx_func &uart6_cfg_func>; 280dd8c7b78SManivannan Sadhasivam status = "disabled"; 281dd8c7b78SManivannan Sadhasivam }; 282e1881302SManivannan Sadhasivam 283e1881302SManivannan Sadhasivam gpio0: gpio@e8a0b000 { 284e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 285e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0b000 0x0 0x1000>; 286e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 287e1881302SManivannan Sadhasivam gpio-controller; 288e1881302SManivannan Sadhasivam #gpio-cells = <2>; 289e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 0 1 &pmx0 3 1 5>; 290e1881302SManivannan Sadhasivam interrupt-controller; 291e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 292e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO0>; 293e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 294e1881302SManivannan Sadhasivam }; 295e1881302SManivannan Sadhasivam 296e1881302SManivannan Sadhasivam gpio1: gpio@e8a0c000 { 297e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 298e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0c000 0x0 0x1000>; 299e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 300e1881302SManivannan Sadhasivam gpio-controller; 301e1881302SManivannan Sadhasivam #gpio-cells = <2>; 302e1881302SManivannan Sadhasivam interrupt-controller; 303e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 304e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO1>; 305e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 306e1881302SManivannan Sadhasivam }; 307e1881302SManivannan Sadhasivam 308e1881302SManivannan Sadhasivam gpio2: gpio@e8a0d000 { 309e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 310e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0d000 0x0 0x1000>; 311e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 312e1881302SManivannan Sadhasivam gpio-controller; 313e1881302SManivannan Sadhasivam #gpio-cells = <2>; 314e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 6 7>; 315e1881302SManivannan Sadhasivam interrupt-controller; 316e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 317e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO2>; 318e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 319e1881302SManivannan Sadhasivam }; 320e1881302SManivannan Sadhasivam 321e1881302SManivannan Sadhasivam gpio3: gpio@e8a0e000 { 322e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 323e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0e000 0x0 0x1000>; 324e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 325e1881302SManivannan Sadhasivam gpio-controller; 326e1881302SManivannan Sadhasivam #gpio-cells = <2>; 327e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 13 4 &pmx0 7 17 1>; 328e1881302SManivannan Sadhasivam interrupt-controller; 329e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 330e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO3>; 331e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 332e1881302SManivannan Sadhasivam }; 333e1881302SManivannan Sadhasivam 334e1881302SManivannan Sadhasivam gpio4: gpio@e8a0f000 { 335e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 336e1881302SManivannan Sadhasivam reg = <0x0 0xe8a0f000 0x0 0x1000>; 337e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 338e1881302SManivannan Sadhasivam gpio-controller; 339e1881302SManivannan Sadhasivam #gpio-cells = <2>; 340e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 18 8>; 341e1881302SManivannan Sadhasivam interrupt-controller; 342e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 343e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO4>; 344e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 345e1881302SManivannan Sadhasivam }; 346e1881302SManivannan Sadhasivam 347e1881302SManivannan Sadhasivam gpio5: gpio@e8a10000 { 348e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 349e1881302SManivannan Sadhasivam reg = <0x0 0xe8a10000 0x0 0x1000>; 350e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 351e1881302SManivannan Sadhasivam gpio-controller; 352e1881302SManivannan Sadhasivam #gpio-cells = <2>; 353e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 26 8>; 354e1881302SManivannan Sadhasivam interrupt-controller; 355e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 356e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO5>; 357e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 358e1881302SManivannan Sadhasivam }; 359e1881302SManivannan Sadhasivam 360e1881302SManivannan Sadhasivam gpio6: gpio@e8a11000 { 361e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 362e1881302SManivannan Sadhasivam reg = <0x0 0xe8a11000 0x0 0x1000>; 363e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 364e1881302SManivannan Sadhasivam gpio-controller; 365e1881302SManivannan Sadhasivam #gpio-cells = <2>; 366e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 1 34 7>; 367e1881302SManivannan Sadhasivam interrupt-controller; 368e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 369e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO6>; 370e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 371e1881302SManivannan Sadhasivam }; 372e1881302SManivannan Sadhasivam 373e1881302SManivannan Sadhasivam gpio7: gpio@e8a12000 { 374e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 375e1881302SManivannan Sadhasivam reg = <0x0 0xe8a12000 0x0 0x1000>; 376e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 377e1881302SManivannan Sadhasivam gpio-controller; 378e1881302SManivannan Sadhasivam #gpio-cells = <2>; 379e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 41 8>; 380e1881302SManivannan Sadhasivam interrupt-controller; 381e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 382e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO7>; 383e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 384e1881302SManivannan Sadhasivam }; 385e1881302SManivannan Sadhasivam 386e1881302SManivannan Sadhasivam gpio8: gpio@e8a13000 { 387e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 388e1881302SManivannan Sadhasivam reg = <0x0 0xe8a13000 0x0 0x1000>; 389e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 390e1881302SManivannan Sadhasivam gpio-controller; 391e1881302SManivannan Sadhasivam #gpio-cells = <2>; 392e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 49 8>; 393e1881302SManivannan Sadhasivam interrupt-controller; 394e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 395e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO8>; 396e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 397e1881302SManivannan Sadhasivam }; 398e1881302SManivannan Sadhasivam 399e1881302SManivannan Sadhasivam gpio9: gpio@e8a14000 { 400e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 401e1881302SManivannan Sadhasivam reg = <0x0 0xe8a14000 0x0 0x1000>; 402e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 403e1881302SManivannan Sadhasivam gpio-controller; 404e1881302SManivannan Sadhasivam #gpio-cells = <2>; 405e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 57 8>; 406e1881302SManivannan Sadhasivam interrupt-controller; 407e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 408e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO9>; 409e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 410e1881302SManivannan Sadhasivam }; 411e1881302SManivannan Sadhasivam 412e1881302SManivannan Sadhasivam gpio10: gpio@e8a15000 { 413e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 414e1881302SManivannan Sadhasivam reg = <0x0 0xe8a15000 0x0 0x1000>; 415e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 416e1881302SManivannan Sadhasivam gpio-controller; 417e1881302SManivannan Sadhasivam #gpio-cells = <2>; 418e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 65 8>; 419e1881302SManivannan Sadhasivam interrupt-controller; 420e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 421e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO10>; 422e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 423e1881302SManivannan Sadhasivam }; 424e1881302SManivannan Sadhasivam 425e1881302SManivannan Sadhasivam gpio11: gpio@e8a16000 { 426e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 427e1881302SManivannan Sadhasivam reg = <0x0 0xe8a16000 0x0 0x1000>; 428e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 429e1881302SManivannan Sadhasivam gpio-controller; 430e1881302SManivannan Sadhasivam #gpio-cells = <2>; 431e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 73 8>; 432e1881302SManivannan Sadhasivam interrupt-controller; 433e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 434e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO11>; 435e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 436e1881302SManivannan Sadhasivam }; 437e1881302SManivannan Sadhasivam 438e1881302SManivannan Sadhasivam gpio12: gpio@e8a17000 { 439e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 440e1881302SManivannan Sadhasivam reg = <0x0 0xe8a17000 0x0 0x1000>; 441e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 442e1881302SManivannan Sadhasivam gpio-controller; 443e1881302SManivannan Sadhasivam #gpio-cells = <2>; 444e1881302SManivannan Sadhasivam gpio-ranges = <&pmx0 0 81 1>; 445e1881302SManivannan Sadhasivam interrupt-controller; 446e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 447e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO12>; 448e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 449e1881302SManivannan Sadhasivam }; 450e1881302SManivannan Sadhasivam 451e1881302SManivannan Sadhasivam gpio13: gpio@e8a18000 { 452e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 453e1881302SManivannan Sadhasivam reg = <0x0 0xe8a18000 0x0 0x1000>; 454e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 455e1881302SManivannan Sadhasivam gpio-controller; 456e1881302SManivannan Sadhasivam #gpio-cells = <2>; 457e1881302SManivannan Sadhasivam interrupt-controller; 458e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 459e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO13>; 460e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 461e1881302SManivannan Sadhasivam }; 462e1881302SManivannan Sadhasivam 463e1881302SManivannan Sadhasivam gpio14: gpio@e8a19000 { 464e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 465e1881302SManivannan Sadhasivam reg = <0x0 0xe8a19000 0x0 0x1000>; 466e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 467e1881302SManivannan Sadhasivam gpio-controller; 468e1881302SManivannan Sadhasivam #gpio-cells = <2>; 469e1881302SManivannan Sadhasivam interrupt-controller; 470e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 471e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO14>; 472e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 473e1881302SManivannan Sadhasivam }; 474e1881302SManivannan Sadhasivam 475e1881302SManivannan Sadhasivam gpio15: gpio@e8a1a000 { 476e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 477e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1a000 0x0 0x1000>; 478e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 479e1881302SManivannan Sadhasivam gpio-controller; 480e1881302SManivannan Sadhasivam #gpio-cells = <2>; 481e1881302SManivannan Sadhasivam interrupt-controller; 482e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 483e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO15>; 484e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 485e1881302SManivannan Sadhasivam }; 486e1881302SManivannan Sadhasivam 487e1881302SManivannan Sadhasivam gpio16: gpio@e8a1b000 { 488e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 489e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1b000 0x0 0x1000>; 490e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 491e1881302SManivannan Sadhasivam gpio-controller; 492e1881302SManivannan Sadhasivam #gpio-cells = <2>; 493e1881302SManivannan Sadhasivam gpio-ranges = <&pmx5 0 0 8>; 494e1881302SManivannan Sadhasivam interrupt-controller; 495e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 496e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO16>; 497e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 498e1881302SManivannan Sadhasivam }; 499e1881302SManivannan Sadhasivam 500e1881302SManivannan Sadhasivam gpio17: gpio@e8a1c000 { 501e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 502e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1c000 0x0 0x1000>; 503e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 504e1881302SManivannan Sadhasivam gpio-controller; 505e1881302SManivannan Sadhasivam #gpio-cells = <2>; 506e1881302SManivannan Sadhasivam gpio-ranges = <&pmx5 0 8 2>; 507e1881302SManivannan Sadhasivam interrupt-controller; 508e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 509e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO17>; 510e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 511e1881302SManivannan Sadhasivam }; 512e1881302SManivannan Sadhasivam 513e1881302SManivannan Sadhasivam gpio18: gpio@fff28000 { 514e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 515e1881302SManivannan Sadhasivam reg = <0x0 0xfff28000 0x0 0x1000>; 516e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 517e1881302SManivannan Sadhasivam gpio-controller; 518e1881302SManivannan Sadhasivam #gpio-cells = <2>; 519e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 4 42 4>; 520e1881302SManivannan Sadhasivam interrupt-controller; 521e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 522e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_GPIO18>; 523e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 524e1881302SManivannan Sadhasivam }; 525e1881302SManivannan Sadhasivam 526e1881302SManivannan Sadhasivam gpio19: gpio@fff29000 { 527e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 528e1881302SManivannan Sadhasivam reg = <0x0 0xfff29000 0x0 0x1000>; 529e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 530e1881302SManivannan Sadhasivam gpio-controller; 531e1881302SManivannan Sadhasivam #gpio-cells = <2>; 532e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 61 2>; 533e1881302SManivannan Sadhasivam interrupt-controller; 534e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 535e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_GPIO19>; 536e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 537e1881302SManivannan Sadhasivam }; 538e1881302SManivannan Sadhasivam 539e1881302SManivannan Sadhasivam gpio20: gpio@e8a1f000 { 540e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 541e1881302SManivannan Sadhasivam reg = <0x0 0xe8a1f000 0x0 0x1000>; 542e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 543e1881302SManivannan Sadhasivam gpio-controller; 544e1881302SManivannan Sadhasivam #gpio-cells = <2>; 545e1881302SManivannan Sadhasivam gpio-ranges = <&pmx7 0 0 8>; 546e1881302SManivannan Sadhasivam interrupt-controller; 547e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 548e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO20>; 549e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 550e1881302SManivannan Sadhasivam }; 551e1881302SManivannan Sadhasivam 552e1881302SManivannan Sadhasivam gpio21: gpio@e8a20000 { 553e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 554e1881302SManivannan Sadhasivam reg = <0x0 0xe8a20000 0x0 0x1000>; 555e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 556e1881302SManivannan Sadhasivam gpio-controller; 557e1881302SManivannan Sadhasivam #gpio-cells = <2>; 558e1881302SManivannan Sadhasivam gpio-ranges = <&pmx7 0 8 4>; 559e1881302SManivannan Sadhasivam interrupt-controller; 560e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 561e1881302SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_PCLK_GPIO21>; 562e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 563e1881302SManivannan Sadhasivam }; 564e1881302SManivannan Sadhasivam 565e1881302SManivannan Sadhasivam gpio22: gpio@fff0b000 { 566e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 567e1881302SManivannan Sadhasivam reg = <0x0 0xfff0b000 0x0 0x1000>; 568e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 569e1881302SManivannan Sadhasivam gpio-controller; 570e1881302SManivannan Sadhasivam #gpio-cells = <2>; 571e1881302SManivannan Sadhasivam /* GPIO176 */ 572e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 2 0 6>; 573e1881302SManivannan Sadhasivam interrupt-controller; 574e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 575e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO0>; 576e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 577e1881302SManivannan Sadhasivam }; 578e1881302SManivannan Sadhasivam 579e1881302SManivannan Sadhasivam gpio23: gpio@fff0c000 { 580e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 581e1881302SManivannan Sadhasivam reg = <0x0 0xfff0c000 0x0 0x1000>; 582e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 583e1881302SManivannan Sadhasivam gpio-controller; 584e1881302SManivannan Sadhasivam #gpio-cells = <2>; 585e1881302SManivannan Sadhasivam /* GPIO184 */ 586e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 6 8>; 587e1881302SManivannan Sadhasivam interrupt-controller; 588e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 589e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO1>; 590e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 591e1881302SManivannan Sadhasivam }; 592e1881302SManivannan Sadhasivam 593e1881302SManivannan Sadhasivam gpio24: gpio@fff0d000 { 594e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 595e1881302SManivannan Sadhasivam reg = <0x0 0xfff0d000 0x0 0x1000>; 596e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 597e1881302SManivannan Sadhasivam gpio-controller; 598e1881302SManivannan Sadhasivam #gpio-cells = <2>; 599e1881302SManivannan Sadhasivam /* GPIO192 */ 600e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 14 8>; 601e1881302SManivannan Sadhasivam interrupt-controller; 602e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 603e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO2>; 604e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 605e1881302SManivannan Sadhasivam }; 606e1881302SManivannan Sadhasivam 607e1881302SManivannan Sadhasivam gpio25: gpio@fff0e000 { 608e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 609e1881302SManivannan Sadhasivam reg = <0x0 0xfff0e000 0x0 0x1000>; 610e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 611e1881302SManivannan Sadhasivam gpio-controller; 612e1881302SManivannan Sadhasivam #gpio-cells = <2>; 613e1881302SManivannan Sadhasivam /* GPIO200 */ 614e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 22 8>; 615e1881302SManivannan Sadhasivam interrupt-controller; 616e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 617e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO3>; 618e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 619e1881302SManivannan Sadhasivam }; 620e1881302SManivannan Sadhasivam 621e1881302SManivannan Sadhasivam gpio26: gpio@fff0f000 { 622e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 623e1881302SManivannan Sadhasivam reg = <0x0 0xfff0f000 0x0 0x1000>; 624e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 625e1881302SManivannan Sadhasivam gpio-controller; 626e1881302SManivannan Sadhasivam #gpio-cells = <2>; 627e1881302SManivannan Sadhasivam /* GPIO208 */ 628e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 0 30 1>; 629e1881302SManivannan Sadhasivam interrupt-controller; 630e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 631e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO4>; 632e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 633e1881302SManivannan Sadhasivam }; 634e1881302SManivannan Sadhasivam 635e1881302SManivannan Sadhasivam gpio27: gpio@fff10000 { 636e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 637e1881302SManivannan Sadhasivam reg = <0x0 0xfff10000 0x0 0x1000>; 638e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 639e1881302SManivannan Sadhasivam gpio-controller; 640e1881302SManivannan Sadhasivam #gpio-cells = <2>; 641e1881302SManivannan Sadhasivam /* GPIO216 */ 642e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 4 31 4>; 643e1881302SManivannan Sadhasivam interrupt-controller; 644e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 645e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO5>; 646e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 647e1881302SManivannan Sadhasivam }; 648e1881302SManivannan Sadhasivam 649e1881302SManivannan Sadhasivam gpio28: gpio@fff1d000 { 650e1881302SManivannan Sadhasivam compatible = "arm,pl061", "arm,primecell"; 651e1881302SManivannan Sadhasivam reg = <0x0 0xfff1d000 0x0 0x1000>; 652e1881302SManivannan Sadhasivam interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 653e1881302SManivannan Sadhasivam gpio-controller; 654e1881302SManivannan Sadhasivam #gpio-cells = <2>; 655e1881302SManivannan Sadhasivam gpio-ranges = <&pmx1 1 35 7>; 656e1881302SManivannan Sadhasivam interrupt-controller; 657e1881302SManivannan Sadhasivam #interrupt-cells = <2>; 658e1881302SManivannan Sadhasivam clocks = <&sctrl HI3670_PCLK_AO_GPIO6>; 659e1881302SManivannan Sadhasivam clock-names = "apb_pclk"; 660e1881302SManivannan Sadhasivam }; 661570274cdSManivannan Sadhasivam 662ddd0dc91SManivannan Sadhasivam /* UFS */ 663ddd0dc91SManivannan Sadhasivam ufs: ufs@ff3c0000 { 664ddd0dc91SManivannan Sadhasivam compatible = "hisilicon,hi3670-ufs", "jedec,ufs-2.1"; 665ddd0dc91SManivannan Sadhasivam /* 0: HCI standard */ 666ddd0dc91SManivannan Sadhasivam /* 1: UFS SYS CTRL */ 667ddd0dc91SManivannan Sadhasivam reg = <0x0 0xff3c0000 0x0 0x1000>, 668ddd0dc91SManivannan Sadhasivam <0x0 0xff3e0000 0x0 0x1000>; 669ddd0dc91SManivannan Sadhasivam interrupt-parent = <&gic>; 670ddd0dc91SManivannan Sadhasivam interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>; 671ddd0dc91SManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>, 672ddd0dc91SManivannan Sadhasivam <&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>; 673ddd0dc91SManivannan Sadhasivam clock-names = "ref_clk", "phy_clk"; 6748c563f55SZhen Lei freq-table-hz = <0 0 6758c563f55SZhen Lei 0 0>; 676ddd0dc91SManivannan Sadhasivam /* offset: 0x84; bit: 12 */ 677ddd0dc91SManivannan Sadhasivam resets = <&crg_rst 0x84 12>; 678ddd0dc91SManivannan Sadhasivam reset-names = "rst"; 679ddd0dc91SManivannan Sadhasivam }; 680ddd0dc91SManivannan Sadhasivam 681570274cdSManivannan Sadhasivam /* SD */ 682570274cdSManivannan Sadhasivam dwmmc1: dwmmc1@ff37f000 { 683570274cdSManivannan Sadhasivam compatible = "hisilicon,hi3670-dw-mshc", 684570274cdSManivannan Sadhasivam "hisilicon,hi3660-dw-mshc"; 685570274cdSManivannan Sadhasivam reg = <0x0 0xff37f000 0x0 0x1000>; 686570274cdSManivannan Sadhasivam #address-cells = <1>; 687570274cdSManivannan Sadhasivam #size-cells = <0>; 688570274cdSManivannan Sadhasivam interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; 689570274cdSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_SD>, 690570274cdSManivannan Sadhasivam <&crg_ctrl HI3670_HCLK_GATE_SD>; 691570274cdSManivannan Sadhasivam clock-names = "ciu", "biu"; 692570274cdSManivannan Sadhasivam clock-frequency = <3200000>; 693570274cdSManivannan Sadhasivam resets = <&crg_rst 0x94 18>; 694570274cdSManivannan Sadhasivam reset-names = "reset"; 695570274cdSManivannan Sadhasivam hisilicon,peripheral-syscon = <&sctrl>; 696570274cdSManivannan Sadhasivam card-detect-delay = <200>; 697570274cdSManivannan Sadhasivam status = "disabled"; 698570274cdSManivannan Sadhasivam }; 699570274cdSManivannan Sadhasivam 700570274cdSManivannan Sadhasivam /* SDIO */ 701570274cdSManivannan Sadhasivam dwmmc2: dwmmc2@fc183000 { 702570274cdSManivannan Sadhasivam compatible = "hisilicon,hi3670-dw-mshc", 703570274cdSManivannan Sadhasivam "hisilicon,hi3660-dw-mshc"; 704570274cdSManivannan Sadhasivam reg = <0x0 0xfc183000 0x0 0x1000>; 705570274cdSManivannan Sadhasivam #address-cells = <1>; 706570274cdSManivannan Sadhasivam #size-cells = <0>; 707570274cdSManivannan Sadhasivam interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 708570274cdSManivannan Sadhasivam clocks = <&crg_ctrl HI3670_CLK_GATE_SDIO>, 709570274cdSManivannan Sadhasivam <&crg_ctrl HI3670_HCLK_GATE_SDIO>; 710570274cdSManivannan Sadhasivam clock-names = "ciu", "biu"; 711570274cdSManivannan Sadhasivam clock-frequency = <3200000>; 712570274cdSManivannan Sadhasivam resets = <&crg_rst 0x94 20>; 713570274cdSManivannan Sadhasivam reset-names = "reset"; 714570274cdSManivannan Sadhasivam card-detect-delay = <200>; 715570274cdSManivannan Sadhasivam status = "disabled"; 716570274cdSManivannan Sadhasivam }; 717*b6e141eeSMauro Carvalho Chehab 718*b6e141eeSMauro Carvalho Chehab /* I2C */ 719*b6e141eeSMauro Carvalho Chehab i2c0: i2c@ffd71000 { 720*b6e141eeSMauro Carvalho Chehab compatible = "snps,designware-i2c"; 721*b6e141eeSMauro Carvalho Chehab reg = <0x0 0xffd71000 0x0 0x1000>; 722*b6e141eeSMauro Carvalho Chehab interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 723*b6e141eeSMauro Carvalho Chehab #address-cells = <1>; 724*b6e141eeSMauro Carvalho Chehab #size-cells = <0>; 725*b6e141eeSMauro Carvalho Chehab clock-frequency = <400000>; 726*b6e141eeSMauro Carvalho Chehab clocks = <&iomcu HI3670_CLK_GATE_I2C0>; 727*b6e141eeSMauro Carvalho Chehab resets = <&iomcu_rst 0x20 3>; 728*b6e141eeSMauro Carvalho Chehab pinctrl-names = "default"; 729*b6e141eeSMauro Carvalho Chehab pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>; 730*b6e141eeSMauro Carvalho Chehab status = "disabled"; 731*b6e141eeSMauro Carvalho Chehab }; 732*b6e141eeSMauro Carvalho Chehab 733*b6e141eeSMauro Carvalho Chehab i2c1: i2c@ffd72000 { 734*b6e141eeSMauro Carvalho Chehab compatible = "snps,designware-i2c"; 735*b6e141eeSMauro Carvalho Chehab reg = <0x0 0xffd72000 0x0 0x1000>; 736*b6e141eeSMauro Carvalho Chehab interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; 737*b6e141eeSMauro Carvalho Chehab #address-cells = <1>; 738*b6e141eeSMauro Carvalho Chehab #size-cells = <0>; 739*b6e141eeSMauro Carvalho Chehab clock-frequency = <400000>; 740*b6e141eeSMauro Carvalho Chehab clocks = <&iomcu HI3670_CLK_GATE_I2C1>; 741*b6e141eeSMauro Carvalho Chehab resets = <&iomcu_rst 0x20 4>; 742*b6e141eeSMauro Carvalho Chehab pinctrl-names = "default"; 743*b6e141eeSMauro Carvalho Chehab pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>; 744*b6e141eeSMauro Carvalho Chehab status = "disabled"; 745*b6e141eeSMauro Carvalho Chehab }; 746*b6e141eeSMauro Carvalho Chehab 747*b6e141eeSMauro Carvalho Chehab i2c2: i2c@ffd73000 { 748*b6e141eeSMauro Carvalho Chehab compatible = "snps,designware-i2c"; 749*b6e141eeSMauro Carvalho Chehab reg = <0x0 0xffd73000 0x0 0x1000>; 750*b6e141eeSMauro Carvalho Chehab interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 751*b6e141eeSMauro Carvalho Chehab #address-cells = <1>; 752*b6e141eeSMauro Carvalho Chehab #size-cells = <0>; 753*b6e141eeSMauro Carvalho Chehab clock-frequency = <400000>; 754*b6e141eeSMauro Carvalho Chehab clocks = <&iomcu HI3670_CLK_GATE_I2C2>; 755*b6e141eeSMauro Carvalho Chehab resets = <&iomcu_rst 0x20 5>; 756*b6e141eeSMauro Carvalho Chehab pinctrl-names = "default"; 757*b6e141eeSMauro Carvalho Chehab pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>; 758*b6e141eeSMauro Carvalho Chehab status = "disabled"; 759*b6e141eeSMauro Carvalho Chehab }; 760*b6e141eeSMauro Carvalho Chehab 761*b6e141eeSMauro Carvalho Chehab i2c3: i2c@fdf0c000 { 762*b6e141eeSMauro Carvalho Chehab compatible = "snps,designware-i2c"; 763*b6e141eeSMauro Carvalho Chehab reg = <0x0 0xfdf0c000 0x0 0x1000>; 764*b6e141eeSMauro Carvalho Chehab interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 765*b6e141eeSMauro Carvalho Chehab #address-cells = <1>; 766*b6e141eeSMauro Carvalho Chehab #size-cells = <0>; 767*b6e141eeSMauro Carvalho Chehab clock-frequency = <400000>; 768*b6e141eeSMauro Carvalho Chehab clocks = <&crg_ctrl HI3670_CLK_GATE_I2C3>; 769*b6e141eeSMauro Carvalho Chehab resets = <&crg_rst 0x78 7>; 770*b6e141eeSMauro Carvalho Chehab pinctrl-names = "default"; 771*b6e141eeSMauro Carvalho Chehab pinctrl-0 = <&i2c3_pmx_func &i2c3_cfg_func>; 772*b6e141eeSMauro Carvalho Chehab status = "disabled"; 773*b6e141eeSMauro Carvalho Chehab }; 774*b6e141eeSMauro Carvalho Chehab 775*b6e141eeSMauro Carvalho Chehab i2c4: i2c@fdf0d000 { 776*b6e141eeSMauro Carvalho Chehab compatible = "snps,designware-i2c"; 777*b6e141eeSMauro Carvalho Chehab reg = <0x0 0xfdf0d000 0x0 0x1000>; 778*b6e141eeSMauro Carvalho Chehab interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 779*b6e141eeSMauro Carvalho Chehab #address-cells = <1>; 780*b6e141eeSMauro Carvalho Chehab #size-cells = <0>; 781*b6e141eeSMauro Carvalho Chehab clock-frequency = <400000>; 782*b6e141eeSMauro Carvalho Chehab clocks = <&crg_ctrl HI3670_CLK_GATE_I2C4>; 783*b6e141eeSMauro Carvalho Chehab resets = <&crg_rst 0x78 27>; 784*b6e141eeSMauro Carvalho Chehab pinctrl-names = "default"; 785*b6e141eeSMauro Carvalho Chehab pinctrl-0 = <&i2c4_pmx_func &i2c4_cfg_func>; 786*b6e141eeSMauro Carvalho Chehab status = "disabled"; 787*b6e141eeSMauro Carvalho Chehab }; 788dd8c7b78SManivannan Sadhasivam }; 789dd8c7b78SManivannan Sadhasivam}; 790