1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2017 Andreas Färber 4 */ 5 6 #include <dt-bindings/clock/actions,s700-cmu.h 7 #include <dt-bindings/interrupt-controller/arm 8 #include <dt-bindings/power/owl-s700-powergate 9 #include <dt-bindings/reset/actions,s700-reset 10 11 / { 12 compatible = "actions,s700"; 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 16 17 cpus { 18 #address-cells = <2>; 19 #size-cells = <0>; 20 21 cpu0: cpu@0 { 22 device_type = "cpu"; 23 compatible = "arm,cort 24 reg = <0x0 0x0>; 25 enable-method = "psci" 26 }; 27 28 cpu1: cpu@1 { 29 device_type = "cpu"; 30 compatible = "arm,cort 31 reg = <0x0 0x1>; 32 enable-method = "psci" 33 }; 34 35 cpu2: cpu@2 { 36 device_type = "cpu"; 37 compatible = "arm,cort 38 reg = <0x0 0x2>; 39 enable-method = "psci" 40 }; 41 42 cpu3: cpu@3 { 43 device_type = "cpu"; 44 compatible = "arm,cort 45 reg = <0x0 0x3>; 46 enable-method = "psci" 47 }; 48 }; 49 50 reserved-memory { 51 #address-cells = <2>; 52 #size-cells = <2>; 53 ranges; 54 55 secmon@1f000000 { 56 reg = <0x0 0x1f000000 57 no-map; 58 }; 59 }; 60 61 psci { 62 compatible = "arm,psci-0.2"; 63 method = "smc"; 64 }; 65 66 arm-pmu { 67 compatible = "arm,cortex-a53-p 68 interrupts = <GIC_SPI 4 IRQ_TY 69 <GIC_SPI 5 IRQ_TY 70 <GIC_SPI 6 IRQ_TY 71 <GIC_SPI 7 IRQ_TY 72 interrupt-affinity = <&cpu0>, 73 }; 74 75 timer { 76 compatible = "arm,armv8-timer" 77 interrupts = <GIC_PPI 13 78 (GIC_CPU_MASK_SIMPLE(4 79 <GIC_PPI 14 80 (GIC_CPU_MASK_SIMPLE(4 81 <GIC_PPI 11 82 (GIC_CPU_MASK_SIMPLE(4 83 <GIC_PPI 10 84 (GIC_CPU_MASK_SIMPLE(4 85 }; 86 87 hosc: hosc { 88 compatible = "fixed-clock"; 89 clock-frequency = <24000000>; 90 #clock-cells = <0>; 91 }; 92 93 losc: losc { 94 compatible = "fixed-clock"; 95 clock-frequency = <32768>; 96 #clock-cells = <0>; 97 }; 98 99 soc { 100 compatible = "simple-bus"; 101 #address-cells = <2>; 102 #size-cells = <2>; 103 ranges; 104 105 gic: interrupt-controller@e00f 106 compatible = "arm,gic- 107 reg = <0x0 0xe00f1000 108 <0x0 0xe00f2000 109 <0x0 0xe00f4000 110 <0x0 0xe00f6000 111 interrupts = <GIC_PPI 112 interrupt-controller; 113 #interrupt-cells = <3> 114 }; 115 116 uart0: serial@e0120000 { 117 compatible = "actions, 118 reg = <0x0 0xe0120000 119 clocks = <&cmu CLK_UAR 120 interrupts = <GIC_SPI 121 status = "disabled"; 122 }; 123 124 uart1: serial@e0122000 { 125 compatible = "actions, 126 reg = <0x0 0xe0122000 127 clocks = <&cmu CLK_UAR 128 interrupts = <GIC_SPI 129 status = "disabled"; 130 }; 131 132 uart2: serial@e0124000 { 133 compatible = "actions, 134 reg = <0x0 0xe0124000 135 clocks = <&cmu CLK_UAR 136 interrupts = <GIC_SPI 137 status = "disabled"; 138 }; 139 140 uart3: serial@e0126000 { 141 compatible = "actions, 142 reg = <0x0 0xe0126000 143 clocks = <&cmu CLK_UAR 144 interrupts = <GIC_SPI 145 status = "disabled"; 146 }; 147 148 uart4: serial@e0128000 { 149 compatible = "actions, 150 reg = <0x0 0xe0128000 151 clocks = <&cmu CLK_UAR 152 interrupts = <GIC_SPI 153 status = "disabled"; 154 }; 155 156 uart5: serial@e012a000 { 157 compatible = "actions, 158 reg = <0x0 0xe012a000 159 clocks = <&cmu CLK_UAR 160 interrupts = <GIC_SPI 161 status = "disabled"; 162 }; 163 164 uart6: serial@e012c000 { 165 compatible = "actions, 166 reg = <0x0 0xe012c000 167 clocks = <&cmu CLK_UAR 168 interrupts = <GIC_SPI 169 status = "disabled"; 170 }; 171 172 cmu: clock-controller@e0168000 173 compatible = "actions, 174 reg = <0x0 0xe0168000 175 clocks = <&hosc>, <&lo 176 #clock-cells = <1>; 177 #reset-cells = <1>; 178 }; 179 180 i2c0: i2c@e0170000 { 181 compatible = "actions, 182 reg = <0 0xe0170000 0 183 clocks = <&cmu CLK_I2C 184 interrupts = <GIC_SPI 185 #address-cells = <1>; 186 #size-cells = <0>; 187 status = "disabled"; 188 }; 189 190 i2c1: i2c@e0174000 { 191 compatible = "actions, 192 reg = <0 0xe0174000 0 193 clocks = <&cmu CLK_I2C 194 interrupts = <GIC_SPI 195 #address-cells = <1>; 196 #size-cells = <0>; 197 status = "disabled"; 198 }; 199 200 i2c2: i2c@e0178000 { 201 compatible = "actions, 202 reg = <0 0xe0178000 0 203 clocks = <&cmu CLK_I2C 204 interrupts = <GIC_SPI 205 #address-cells = <1>; 206 #size-cells = <0>; 207 status = "disabled"; 208 }; 209 210 i2c3: i2c@e017c000 { 211 compatible = "actions, 212 reg = <0 0xe017c000 0 213 clocks = <&cmu CLK_I2C 214 interrupts = <GIC_SPI 215 #address-cells = <1>; 216 #size-cells = <0>; 217 status = "disabled"; 218 }; 219 220 sps: power-controller@e01b0100 221 compatible = "actions, 222 reg = <0x0 0xe01b0100 223 #power-domain-cells = 224 }; 225 226 timer: timer@e024c000 { 227 compatible = "actions, 228 reg = <0x0 0xe024c000 229 interrupts = <GIC_SPI 230 interrupt-names = "tim 231 }; 232 233 pinctrl: pinctrl@e01b0000 { 234 compatible = "actions, 235 reg = <0x0 0xe01b0000 236 clocks = <&cmu CLK_GPI 237 gpio-controller; 238 gpio-ranges = <&pinctr 239 #gpio-cells = <2>; 240 interrupt-controller; 241 #interrupt-cells = <2> 242 interrupts = <GIC_SPI 243 <GIC_SPI 244 <GIC_SPI 245 <GIC_SPI 246 <GIC_SPI 247 }; 248 249 dma: dma-controller@e0230000 { 250 compatible = "actions, 251 reg = <0x0 0xe0230000 252 interrupts = <GIC_SPI 253 <GIC_SPI 254 <GIC_SPI 255 <GIC_SPI 256 #dma-cells = <1>; 257 dma-channels = <10>; 258 dma-requests = <44>; 259 clocks = <&cmu CLK_DMA 260 power-domains = <&sps 261 }; 262 }; 263 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.