1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2c66ec88fSEmmanuel Vadot/** 3c66ec88fSEmmanuel Vadot * dts file for Hisilicon D02 Development Board 4c66ec88fSEmmanuel Vadot * 55956d97fSEmmanuel Vadot * Copyright (C) 2014,2015 HiSilicon Ltd. 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot/ { 11c66ec88fSEmmanuel Vadot compatible = "hisilicon,hip05-d02"; 12c66ec88fSEmmanuel Vadot interrupt-parent = <&gic>; 13c66ec88fSEmmanuel Vadot #address-cells = <2>; 14c66ec88fSEmmanuel Vadot #size-cells = <2>; 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot psci { 17c66ec88fSEmmanuel Vadot compatible = "arm,psci-0.2"; 18c66ec88fSEmmanuel Vadot method = "smc"; 19c66ec88fSEmmanuel Vadot }; 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot cpus { 22c66ec88fSEmmanuel Vadot #address-cells = <1>; 23c66ec88fSEmmanuel Vadot #size-cells = <0>; 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot cpu-map { 26c66ec88fSEmmanuel Vadot cluster0 { 27c66ec88fSEmmanuel Vadot core0 { 28c66ec88fSEmmanuel Vadot cpu = <&cpu0>; 29c66ec88fSEmmanuel Vadot }; 30c66ec88fSEmmanuel Vadot core1 { 31c66ec88fSEmmanuel Vadot cpu = <&cpu1>; 32c66ec88fSEmmanuel Vadot }; 33c66ec88fSEmmanuel Vadot core2 { 34c66ec88fSEmmanuel Vadot cpu = <&cpu2>; 35c66ec88fSEmmanuel Vadot }; 36c66ec88fSEmmanuel Vadot core3 { 37c66ec88fSEmmanuel Vadot cpu = <&cpu3>; 38c66ec88fSEmmanuel Vadot }; 39c66ec88fSEmmanuel Vadot }; 40c66ec88fSEmmanuel Vadot cluster1 { 41c66ec88fSEmmanuel Vadot core0 { 42c66ec88fSEmmanuel Vadot cpu = <&cpu4>; 43c66ec88fSEmmanuel Vadot }; 44c66ec88fSEmmanuel Vadot core1 { 45c66ec88fSEmmanuel Vadot cpu = <&cpu5>; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot core2 { 48c66ec88fSEmmanuel Vadot cpu = <&cpu6>; 49c66ec88fSEmmanuel Vadot }; 50c66ec88fSEmmanuel Vadot core3 { 51c66ec88fSEmmanuel Vadot cpu = <&cpu7>; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot }; 54c66ec88fSEmmanuel Vadot cluster2 { 55c66ec88fSEmmanuel Vadot core0 { 56c66ec88fSEmmanuel Vadot cpu = <&cpu8>; 57c66ec88fSEmmanuel Vadot }; 58c66ec88fSEmmanuel Vadot core1 { 59c66ec88fSEmmanuel Vadot cpu = <&cpu9>; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot core2 { 62c66ec88fSEmmanuel Vadot cpu = <&cpu10>; 63c66ec88fSEmmanuel Vadot }; 64c66ec88fSEmmanuel Vadot core3 { 65c66ec88fSEmmanuel Vadot cpu = <&cpu11>; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot cluster3 { 69c66ec88fSEmmanuel Vadot core0 { 70c66ec88fSEmmanuel Vadot cpu = <&cpu12>; 71c66ec88fSEmmanuel Vadot }; 72c66ec88fSEmmanuel Vadot core1 { 73c66ec88fSEmmanuel Vadot cpu = <&cpu13>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot core2 { 76c66ec88fSEmmanuel Vadot cpu = <&cpu14>; 77c66ec88fSEmmanuel Vadot }; 78c66ec88fSEmmanuel Vadot core3 { 79c66ec88fSEmmanuel Vadot cpu = <&cpu15>; 80c66ec88fSEmmanuel Vadot }; 81c66ec88fSEmmanuel Vadot }; 82c66ec88fSEmmanuel Vadot }; 83c66ec88fSEmmanuel Vadot 84c66ec88fSEmmanuel Vadot cpu0: cpu@20000 { 85c66ec88fSEmmanuel Vadot device_type = "cpu"; 86c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 87c66ec88fSEmmanuel Vadot reg = <0x20000>; 88c66ec88fSEmmanuel Vadot enable-method = "psci"; 89c66ec88fSEmmanuel Vadot next-level-cache = <&cluster0_l2>; 90c66ec88fSEmmanuel Vadot }; 91c66ec88fSEmmanuel Vadot 92c66ec88fSEmmanuel Vadot cpu1: cpu@20001 { 93c66ec88fSEmmanuel Vadot device_type = "cpu"; 94c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 95c66ec88fSEmmanuel Vadot reg = <0x20001>; 96c66ec88fSEmmanuel Vadot enable-method = "psci"; 97c66ec88fSEmmanuel Vadot next-level-cache = <&cluster0_l2>; 98c66ec88fSEmmanuel Vadot }; 99c66ec88fSEmmanuel Vadot 100c66ec88fSEmmanuel Vadot cpu2: cpu@20002 { 101c66ec88fSEmmanuel Vadot device_type = "cpu"; 102c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 103c66ec88fSEmmanuel Vadot reg = <0x20002>; 104c66ec88fSEmmanuel Vadot enable-method = "psci"; 105c66ec88fSEmmanuel Vadot next-level-cache = <&cluster0_l2>; 106c66ec88fSEmmanuel Vadot }; 107c66ec88fSEmmanuel Vadot 108c66ec88fSEmmanuel Vadot cpu3: cpu@20003 { 109c66ec88fSEmmanuel Vadot device_type = "cpu"; 110c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 111c66ec88fSEmmanuel Vadot reg = <0x20003>; 112c66ec88fSEmmanuel Vadot enable-method = "psci"; 113c66ec88fSEmmanuel Vadot next-level-cache = <&cluster0_l2>; 114c66ec88fSEmmanuel Vadot }; 115c66ec88fSEmmanuel Vadot 116c66ec88fSEmmanuel Vadot cpu4: cpu@20100 { 117c66ec88fSEmmanuel Vadot device_type = "cpu"; 118c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 119c66ec88fSEmmanuel Vadot reg = <0x20100>; 120c66ec88fSEmmanuel Vadot enable-method = "psci"; 121c66ec88fSEmmanuel Vadot next-level-cache = <&cluster1_l2>; 122c66ec88fSEmmanuel Vadot }; 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadot cpu5: cpu@20101 { 125c66ec88fSEmmanuel Vadot device_type = "cpu"; 126c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 127c66ec88fSEmmanuel Vadot reg = <0x20101>; 128c66ec88fSEmmanuel Vadot enable-method = "psci"; 129c66ec88fSEmmanuel Vadot next-level-cache = <&cluster1_l2>; 130c66ec88fSEmmanuel Vadot }; 131c66ec88fSEmmanuel Vadot 132c66ec88fSEmmanuel Vadot cpu6: cpu@20102 { 133c66ec88fSEmmanuel Vadot device_type = "cpu"; 134c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 135c66ec88fSEmmanuel Vadot reg = <0x20102>; 136c66ec88fSEmmanuel Vadot enable-method = "psci"; 137c66ec88fSEmmanuel Vadot next-level-cache = <&cluster1_l2>; 138c66ec88fSEmmanuel Vadot }; 139c66ec88fSEmmanuel Vadot 140c66ec88fSEmmanuel Vadot cpu7: cpu@20103 { 141c66ec88fSEmmanuel Vadot device_type = "cpu"; 142c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 143c66ec88fSEmmanuel Vadot reg = <0x20103>; 144c66ec88fSEmmanuel Vadot enable-method = "psci"; 145c66ec88fSEmmanuel Vadot next-level-cache = <&cluster1_l2>; 146c66ec88fSEmmanuel Vadot }; 147c66ec88fSEmmanuel Vadot 148c66ec88fSEmmanuel Vadot cpu8: cpu@20200 { 149c66ec88fSEmmanuel Vadot device_type = "cpu"; 150c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 151c66ec88fSEmmanuel Vadot reg = <0x20200>; 152c66ec88fSEmmanuel Vadot enable-method = "psci"; 153c66ec88fSEmmanuel Vadot next-level-cache = <&cluster2_l2>; 154c66ec88fSEmmanuel Vadot }; 155c66ec88fSEmmanuel Vadot 156c66ec88fSEmmanuel Vadot cpu9: cpu@20201 { 157c66ec88fSEmmanuel Vadot device_type = "cpu"; 158c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 159c66ec88fSEmmanuel Vadot reg = <0x20201>; 160c66ec88fSEmmanuel Vadot enable-method = "psci"; 161c66ec88fSEmmanuel Vadot next-level-cache = <&cluster2_l2>; 162c66ec88fSEmmanuel Vadot }; 163c66ec88fSEmmanuel Vadot 164c66ec88fSEmmanuel Vadot cpu10: cpu@20202 { 165c66ec88fSEmmanuel Vadot device_type = "cpu"; 166c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 167c66ec88fSEmmanuel Vadot reg = <0x20202>; 168c66ec88fSEmmanuel Vadot enable-method = "psci"; 169c66ec88fSEmmanuel Vadot next-level-cache = <&cluster2_l2>; 170c66ec88fSEmmanuel Vadot }; 171c66ec88fSEmmanuel Vadot 172c66ec88fSEmmanuel Vadot cpu11: cpu@20203 { 173c66ec88fSEmmanuel Vadot device_type = "cpu"; 174c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 175c66ec88fSEmmanuel Vadot reg = <0x20203>; 176c66ec88fSEmmanuel Vadot enable-method = "psci"; 177c66ec88fSEmmanuel Vadot next-level-cache = <&cluster2_l2>; 178c66ec88fSEmmanuel Vadot }; 179c66ec88fSEmmanuel Vadot 180c66ec88fSEmmanuel Vadot cpu12: cpu@20300 { 181c66ec88fSEmmanuel Vadot device_type = "cpu"; 182c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 183c66ec88fSEmmanuel Vadot reg = <0x20300>; 184c66ec88fSEmmanuel Vadot enable-method = "psci"; 185c66ec88fSEmmanuel Vadot next-level-cache = <&cluster3_l2>; 186c66ec88fSEmmanuel Vadot }; 187c66ec88fSEmmanuel Vadot 188c66ec88fSEmmanuel Vadot cpu13: cpu@20301 { 189c66ec88fSEmmanuel Vadot device_type = "cpu"; 190c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 191c66ec88fSEmmanuel Vadot reg = <0x20301>; 192c66ec88fSEmmanuel Vadot enable-method = "psci"; 193c66ec88fSEmmanuel Vadot next-level-cache = <&cluster3_l2>; 194c66ec88fSEmmanuel Vadot }; 195c66ec88fSEmmanuel Vadot 196c66ec88fSEmmanuel Vadot cpu14: cpu@20302 { 197c66ec88fSEmmanuel Vadot device_type = "cpu"; 198c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 199c66ec88fSEmmanuel Vadot reg = <0x20302>; 200c66ec88fSEmmanuel Vadot enable-method = "psci"; 201c66ec88fSEmmanuel Vadot next-level-cache = <&cluster3_l2>; 202c66ec88fSEmmanuel Vadot }; 203c66ec88fSEmmanuel Vadot 204c66ec88fSEmmanuel Vadot cpu15: cpu@20303 { 205c66ec88fSEmmanuel Vadot device_type = "cpu"; 206c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57"; 207c66ec88fSEmmanuel Vadot reg = <0x20303>; 208c66ec88fSEmmanuel Vadot enable-method = "psci"; 209c66ec88fSEmmanuel Vadot next-level-cache = <&cluster3_l2>; 210c66ec88fSEmmanuel Vadot }; 211c66ec88fSEmmanuel Vadot 212c66ec88fSEmmanuel Vadot cluster0_l2: l2-cache0 { 213c66ec88fSEmmanuel Vadot compatible = "cache"; 2148bab661aSEmmanuel Vadot cache-level = <2>; 215*f126890aSEmmanuel Vadot cache-unified; 216c66ec88fSEmmanuel Vadot }; 217c66ec88fSEmmanuel Vadot 218c66ec88fSEmmanuel Vadot cluster1_l2: l2-cache1 { 219c66ec88fSEmmanuel Vadot compatible = "cache"; 2208bab661aSEmmanuel Vadot cache-level = <2>; 221*f126890aSEmmanuel Vadot cache-unified; 222c66ec88fSEmmanuel Vadot }; 223c66ec88fSEmmanuel Vadot 224c66ec88fSEmmanuel Vadot cluster2_l2: l2-cache2 { 225c66ec88fSEmmanuel Vadot compatible = "cache"; 2268bab661aSEmmanuel Vadot cache-level = <2>; 227*f126890aSEmmanuel Vadot cache-unified; 228c66ec88fSEmmanuel Vadot }; 229c66ec88fSEmmanuel Vadot 230c66ec88fSEmmanuel Vadot cluster3_l2: l2-cache3 { 231c66ec88fSEmmanuel Vadot compatible = "cache"; 2328bab661aSEmmanuel Vadot cache-level = <2>; 233*f126890aSEmmanuel Vadot cache-unified; 234c66ec88fSEmmanuel Vadot }; 235c66ec88fSEmmanuel Vadot }; 236c66ec88fSEmmanuel Vadot 237c66ec88fSEmmanuel Vadot gic: interrupt-controller@8d000000 { 238c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3"; 239c66ec88fSEmmanuel Vadot #interrupt-cells = <3>; 240c66ec88fSEmmanuel Vadot #address-cells = <2>; 241c66ec88fSEmmanuel Vadot #size-cells = <2>; 242c66ec88fSEmmanuel Vadot ranges; 243c66ec88fSEmmanuel Vadot interrupt-controller; 244c66ec88fSEmmanuel Vadot #redistributor-regions = <1>; 245c66ec88fSEmmanuel Vadot redistributor-stride = <0x0 0x30000>; 246c66ec88fSEmmanuel Vadot reg = <0x0 0x8d000000 0 0x10000>, /* GICD */ 247c66ec88fSEmmanuel Vadot <0x0 0x8d100000 0 0x300000>, /* GICR */ 248c66ec88fSEmmanuel Vadot <0x0 0xfe000000 0 0x10000>, /* GICC */ 249c66ec88fSEmmanuel Vadot <0x0 0xfe010000 0 0x10000>, /* GICH */ 250c66ec88fSEmmanuel Vadot <0x0 0xfe020000 0 0x10000>; /* GICV */ 251c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 252c66ec88fSEmmanuel Vadot 2535def4c47SEmmanuel Vadot its_peri: msi-controller@8c000000 { 254c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3-its"; 255c66ec88fSEmmanuel Vadot msi-controller; 256c66ec88fSEmmanuel Vadot #msi-cells = <1>; 257c66ec88fSEmmanuel Vadot reg = <0x0 0x8c000000 0x0 0x40000>; 258c66ec88fSEmmanuel Vadot }; 259c66ec88fSEmmanuel Vadot 2605def4c47SEmmanuel Vadot its_m3: msi-controller@a3000000 { 261c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3-its"; 262c66ec88fSEmmanuel Vadot msi-controller; 263c66ec88fSEmmanuel Vadot #msi-cells = <1>; 264c66ec88fSEmmanuel Vadot reg = <0x0 0xa3000000 0x0 0x40000>; 265c66ec88fSEmmanuel Vadot }; 266c66ec88fSEmmanuel Vadot 2675def4c47SEmmanuel Vadot its_pcie: msi-controller@b7000000 { 268c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3-its"; 269c66ec88fSEmmanuel Vadot msi-controller; 270c66ec88fSEmmanuel Vadot #msi-cells = <1>; 271c66ec88fSEmmanuel Vadot reg = <0x0 0xb7000000 0x0 0x40000>; 272c66ec88fSEmmanuel Vadot }; 273c66ec88fSEmmanuel Vadot 2745def4c47SEmmanuel Vadot its_dsa: msi-controller@c6000000 { 275c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3-its"; 276c66ec88fSEmmanuel Vadot msi-controller; 277c66ec88fSEmmanuel Vadot #msi-cells = <1>; 278c66ec88fSEmmanuel Vadot reg = <0x0 0xc6000000 0x0 0x40000>; 279c66ec88fSEmmanuel Vadot }; 280c66ec88fSEmmanuel Vadot }; 281c66ec88fSEmmanuel Vadot 282c66ec88fSEmmanuel Vadot timer { 283c66ec88fSEmmanuel Vadot compatible = "arm,armv8-timer"; 284c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, 285c66ec88fSEmmanuel Vadot <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, 286c66ec88fSEmmanuel Vadot <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, 287c66ec88fSEmmanuel Vadot <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; 288c66ec88fSEmmanuel Vadot }; 289c66ec88fSEmmanuel Vadot 290c66ec88fSEmmanuel Vadot pmu { 291c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a57-pmu"; 292c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 293c66ec88fSEmmanuel Vadot }; 294c66ec88fSEmmanuel Vadot 295c66ec88fSEmmanuel Vadot soc { 296c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 297c66ec88fSEmmanuel Vadot #address-cells = <2>; 298c66ec88fSEmmanuel Vadot #size-cells = <2>; 299c66ec88fSEmmanuel Vadot ranges; 300c66ec88fSEmmanuel Vadot 301c66ec88fSEmmanuel Vadot refclk200mhz: refclk200mhz { 302c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 303c66ec88fSEmmanuel Vadot #clock-cells = <0>; 304c66ec88fSEmmanuel Vadot clock-frequency = <200000000>; 305c66ec88fSEmmanuel Vadot }; 306c66ec88fSEmmanuel Vadot 3075def4c47SEmmanuel Vadot uart0: serial@80300000 { 308c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 309c66ec88fSEmmanuel Vadot reg = <0x0 0x80300000 0x0 0x10000>; 310c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>; 3115def4c47SEmmanuel Vadot clocks = <&refclk200mhz>, <&refclk200mhz>; 3125def4c47SEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 313c66ec88fSEmmanuel Vadot reg-shift = <2>; 314c66ec88fSEmmanuel Vadot reg-io-width = <4>; 315c66ec88fSEmmanuel Vadot status = "disabled"; 316c66ec88fSEmmanuel Vadot }; 317c66ec88fSEmmanuel Vadot 3185def4c47SEmmanuel Vadot uart1: serial@80310000 { 319c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 320c66ec88fSEmmanuel Vadot reg = <0x0 0x80310000 0x0 0x10000>; 321c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>; 3225def4c47SEmmanuel Vadot clocks = <&refclk200mhz>, <&refclk200mhz>; 3235def4c47SEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 324c66ec88fSEmmanuel Vadot reg-shift = <2>; 325c66ec88fSEmmanuel Vadot reg-io-width = <4>; 326c66ec88fSEmmanuel Vadot status = "disabled"; 327c66ec88fSEmmanuel Vadot }; 328c66ec88fSEmmanuel Vadot 3295def4c47SEmmanuel Vadot lbc: local-bus@80380000 { 330c66ec88fSEmmanuel Vadot compatible = "hisilicon,hisi-localbus", "simple-bus"; 331c66ec88fSEmmanuel Vadot reg = <0x0 0x80380000 0x0 0x10000>; 332c66ec88fSEmmanuel Vadot status = "disabled"; 333c66ec88fSEmmanuel Vadot }; 334c66ec88fSEmmanuel Vadot 335c66ec88fSEmmanuel Vadot peri_gpio0: gpio@802e0000 { 336c66ec88fSEmmanuel Vadot #address-cells = <1>; 337c66ec88fSEmmanuel Vadot #size-cells = <0>; 338c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 339c66ec88fSEmmanuel Vadot reg = <0x0 0x802e0000 0x0 0x10000>; 340c66ec88fSEmmanuel Vadot status = "disabled"; 341c66ec88fSEmmanuel Vadot 342c66ec88fSEmmanuel Vadot porta: gpio-controller@0 { 343c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 344c66ec88fSEmmanuel Vadot gpio-controller; 345c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 3465def4c47SEmmanuel Vadot ngpios = <32>; 347c66ec88fSEmmanuel Vadot reg = <0>; 348c66ec88fSEmmanuel Vadot interrupt-controller; 349c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 350c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>; 351c66ec88fSEmmanuel Vadot }; 352c66ec88fSEmmanuel Vadot }; 353c66ec88fSEmmanuel Vadot 354c66ec88fSEmmanuel Vadot peri_gpio1: gpio@802f0000 { 355c66ec88fSEmmanuel Vadot #address-cells = <1>; 356c66ec88fSEmmanuel Vadot #size-cells = <0>; 357c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 358c66ec88fSEmmanuel Vadot reg = <0x0 0x802f0000 0x0 0x10000>; 359c66ec88fSEmmanuel Vadot status = "disabled"; 360c66ec88fSEmmanuel Vadot 361c66ec88fSEmmanuel Vadot portb: gpio-controller@0 { 362c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 363c66ec88fSEmmanuel Vadot gpio-controller; 364c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 3655def4c47SEmmanuel Vadot ngpios = <32>; 366c66ec88fSEmmanuel Vadot reg = <0>; 367c66ec88fSEmmanuel Vadot interrupt-controller; 368c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 369c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>; 370c66ec88fSEmmanuel Vadot }; 371c66ec88fSEmmanuel Vadot }; 372c66ec88fSEmmanuel Vadot }; 373c66ec88fSEmmanuel Vadot}; 374