1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) !! 1 // SPDX-License-Identifier: (GPL-2.0+ or MIT) 2 /* 2 /* 3 * Copyright (c) 2020 Yangtao Li <frank@allwinn 3 * Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com> 4 */ 4 */ 5 5 6 #include <dt-bindings/interrupt-controller/arm 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/sun50i-a100-ccu.h> 7 #include <dt-bindings/clock/sun50i-a100-ccu.h> 8 #include <dt-bindings/clock/sun50i-a100-r-ccu. 8 #include <dt-bindings/clock/sun50i-a100-r-ccu.h> 9 #include <dt-bindings/reset/sun50i-a100-ccu.h> 9 #include <dt-bindings/reset/sun50i-a100-ccu.h> 10 #include <dt-bindings/reset/sun50i-a100-r-ccu. 10 #include <dt-bindings/reset/sun50i-a100-r-ccu.h> 11 11 12 / { 12 / { 13 interrupt-parent = <&gic>; 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 14 #address-cells = <2>; 15 #size-cells = <2>; 15 #size-cells = <2>; 16 16 17 cpus { 17 cpus { 18 #address-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 19 #size-cells = <0>; 20 20 21 cpu0: cpu@0 { 21 cpu0: cpu@0 { 22 compatible = "arm,cort 22 compatible = "arm,cortex-a53"; 23 device_type = "cpu"; 23 device_type = "cpu"; 24 reg = <0x0>; 24 reg = <0x0>; 25 enable-method = "psci" 25 enable-method = "psci"; 26 }; 26 }; 27 27 28 cpu@1 { 28 cpu@1 { 29 compatible = "arm,cort 29 compatible = "arm,cortex-a53"; 30 device_type = "cpu"; 30 device_type = "cpu"; 31 reg = <0x1>; 31 reg = <0x1>; 32 enable-method = "psci" 32 enable-method = "psci"; 33 }; 33 }; 34 34 35 cpu@2 { 35 cpu@2 { 36 compatible = "arm,cort 36 compatible = "arm,cortex-a53"; 37 device_type = "cpu"; 37 device_type = "cpu"; 38 reg = <0x2>; 38 reg = <0x2>; 39 enable-method = "psci" 39 enable-method = "psci"; 40 }; 40 }; 41 41 42 cpu@3 { 42 cpu@3 { 43 compatible = "arm,cort 43 compatible = "arm,cortex-a53"; 44 device_type = "cpu"; 44 device_type = "cpu"; 45 reg = <0x3>; 45 reg = <0x3>; 46 enable-method = "psci" 46 enable-method = "psci"; 47 }; 47 }; 48 }; 48 }; 49 49 50 psci { 50 psci { 51 compatible = "arm,psci-1.0"; 51 compatible = "arm,psci-1.0"; 52 method = "smc"; 52 method = "smc"; 53 }; 53 }; 54 54 55 dcxo24M: dcxo24M-clk { 55 dcxo24M: dcxo24M-clk { 56 compatible = "fixed-clock"; 56 compatible = "fixed-clock"; 57 clock-frequency = <24000000>; 57 clock-frequency = <24000000>; 58 clock-output-names = "dcxo24M" 58 clock-output-names = "dcxo24M"; 59 #clock-cells = <0>; 59 #clock-cells = <0>; 60 }; 60 }; 61 61 62 iosc: internal-osc-clk { 62 iosc: internal-osc-clk { 63 compatible = "fixed-clock"; 63 compatible = "fixed-clock"; 64 clock-frequency = <16000000>; 64 clock-frequency = <16000000>; 65 clock-accuracy = <300000000>; 65 clock-accuracy = <300000000>; 66 clock-output-names = "iosc"; 66 clock-output-names = "iosc"; 67 #clock-cells = <0>; 67 #clock-cells = <0>; 68 }; 68 }; 69 69 70 osc32k: osc32k-clk { 70 osc32k: osc32k-clk { 71 compatible = "fixed-clock"; 71 compatible = "fixed-clock"; 72 clock-frequency = <32768>; 72 clock-frequency = <32768>; 73 clock-output-names = "osc32k"; 73 clock-output-names = "osc32k"; 74 #clock-cells = <0>; 74 #clock-cells = <0>; 75 }; 75 }; 76 76 77 timer { 77 timer { 78 compatible = "arm,armv8-timer" 78 compatible = "arm,armv8-timer"; 79 interrupts = <GIC_PPI 13 79 interrupts = <GIC_PPI 13 80 (GIC_CPU_MASK_SIMPLE(4 80 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 81 <GIC_PPI 14 81 <GIC_PPI 14 82 (GIC_CPU_MASK_SIMPLE(4 82 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 83 <GIC_PPI 11 83 <GIC_PPI 11 84 (GIC_CPU_MASK_SIMPLE(4 84 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 85 <GIC_PPI 10 85 <GIC_PPI 10 86 (GIC_CPU_MASK_SIMPLE(4 86 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 87 }; 87 }; 88 88 89 soc { 89 soc { 90 compatible = "simple-bus"; 90 compatible = "simple-bus"; 91 #address-cells = <1>; 91 #address-cells = <1>; 92 #size-cells = <1>; 92 #size-cells = <1>; 93 ranges = <0 0 0 0x3fffffff>; 93 ranges = <0 0 0 0x3fffffff>; 94 94 95 ccu: clock@3001000 { 95 ccu: clock@3001000 { 96 compatible = "allwinne 96 compatible = "allwinner,sun50i-a100-ccu"; 97 reg = <0x03001000 0x10 97 reg = <0x03001000 0x1000>; 98 clocks = <&dcxo24M>, < 98 clocks = <&dcxo24M>, <&osc32k>, <&iosc>; 99 clock-names = "hosc", 99 clock-names = "hosc", "losc", "iosc"; 100 #clock-cells = <1>; 100 #clock-cells = <1>; 101 #reset-cells = <1>; 101 #reset-cells = <1>; 102 }; 102 }; 103 103 104 dma: dma-controller@3002000 { 104 dma: dma-controller@3002000 { 105 compatible = "allwinne 105 compatible = "allwinner,sun50i-a100-dma"; 106 reg = <0x03002000 0x10 106 reg = <0x03002000 0x1000>; 107 interrupts = <GIC_SPI 107 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 108 clocks = <&ccu CLK_BUS 108 clocks = <&ccu CLK_BUS_DMA>, <&ccu CLK_MBUS_DMA>; 109 clock-names = "bus", " 109 clock-names = "bus", "mbus"; 110 resets = <&ccu RST_BUS 110 resets = <&ccu RST_BUS_DMA>; 111 dma-channels = <8>; 111 dma-channels = <8>; 112 dma-requests = <52>; 112 dma-requests = <52>; 113 #dma-cells = <1>; 113 #dma-cells = <1>; 114 }; 114 }; 115 115 116 gic: interrupt-controller@3021 116 gic: interrupt-controller@3021000 { 117 compatible = "arm,gic- 117 compatible = "arm,gic-400"; 118 reg = <0x03021000 0x10 118 reg = <0x03021000 0x1000>, <0x03022000 0x2000>, 119 <0x03024000 0x20 119 <0x03024000 0x2000>, <0x03026000 0x2000>; 120 interrupts = <GIC_PPI 120 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 121 121 IRQ_TYPE_LEVEL_HIGH)>; 122 interrupt-controller; 122 interrupt-controller; 123 #interrupt-cells = <3> 123 #interrupt-cells = <3>; 124 }; 124 }; 125 125 126 efuse@3006000 { 126 efuse@3006000 { 127 compatible = "allwinne 127 compatible = "allwinner,sun50i-a100-sid", 128 "allwinne 128 "allwinner,sun50i-a64-sid"; 129 reg = <0x03006000 0x10 129 reg = <0x03006000 0x1000>; 130 #address-cells = <1>; 130 #address-cells = <1>; 131 #size-cells = <1>; 131 #size-cells = <1>; 132 132 133 ths_calibration: calib 133 ths_calibration: calib@14 { 134 reg = <0x14 8> 134 reg = <0x14 8>; 135 }; 135 }; 136 }; 136 }; 137 137 138 pio: pinctrl@300b000 { 138 pio: pinctrl@300b000 { 139 compatible = "allwinne 139 compatible = "allwinner,sun50i-a100-pinctrl"; 140 reg = <0x0300b000 0x40 140 reg = <0x0300b000 0x400>; 141 interrupts = <GIC_SPI 141 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 142 <GIC_SPI 142 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 143 <GIC_SPI 143 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 144 <GIC_SPI 144 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 145 <GIC_SPI 145 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 146 <GIC_SPI 146 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 147 <GIC_SPI 147 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 148 clocks = <&ccu CLK_APB 148 clocks = <&ccu CLK_APB1>, <&dcxo24M>, <&osc32k>; 149 clock-names = "apb", " 149 clock-names = "apb", "hosc", "losc"; 150 gpio-controller; 150 gpio-controller; 151 #gpio-cells = <3>; 151 #gpio-cells = <3>; 152 interrupt-controller; 152 interrupt-controller; 153 #interrupt-cells = <3> 153 #interrupt-cells = <3>; 154 154 155 uart0_pb_pins: uart0-p 155 uart0_pb_pins: uart0-pb-pins { 156 pins = "PB9", 156 pins = "PB9", "PB10"; 157 function = "ua 157 function = "uart0"; 158 }; 158 }; 159 }; 159 }; 160 160 161 uart0: serial@5000000 { 161 uart0: serial@5000000 { 162 compatible = "snps,dw- 162 compatible = "snps,dw-apb-uart"; 163 reg = <0x05000000 0x40 163 reg = <0x05000000 0x400>; 164 interrupts = <GIC_SPI 164 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 165 reg-shift = <2>; 165 reg-shift = <2>; 166 reg-io-width = <4>; 166 reg-io-width = <4>; 167 clocks = <&ccu CLK_BUS 167 clocks = <&ccu CLK_BUS_UART0>; 168 resets = <&ccu RST_BUS 168 resets = <&ccu RST_BUS_UART0>; 169 status = "disabled"; 169 status = "disabled"; 170 }; 170 }; 171 171 172 uart1: serial@5000400 { 172 uart1: serial@5000400 { 173 compatible = "snps,dw- 173 compatible = "snps,dw-apb-uart"; 174 reg = <0x05000400 0x40 174 reg = <0x05000400 0x400>; 175 interrupts = <GIC_SPI 175 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 176 reg-shift = <2>; 176 reg-shift = <2>; 177 reg-io-width = <4>; 177 reg-io-width = <4>; 178 clocks = <&ccu CLK_BUS 178 clocks = <&ccu CLK_BUS_UART1>; 179 resets = <&ccu RST_BUS 179 resets = <&ccu RST_BUS_UART1>; 180 status = "disabled"; 180 status = "disabled"; 181 }; 181 }; 182 182 183 uart2: serial@5000800 { 183 uart2: serial@5000800 { 184 compatible = "snps,dw- 184 compatible = "snps,dw-apb-uart"; 185 reg = <0x05000800 0x40 185 reg = <0x05000800 0x400>; 186 interrupts = <GIC_SPI 186 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 187 reg-shift = <2>; 187 reg-shift = <2>; 188 reg-io-width = <4>; 188 reg-io-width = <4>; 189 clocks = <&ccu CLK_BUS 189 clocks = <&ccu CLK_BUS_UART2>; 190 resets = <&ccu RST_BUS 190 resets = <&ccu RST_BUS_UART2>; 191 status = "disabled"; 191 status = "disabled"; 192 }; 192 }; 193 193 194 uart3: serial@5000c00 { 194 uart3: serial@5000c00 { 195 compatible = "snps,dw- 195 compatible = "snps,dw-apb-uart"; 196 reg = <0x05000c00 0x40 196 reg = <0x05000c00 0x400>; 197 interrupts = <GIC_SPI 197 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 198 reg-shift = <2>; 198 reg-shift = <2>; 199 reg-io-width = <4>; 199 reg-io-width = <4>; 200 clocks = <&ccu CLK_BUS 200 clocks = <&ccu CLK_BUS_UART3>; 201 resets = <&ccu RST_BUS 201 resets = <&ccu RST_BUS_UART3>; 202 status = "disabled"; 202 status = "disabled"; 203 }; 203 }; 204 204 205 uart4: serial@5001000 { 205 uart4: serial@5001000 { 206 compatible = "snps,dw- 206 compatible = "snps,dw-apb-uart"; 207 reg = <0x05001000 0x40 207 reg = <0x05001000 0x400>; 208 interrupts = <GIC_SPI 208 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 209 reg-shift = <2>; 209 reg-shift = <2>; 210 reg-io-width = <4>; 210 reg-io-width = <4>; 211 clocks = <&ccu CLK_BUS 211 clocks = <&ccu CLK_BUS_UART4>; 212 resets = <&ccu RST_BUS 212 resets = <&ccu RST_BUS_UART4>; 213 status = "disabled"; 213 status = "disabled"; 214 }; 214 }; 215 215 216 i2c0: i2c@5002000 { 216 i2c0: i2c@5002000 { 217 compatible = "allwinne 217 compatible = "allwinner,sun50i-a100-i2c", 218 "allwinne 218 "allwinner,sun8i-v536-i2c", 219 "allwinne 219 "allwinner,sun6i-a31-i2c"; 220 reg = <0x05002000 0x40 220 reg = <0x05002000 0x400>; 221 interrupts = <GIC_SPI 221 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 222 clocks = <&ccu CLK_BUS 222 clocks = <&ccu CLK_BUS_I2C0>; 223 resets = <&ccu RST_BUS 223 resets = <&ccu RST_BUS_I2C0>; 224 dmas = <&dma 43>, <&dm 224 dmas = <&dma 43>, <&dma 43>; 225 dma-names = "rx", "tx" 225 dma-names = "rx", "tx"; 226 status = "disabled"; 226 status = "disabled"; 227 #address-cells = <1>; 227 #address-cells = <1>; 228 #size-cells = <0>; 228 #size-cells = <0>; 229 }; 229 }; 230 230 231 i2c1: i2c@5002400 { 231 i2c1: i2c@5002400 { 232 compatible = "allwinne 232 compatible = "allwinner,sun50i-a100-i2c", 233 "allwinne 233 "allwinner,sun8i-v536-i2c", 234 "allwinne 234 "allwinner,sun6i-a31-i2c"; 235 reg = <0x05002400 0x40 235 reg = <0x05002400 0x400>; 236 interrupts = <GIC_SPI 236 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 237 clocks = <&ccu CLK_BUS 237 clocks = <&ccu CLK_BUS_I2C1>; 238 resets = <&ccu RST_BUS 238 resets = <&ccu RST_BUS_I2C1>; 239 dmas = <&dma 44>, <&dm 239 dmas = <&dma 44>, <&dma 44>; 240 dma-names = "rx", "tx" 240 dma-names = "rx", "tx"; 241 status = "disabled"; 241 status = "disabled"; 242 #address-cells = <1>; 242 #address-cells = <1>; 243 #size-cells = <0>; 243 #size-cells = <0>; 244 }; 244 }; 245 245 246 i2c2: i2c@5002800 { 246 i2c2: i2c@5002800 { 247 compatible = "allwinne 247 compatible = "allwinner,sun50i-a100-i2c", 248 "allwinne 248 "allwinner,sun8i-v536-i2c", 249 "allwinne 249 "allwinner,sun6i-a31-i2c"; 250 reg = <0x05002800 0x40 250 reg = <0x05002800 0x400>; 251 interrupts = <GIC_SPI 251 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 252 clocks = <&ccu CLK_BUS 252 clocks = <&ccu CLK_BUS_I2C2>; 253 resets = <&ccu RST_BUS 253 resets = <&ccu RST_BUS_I2C2>; 254 dmas = <&dma 45>, <&dm 254 dmas = <&dma 45>, <&dma 45>; 255 dma-names = "rx", "tx" 255 dma-names = "rx", "tx"; 256 status = "disabled"; 256 status = "disabled"; 257 #address-cells = <1>; 257 #address-cells = <1>; 258 #size-cells = <0>; 258 #size-cells = <0>; 259 }; 259 }; 260 260 261 i2c3: i2c@5002c00 { 261 i2c3: i2c@5002c00 { 262 compatible = "allwinne 262 compatible = "allwinner,sun50i-a100-i2c", 263 "allwinne 263 "allwinner,sun8i-v536-i2c", 264 "allwinne 264 "allwinner,sun6i-a31-i2c"; 265 reg = <0x05002c00 0x40 265 reg = <0x05002c00 0x400>; 266 interrupts = <GIC_SPI 266 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 267 clocks = <&ccu CLK_BUS 267 clocks = <&ccu CLK_BUS_I2C3>; 268 resets = <&ccu RST_BUS 268 resets = <&ccu RST_BUS_I2C3>; 269 dmas = <&dma 46>, <&dm 269 dmas = <&dma 46>, <&dma 46>; 270 dma-names = "rx", "tx" 270 dma-names = "rx", "tx"; 271 status = "disabled"; 271 status = "disabled"; 272 #address-cells = <1>; 272 #address-cells = <1>; 273 #size-cells = <0>; 273 #size-cells = <0>; 274 }; 274 }; 275 275 276 ths: thermal-sensor@5070400 { 276 ths: thermal-sensor@5070400 { 277 compatible = "allwinne 277 compatible = "allwinner,sun50i-a100-ths"; 278 reg = <0x05070400 0x10 278 reg = <0x05070400 0x100>; 279 interrupts = <GIC_SPI 279 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 280 clocks = <&ccu CLK_BUS 280 clocks = <&ccu CLK_BUS_THS>; 281 clock-names = "bus"; 281 clock-names = "bus"; 282 resets = <&ccu RST_BUS 282 resets = <&ccu RST_BUS_THS>; 283 nvmem-cells = <&ths_ca 283 nvmem-cells = <&ths_calibration>; 284 nvmem-cell-names = "ca 284 nvmem-cell-names = "calibration"; 285 #thermal-sensor-cells 285 #thermal-sensor-cells = <1>; 286 }; 286 }; 287 287 288 r_ccu: clock@7010000 { 288 r_ccu: clock@7010000 { 289 compatible = "allwinne 289 compatible = "allwinner,sun50i-a100-r-ccu"; 290 reg = <0x07010000 0x30 290 reg = <0x07010000 0x300>; 291 clocks = <&dcxo24M>, < 291 clocks = <&dcxo24M>, <&osc32k>, <&iosc>, 292 <&ccu CLK_PLL 292 <&ccu CLK_PLL_PERIPH0>; 293 clock-names = "hosc", 293 clock-names = "hosc", "losc", "iosc", "pll-periph"; 294 #clock-cells = <1>; 294 #clock-cells = <1>; 295 #reset-cells = <1>; 295 #reset-cells = <1>; 296 }; 296 }; 297 297 298 r_intc: interrupt-controller@7 298 r_intc: interrupt-controller@7010320 { 299 compatible = "allwinne 299 compatible = "allwinner,sun50i-a100-nmi", 300 "allwinne 300 "allwinner,sun9i-a80-nmi"; 301 interrupt-controller; 301 interrupt-controller; 302 #interrupt-cells = <2> 302 #interrupt-cells = <2>; 303 reg = <0x07010320 0xc> 303 reg = <0x07010320 0xc>; 304 interrupts = <GIC_SPI 304 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 305 }; 305 }; 306 306 307 r_pio: pinctrl@7022000 { 307 r_pio: pinctrl@7022000 { 308 compatible = "allwinne 308 compatible = "allwinner,sun50i-a100-r-pinctrl"; 309 reg = <0x07022000 0x40 309 reg = <0x07022000 0x400>; 310 interrupts = <GIC_SPI 310 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 311 clocks = <&r_ccu CLK_R 311 clocks = <&r_ccu CLK_R_APB1>, <&dcxo24M>, <&osc32k>; 312 clock-names = "apb", " 312 clock-names = "apb", "hosc", "losc"; 313 gpio-controller; 313 gpio-controller; 314 #gpio-cells = <3>; 314 #gpio-cells = <3>; 315 interrupt-controller; 315 interrupt-controller; 316 #interrupt-cells = <3> 316 #interrupt-cells = <3>; 317 317 318 r_i2c0_pins: r-i2c0-pi 318 r_i2c0_pins: r-i2c0-pins { 319 pins = "PL0", 319 pins = "PL0", "PL1"; 320 function = "s_ 320 function = "s_i2c0"; 321 }; 321 }; 322 322 323 r_i2c1_pins: r-i2c1-pi 323 r_i2c1_pins: r-i2c1-pins { 324 pins = "PL8", 324 pins = "PL8", "PL9"; 325 function = "s_ 325 function = "s_i2c1"; 326 }; 326 }; 327 }; 327 }; 328 328 329 r_uart: serial@7080000 { 329 r_uart: serial@7080000 { 330 compatible = "snps,dw- 330 compatible = "snps,dw-apb-uart"; 331 reg = <0x07080000 0x40 331 reg = <0x07080000 0x400>; 332 interrupts = <GIC_SPI 332 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 333 reg-shift = <2>; 333 reg-shift = <2>; 334 reg-io-width = <4>; 334 reg-io-width = <4>; 335 clocks = <&r_ccu CLK_R 335 clocks = <&r_ccu CLK_R_APB2_UART>; 336 resets = <&r_ccu RST_R 336 resets = <&r_ccu RST_R_APB2_UART>; 337 status = "disabled"; 337 status = "disabled"; 338 }; 338 }; 339 339 340 r_i2c0: i2c@7081400 { 340 r_i2c0: i2c@7081400 { 341 compatible = "allwinne 341 compatible = "allwinner,sun50i-a100-i2c", 342 "allwinne 342 "allwinner,sun8i-v536-i2c", 343 "allwinne 343 "allwinner,sun6i-a31-i2c"; 344 reg = <0x07081400 0x40 344 reg = <0x07081400 0x400>; 345 interrupts = <GIC_SPI 345 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 346 clocks = <&r_ccu CLK_R 346 clocks = <&r_ccu CLK_R_APB2_I2C0>; 347 resets = <&r_ccu RST_R 347 resets = <&r_ccu RST_R_APB2_I2C0>; 348 dmas = <&dma 50>, <&dm 348 dmas = <&dma 50>, <&dma 50>; 349 dma-names = "rx", "tx" 349 dma-names = "rx", "tx"; 350 pinctrl-names = "defau 350 pinctrl-names = "default"; 351 pinctrl-0 = <&r_i2c0_p 351 pinctrl-0 = <&r_i2c0_pins>; 352 status = "disabled"; 352 status = "disabled"; 353 #address-cells = <1>; 353 #address-cells = <1>; 354 #size-cells = <0>; 354 #size-cells = <0>; 355 }; 355 }; 356 356 357 r_i2c1: i2c@7081800 { 357 r_i2c1: i2c@7081800 { 358 compatible = "allwinne 358 compatible = "allwinner,sun50i-a100-i2c", 359 "allwinne 359 "allwinner,sun8i-v536-i2c", 360 "allwinne 360 "allwinner,sun6i-a31-i2c"; 361 reg = <0x07081800 0x40 361 reg = <0x07081800 0x400>; 362 interrupts = <GIC_SPI 362 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 363 clocks = <&r_ccu CLK_R 363 clocks = <&r_ccu CLK_R_APB2_I2C1>; 364 resets = <&r_ccu RST_R 364 resets = <&r_ccu RST_R_APB2_I2C1>; 365 dmas = <&dma 51>, <&dm 365 dmas = <&dma 51>, <&dma 51>; 366 dma-names = "rx", "tx" 366 dma-names = "rx", "tx"; 367 pinctrl-names = "defau 367 pinctrl-names = "default"; 368 pinctrl-0 = <&r_i2c1_p 368 pinctrl-0 = <&r_i2c1_pins>; 369 status = "disabled"; 369 status = "disabled"; 370 #address-cells = <1>; 370 #address-cells = <1>; 371 #size-cells = <0>; 371 #size-cells = <0>; 372 }; 372 }; 373 }; 373 }; 374 374 375 thermal-zones { 375 thermal-zones { 376 cpu-thermal { 376 cpu-thermal { 377 polling-delay-passive 377 polling-delay-passive = <0>; 378 polling-delay = <0>; 378 polling-delay = <0>; 379 thermal-sensors = <&th 379 thermal-sensors = <&ths 0>; 380 }; 380 }; 381 381 382 ddr-thermal { 382 ddr-thermal { 383 polling-delay-passive 383 polling-delay-passive = <0>; 384 polling-delay = <0>; 384 polling-delay = <0>; 385 thermal-sensors = <&th 385 thermal-sensors = <&ths 2>; 386 }; 386 }; 387 387 388 gpu-thermal { 388 gpu-thermal { 389 polling-delay-passive 389 polling-delay-passive = <0>; 390 polling-delay = <0>; 390 polling-delay = <0>; 391 thermal-sensors = <&th 391 thermal-sensors = <&ths 1>; 392 }; 392 }; 393 }; 393 }; 394 }; 394 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.