1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2018 Amlogic, Inc. All rights 3 * Copyright (c) 2018 Amlogic, Inc. All rights reserved. 4 */ 4 */ 5 5 6 #include <dt-bindings/phy/phy.h> 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/aml 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/thermal/thermal.h> 15 15 16 / { 16 / { 17 interrupt-parent = <&gic>; 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 18 #address-cells = <2>; 19 #size-cells = <2>; 19 #size-cells = <2>; 20 20 21 aliases { 21 aliases { 22 mmc0 = &sd_emmc_b; /* SD card 22 mmc0 = &sd_emmc_b; /* SD card */ 23 mmc1 = &sd_emmc_c; /* eMMC */ 23 mmc1 = &sd_emmc_c; /* eMMC */ 24 mmc2 = &sd_emmc_a; /* SDIO */ 24 mmc2 = &sd_emmc_a; /* SDIO */ 25 }; 25 }; 26 26 27 chosen { 27 chosen { 28 #address-cells = <2>; 28 #address-cells = <2>; 29 #size-cells = <2>; 29 #size-cells = <2>; 30 ranges; 30 ranges; 31 31 32 simplefb_cvbs: framebuffer-cvb 32 simplefb_cvbs: framebuffer-cvbs { 33 compatible = "amlogic, 33 compatible = "amlogic,simple-framebuffer", 34 "simple-f 34 "simple-framebuffer"; 35 amlogic,pipeline = "vp 35 amlogic,pipeline = "vpu-cvbs"; 36 clocks = <&clkc CLKID_ 36 clocks = <&clkc CLKID_HDMI>, 37 <&clkc CLKID_ 37 <&clkc CLKID_HTX_PCLK>, 38 <&clkc CLKID_ 38 <&clkc CLKID_VPU_INTR>; 39 status = "disabled"; 39 status = "disabled"; 40 }; 40 }; 41 41 42 simplefb_hdmi: framebuffer-hdm 42 simplefb_hdmi: framebuffer-hdmi { 43 compatible = "amlogic, 43 compatible = "amlogic,simple-framebuffer", 44 "simple-fr 44 "simple-framebuffer"; 45 amlogic,pipeline = "vp 45 amlogic,pipeline = "vpu-hdmi"; 46 clocks = <&clkc CLKID_ 46 clocks = <&clkc CLKID_HDMI>, 47 <&clkc CLKID_ 47 <&clkc CLKID_HTX_PCLK>, 48 <&clkc CLKID_ 48 <&clkc CLKID_VPU_INTR>; 49 status = "disabled"; 49 status = "disabled"; 50 }; 50 }; 51 }; 51 }; 52 52 53 efuse: efuse { 53 efuse: efuse { 54 compatible = "amlogic,meson-gx 54 compatible = "amlogic,meson-gxbb-efuse"; 55 clocks = <&clkc CLKID_EFUSE>; 55 clocks = <&clkc CLKID_EFUSE>; 56 #address-cells = <1>; 56 #address-cells = <1>; 57 #size-cells = <1>; 57 #size-cells = <1>; 58 read-only; 58 read-only; 59 secure-monitor = <&sm>; 59 secure-monitor = <&sm>; 60 }; 60 }; 61 61 62 gpu_opp_table: opp-table-gpu { 62 gpu_opp_table: opp-table-gpu { 63 compatible = "operating-points 63 compatible = "operating-points-v2"; 64 64 65 opp-124999998 { 65 opp-124999998 { 66 opp-hz = /bits/ 64 <12 66 opp-hz = /bits/ 64 <124999998>; 67 opp-microvolt = <80000 67 opp-microvolt = <800000>; 68 }; 68 }; 69 opp-249999996 { 69 opp-249999996 { 70 opp-hz = /bits/ 64 <24 70 opp-hz = /bits/ 64 <249999996>; 71 opp-microvolt = <80000 71 opp-microvolt = <800000>; 72 }; 72 }; 73 opp-285714281 { 73 opp-285714281 { 74 opp-hz = /bits/ 64 <28 74 opp-hz = /bits/ 64 <285714281>; 75 opp-microvolt = <80000 75 opp-microvolt = <800000>; 76 }; 76 }; 77 opp-399999994 { 77 opp-399999994 { 78 opp-hz = /bits/ 64 <39 78 opp-hz = /bits/ 64 <399999994>; 79 opp-microvolt = <80000 79 opp-microvolt = <800000>; 80 }; 80 }; 81 opp-499999992 { 81 opp-499999992 { 82 opp-hz = /bits/ 64 <49 82 opp-hz = /bits/ 64 <499999992>; 83 opp-microvolt = <80000 83 opp-microvolt = <800000>; 84 }; 84 }; 85 opp-666666656 { 85 opp-666666656 { 86 opp-hz = /bits/ 64 <66 86 opp-hz = /bits/ 64 <666666656>; 87 opp-microvolt = <80000 87 opp-microvolt = <800000>; 88 }; 88 }; 89 opp-799999987 { 89 opp-799999987 { 90 opp-hz = /bits/ 64 <79 90 opp-hz = /bits/ 64 <799999987>; 91 opp-microvolt = <80000 91 opp-microvolt = <800000>; 92 }; 92 }; 93 }; 93 }; 94 94 95 psci { 95 psci { 96 compatible = "arm,psci-1.0"; 96 compatible = "arm,psci-1.0"; 97 method = "smc"; 97 method = "smc"; 98 }; 98 }; 99 99 100 reserved-memory { 100 reserved-memory { 101 #address-cells = <2>; 101 #address-cells = <2>; 102 #size-cells = <2>; 102 #size-cells = <2>; 103 ranges; 103 ranges; 104 104 105 /* 3 MiB reserved for ARM Trus 105 /* 3 MiB reserved for ARM Trusted Firmware (BL31) */ 106 secmon_reserved: secmon@500000 106 secmon_reserved: secmon@5000000 { 107 reg = <0x0 0x05000000 107 reg = <0x0 0x05000000 0x0 0x300000>; 108 no-map; 108 no-map; 109 }; 109 }; 110 110 111 /* 32 MiB reserved for ARM Tru 111 /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ 112 secmon_reserved_bl32: secmon@5 112 secmon_reserved_bl32: secmon@5300000 { 113 reg = <0x0 0x05300000 113 reg = <0x0 0x05300000 0x0 0x2000000>; 114 no-map; 114 no-map; 115 }; 115 }; 116 116 117 linux,cma { 117 linux,cma { 118 compatible = "shared-d 118 compatible = "shared-dma-pool"; 119 reusable; 119 reusable; 120 size = <0x0 0x10000000 120 size = <0x0 0x10000000>; 121 alignment = <0x0 0x400 121 alignment = <0x0 0x400000>; 122 linux,cma-default; 122 linux,cma-default; 123 }; 123 }; 124 }; 124 }; 125 125 126 sm: secure-monitor { 126 sm: secure-monitor { 127 compatible = "amlogic,meson-gx 127 compatible = "amlogic,meson-gxbb-sm"; 128 }; 128 }; 129 129 130 soc { 130 soc { 131 compatible = "simple-bus"; 131 compatible = "simple-bus"; 132 #address-cells = <2>; 132 #address-cells = <2>; 133 #size-cells = <2>; 133 #size-cells = <2>; 134 ranges; 134 ranges; 135 135 136 pcie: pcie@fc000000 { 136 pcie: pcie@fc000000 { 137 compatible = "amlogic, 137 compatible = "amlogic,g12a-pcie", "snps,dw-pcie"; 138 reg = <0x0 0xfc000000 138 reg = <0x0 0xfc000000 0x0 0x400000>, 139 <0x0 0xff648000 139 <0x0 0xff648000 0x0 0x2000>, 140 <0x0 0xfc400000 140 <0x0 0xfc400000 0x0 0x200000>; 141 reg-names = "elbi", "c 141 reg-names = "elbi", "cfg", "config"; 142 interrupts = <GIC_SPI 142 interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 143 #interrupt-cells = <1> 143 #interrupt-cells = <1>; 144 interrupt-map-mask = < 144 interrupt-map-mask = <0 0 0 0>; 145 interrupt-map = <0 0 0 145 interrupt-map = <0 0 0 0 &gic GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 146 bus-range = <0x0 0xff> 146 bus-range = <0x0 0xff>; 147 #address-cells = <3>; 147 #address-cells = <3>; 148 #size-cells = <2>; 148 #size-cells = <2>; 149 device_type = "pci"; 149 device_type = "pci"; 150 ranges = <0x81000000 0 150 ranges = <0x81000000 0 0 0x0 0xfc600000 0 0x00100000>, 151 <0x82000000 0 151 <0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>; 152 152 153 clocks = <&clkc CLKID_ 153 clocks = <&clkc CLKID_PCIE_PHY 154 &clkc CLKID_ 154 &clkc CLKID_PCIE_COMB 155 &clkc CLKID_ 155 &clkc CLKID_PCIE_PLL>; 156 clock-names = "general 156 clock-names = "general", 157 "pclk", 157 "pclk", 158 "port"; 158 "port"; 159 resets = <&reset RESET 159 resets = <&reset RESET_PCIE_CTRL_A>, 160 <&reset RESET 160 <&reset RESET_PCIE_APB>; 161 reset-names = "port", 161 reset-names = "port", 162 "apb"; 162 "apb"; 163 num-lanes = <1>; 163 num-lanes = <1>; 164 phys = <&usb3_pcie_phy 164 phys = <&usb3_pcie_phy PHY_TYPE_PCIE>; 165 phy-names = "pcie"; 165 phy-names = "pcie"; 166 status = "disabled"; 166 status = "disabled"; 167 }; 167 }; 168 168 169 ethmac: ethernet@ff3f0000 { 169 ethmac: ethernet@ff3f0000 { 170 compatible = "amlogic, 170 compatible = "amlogic,meson-g12a-dwmac", 171 "snps,dwm 171 "snps,dwmac-3.70a", 172 "snps,dwm 172 "snps,dwmac"; 173 reg = <0x0 0xff3f0000 173 reg = <0x0 0xff3f0000 0x0 0x10000>, 174 <0x0 0xff634540 174 <0x0 0xff634540 0x0 0x8>; 175 interrupts = <GIC_SPI 175 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 176 interrupt-names = "mac 176 interrupt-names = "macirq"; 177 clocks = <&clkc CLKID_ 177 clocks = <&clkc CLKID_ETH>, 178 <&clkc CLKID_ 178 <&clkc CLKID_FCLK_DIV2>, 179 <&clkc CLKID_ 179 <&clkc CLKID_MPLL2>, 180 <&clkc CLKID_ 180 <&clkc CLKID_FCLK_DIV2>; 181 clock-names = "stmmace 181 clock-names = "stmmaceth", "clkin0", "clkin1", 182 "timing- 182 "timing-adjustment"; 183 rx-fifo-depth = <4096> 183 rx-fifo-depth = <4096>; 184 tx-fifo-depth = <2048> 184 tx-fifo-depth = <2048>; 185 status = "disabled"; 185 status = "disabled"; 186 186 187 mdio0: mdio { 187 mdio0: mdio { 188 #address-cells 188 #address-cells = <1>; 189 #size-cells = 189 #size-cells = <0>; 190 compatible = " 190 compatible = "snps,dwmac-mdio"; 191 }; 191 }; 192 }; 192 }; 193 193 194 apb: bus@ff600000 { 194 apb: bus@ff600000 { 195 compatible = "simple-b 195 compatible = "simple-bus"; 196 reg = <0x0 0xff600000 196 reg = <0x0 0xff600000 0x0 0x200000>; 197 #address-cells = <2>; 197 #address-cells = <2>; 198 #size-cells = <2>; 198 #size-cells = <2>; 199 ranges = <0x0 0x0 0x0 199 ranges = <0x0 0x0 0x0 0xff600000 0x0 0x200000>; 200 200 201 hdmi_tx: hdmi-tx@0 { 201 hdmi_tx: hdmi-tx@0 { 202 compatible = " 202 compatible = "amlogic,meson-g12a-dw-hdmi"; 203 reg = <0x0 0x0 203 reg = <0x0 0x0 0x0 0x10000>; 204 interrupts = < 204 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>; 205 resets = <&res 205 resets = <&reset RESET_HDMITX_CAPB3>, 206 <&res 206 <&reset RESET_HDMITX_PHY>, 207 <&res 207 <&reset RESET_HDMITX>; 208 reset-names = 208 reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; 209 clocks = <&clk 209 clocks = <&clkc CLKID_HDMI>, 210 <&clk 210 <&clkc CLKID_HTX_PCLK>, 211 <&clk 211 <&clkc CLKID_VPU_INTR>; 212 clock-names = 212 clock-names = "isfr", "iahb", "venci"; 213 #address-cells 213 #address-cells = <1>; 214 #size-cells = 214 #size-cells = <0>; 215 #sound-dai-cel 215 #sound-dai-cells = <0>; 216 status = "disa 216 status = "disabled"; 217 217 218 assigned-clock 218 assigned-clocks = <&clkc CLKID_HDMI_SEL>, 219 219 <&clkc CLKID_HDMI>; 220 assigned-clock 220 assigned-clock-parents = <&xtal>, <0>; 221 assigned-clock 221 assigned-clock-rates = <0>, <24000000>; 222 222 223 /* VPU VENC In 223 /* VPU VENC Input */ 224 hdmi_tx_venc_p 224 hdmi_tx_venc_port: port@0 { 225 reg = 225 reg = <0>; 226 226 227 hdmi_t 227 hdmi_tx_in: endpoint { 228 228 remote-endpoint = <&hdmi_tx_out>; 229 }; 229 }; 230 }; 230 }; 231 231 232 /* TMDS Output 232 /* TMDS Output */ 233 hdmi_tx_tmds_p 233 hdmi_tx_tmds_port: port@1 { 234 reg = 234 reg = <1>; 235 }; 235 }; 236 }; 236 }; 237 237 238 apb_efuse: bus@30000 { 238 apb_efuse: bus@30000 { 239 compatible = " 239 compatible = "simple-bus"; 240 reg = <0x0 0x3 240 reg = <0x0 0x30000 0x0 0x2000>; 241 #address-cells 241 #address-cells = <2>; 242 #size-cells = 242 #size-cells = <2>; 243 ranges = <0x0 243 ranges = <0x0 0x0 0x0 0x30000 0x0 0x2000>; 244 244 245 hwrng: rng@218 245 hwrng: rng@218 { 246 compat 246 compatible = "amlogic,meson-rng"; 247 reg = 247 reg = <0x0 0x218 0x0 0x4>; 248 clocks 248 clocks = <&clkc CLKID_RNG0>; 249 clock- 249 clock-names = "core"; 250 }; 250 }; 251 }; 251 }; 252 252 253 acodec: audio-controll 253 acodec: audio-controller@32000 { 254 compatible = " 254 compatible = "amlogic,t9015"; 255 reg = <0x0 0x3 255 reg = <0x0 0x32000 0x0 0x14>; 256 #sound-dai-cel 256 #sound-dai-cells = <0>; 257 sound-name-pre 257 sound-name-prefix = "ACODEC"; 258 clocks = <&clk 258 clocks = <&clkc CLKID_AUDIO_CODEC>; 259 clock-names = 259 clock-names = "pclk"; 260 resets = <&res 260 resets = <&reset RESET_AUDIO_CODEC>; 261 status = "disa 261 status = "disabled"; 262 }; 262 }; 263 263 264 periphs: bus@34400 { 264 periphs: bus@34400 { 265 compatible = " 265 compatible = "simple-bus"; 266 reg = <0x0 0x3 266 reg = <0x0 0x34400 0x0 0x400>; 267 #address-cells 267 #address-cells = <2>; 268 #size-cells = 268 #size-cells = <2>; 269 ranges = <0x0 269 ranges = <0x0 0x0 0x0 0x34400 0x0 0x400>; 270 270 271 periphs_pinctr 271 periphs_pinctrl: pinctrl@40 { 272 compat 272 compatible = "amlogic,meson-g12a-periphs-pinctrl"; 273 #addre 273 #address-cells = <2>; 274 #size- 274 #size-cells = <2>; 275 ranges 275 ranges; 276 276 277 gpio: 277 gpio: bank@40 { 278 278 reg = <0x0 0x40 0x0 0x4c>, 279 279 <0x0 0xe8 0x0 0x18>, 280 280 <0x0 0x120 0x0 0x18>, 281 281 <0x0 0x2c0 0x0 0x40>, 282 282 <0x0 0x340 0x0 0x1c>; 283 283 reg-names = "gpio", 284 284 "pull", 285 285 "pull-enable", 286 286 "mux", 287 287 "ds"; 288 288 gpio-controller; 289 289 #gpio-cells = <2>; 290 290 gpio-ranges = <&periphs_pinctrl 0 0 86>; 291 }; 291 }; 292 292 293 cec_ao 293 cec_ao_a_h_pins: cec_ao_a_h { 294 294 mux { 295 295 groups = "cec_ao_a_h"; 296 296 function = "cec_ao_a_h"; 297 297 bias-disable; 298 298 }; 299 }; 299 }; 300 300 301 cec_ao 301 cec_ao_b_h_pins: cec_ao_b_h { 302 302 mux { 303 303 groups = "cec_ao_b_h"; 304 304 function = "cec_ao_b_h"; 305 305 bias-disable; 306 306 }; 307 }; 307 }; 308 308 309 emmc_c 309 emmc_ctrl_pins: emmc-ctrl { 310 310 mux-0 { 311 311 groups = "emmc_cmd"; 312 312 function = "emmc"; 313 313 bias-pull-up; 314 314 drive-strength-microamp = <4000>; 315 315 }; 316 316 317 317 mux-1 { 318 318 groups = "emmc_clk"; 319 319 function = "emmc"; 320 320 bias-disable; 321 321 drive-strength-microamp = <4000>; 322 322 }; 323 }; 323 }; 324 324 325 emmc_d 325 emmc_data_4b_pins: emmc-data-4b { 326 326 mux-0 { 327 327 groups = "emmc_nand_d0", 328 328 "emmc_nand_d1", 329 329 "emmc_nand_d2", 330 330 "emmc_nand_d3"; 331 331 function = "emmc"; 332 332 bias-pull-up; 333 333 drive-strength-microamp = <4000>; 334 334 }; 335 }; 335 }; 336 336 337 emmc_d 337 emmc_data_8b_pins: emmc-data-8b { 338 338 mux-0 { 339 339 groups = "emmc_nand_d0", 340 340 "emmc_nand_d1", 341 341 "emmc_nand_d2", 342 342 "emmc_nand_d3", 343 343 "emmc_nand_d4", 344 344 "emmc_nand_d5", 345 345 "emmc_nand_d6", 346 346 "emmc_nand_d7"; 347 347 function = "emmc"; 348 348 bias-pull-up; 349 349 drive-strength-microamp = <4000>; 350 350 }; 351 }; 351 }; 352 352 353 emmc_d 353 emmc_ds_pins: emmc-ds { 354 354 mux { 355 355 groups = "emmc_nand_ds"; 356 356 function = "emmc"; 357 357 bias-pull-down; 358 358 drive-strength-microamp = <4000>; 359 359 }; 360 }; 360 }; 361 361 362 emmc_c 362 emmc_clk_gate_pins: emmc_clk_gate { 363 363 mux { 364 364 groups = "BOOT_8"; 365 365 function = "gpio_periphs"; 366 366 bias-pull-down; 367 367 drive-strength-microamp = <4000>; 368 368 }; 369 }; 369 }; 370 370 371 hdmitx 371 hdmitx_ddc_pins: hdmitx_ddc { 372 372 mux { 373 373 groups = "hdmitx_sda", 374 374 "hdmitx_sck"; 375 375 function = "hdmitx"; 376 376 bias-disable; 377 377 drive-strength-microamp = <4000>; 378 378 }; 379 }; 379 }; 380 380 381 hdmitx 381 hdmitx_hpd_pins: hdmitx_hpd { 382 382 mux { 383 383 groups = "hdmitx_hpd_in"; 384 384 function = "hdmitx"; 385 385 bias-disable; 386 386 }; 387 }; 387 }; 388 388 389 389 390 i2c0_s 390 i2c0_sda_c_pins: i2c0-sda-c { 391 391 mux { 392 392 groups = "i2c0_sda_c"; 393 393 function = "i2c0"; 394 394 bias-disable; 395 395 drive-strength-microamp = <3000>; 396 396 397 397 }; 398 }; 398 }; 399 399 400 i2c0_s 400 i2c0_sck_c_pins: i2c0-sck-c { 401 401 mux { 402 402 groups = "i2c0_sck_c"; 403 403 function = "i2c0"; 404 404 bias-disable; 405 405 drive-strength-microamp = <3000>; 406 406 }; 407 }; 407 }; 408 408 409 i2c0_s 409 i2c0_sda_z0_pins: i2c0-sda-z0 { 410 410 mux { 411 411 groups = "i2c0_sda_z0"; 412 412 function = "i2c0"; 413 413 bias-disable; 414 414 drive-strength-microamp = <3000>; 415 415 }; 416 }; 416 }; 417 417 418 i2c0_s 418 i2c0_sck_z1_pins: i2c0-sck-z1 { 419 419 mux { 420 420 groups = "i2c0_sck_z1"; 421 421 function = "i2c0"; 422 422 bias-disable; 423 423 drive-strength-microamp = <3000>; 424 424 }; 425 }; 425 }; 426 426 427 i2c0_s 427 i2c0_sda_z7_pins: i2c0-sda-z7 { 428 428 mux { 429 429 groups = "i2c0_sda_z7"; 430 430 function = "i2c0"; 431 431 bias-disable; 432 432 drive-strength-microamp = <3000>; 433 433 }; 434 }; 434 }; 435 435 436 i2c0_s 436 i2c0_sda_z8_pins: i2c0-sda-z8 { 437 437 mux { 438 438 groups = "i2c0_sda_z8"; 439 439 function = "i2c0"; 440 440 bias-disable; 441 441 drive-strength-microamp = <3000>; 442 442 }; 443 }; 443 }; 444 444 445 i2c1_s 445 i2c1_sda_x_pins: i2c1-sda-x { 446 446 mux { 447 447 groups = "i2c1_sda_x"; 448 448 function = "i2c1"; 449 449 bias-disable; 450 450 drive-strength-microamp = <3000>; 451 451 }; 452 }; 452 }; 453 453 454 i2c1_s 454 i2c1_sck_x_pins: i2c1-sck-x { 455 455 mux { 456 456 groups = "i2c1_sck_x"; 457 457 function = "i2c1"; 458 458 bias-disable; 459 459 drive-strength-microamp = <3000>; 460 460 }; 461 }; 461 }; 462 462 463 i2c1_s 463 i2c1_sda_h2_pins: i2c1-sda-h2 { 464 464 mux { 465 465 groups = "i2c1_sda_h2"; 466 466 function = "i2c1"; 467 467 bias-disable; 468 468 drive-strength-microamp = <3000>; 469 469 }; 470 }; 470 }; 471 471 472 i2c1_s 472 i2c1_sck_h3_pins: i2c1-sck-h3 { 473 473 mux { 474 474 groups = "i2c1_sck_h3"; 475 475 function = "i2c1"; 476 476 bias-disable; 477 477 drive-strength-microamp = <3000>; 478 478 }; 479 }; 479 }; 480 480 481 i2c1_s 481 i2c1_sda_h6_pins: i2c1-sda-h6 { 482 482 mux { 483 483 groups = "i2c1_sda_h6"; 484 484 function = "i2c1"; 485 485 bias-disable; 486 486 drive-strength-microamp = <3000>; 487 487 }; 488 }; 488 }; 489 489 490 i2c1_s 490 i2c1_sck_h7_pins: i2c1-sck-h7 { 491 491 mux { 492 492 groups = "i2c1_sck_h7"; 493 493 function = "i2c1"; 494 494 bias-disable; 495 495 drive-strength-microamp = <3000>; 496 496 }; 497 }; 497 }; 498 498 499 i2c2_s 499 i2c2_sda_x_pins: i2c2-sda-x { 500 500 mux { 501 501 groups = "i2c2_sda_x"; 502 502 function = "i2c2"; 503 503 bias-disable; 504 504 drive-strength-microamp = <3000>; 505 505 }; 506 }; 506 }; 507 507 508 i2c2_s 508 i2c2_sck_x_pins: i2c2-sck-x { 509 509 mux { 510 510 groups = "i2c2_sck_x"; 511 511 function = "i2c2"; 512 512 bias-disable; 513 513 drive-strength-microamp = <3000>; 514 514 }; 515 }; 515 }; 516 516 517 i2c2_s 517 i2c2_sda_z_pins: i2c2-sda-z { 518 518 mux { 519 519 groups = "i2c2_sda_z"; 520 520 function = "i2c2"; 521 521 bias-disable; 522 522 drive-strength-microamp = <3000>; 523 523 }; 524 }; 524 }; 525 525 526 i2c2_s 526 i2c2_sck_z_pins: i2c2-sck-z { 527 527 mux { 528 528 groups = "i2c2_sck_z"; 529 529 function = "i2c2"; 530 530 bias-disable; 531 531 drive-strength-microamp = <3000>; 532 532 }; 533 }; 533 }; 534 534 535 i2c3_s 535 i2c3_sda_h_pins: i2c3-sda-h { 536 536 mux { 537 537 groups = "i2c3_sda_h"; 538 538 function = "i2c3"; 539 539 bias-disable; 540 540 drive-strength-microamp = <3000>; 541 541 }; 542 }; 542 }; 543 543 544 i2c3_s 544 i2c3_sck_h_pins: i2c3-sck-h { 545 545 mux { 546 546 groups = "i2c3_sck_h"; 547 547 function = "i2c3"; 548 548 bias-disable; 549 549 drive-strength-microamp = <3000>; 550 550 }; 551 }; 551 }; 552 552 553 i2c3_s 553 i2c3_sda_a_pins: i2c3-sda-a { 554 554 mux { 555 555 groups = "i2c3_sda_a"; 556 556 function = "i2c3"; 557 557 bias-disable; 558 558 drive-strength-microamp = <3000>; 559 559 }; 560 }; 560 }; 561 561 562 i2c3_s 562 i2c3_sck_a_pins: i2c3-sck-a { 563 563 mux { 564 564 groups = "i2c3_sck_a"; 565 565 function = "i2c3"; 566 566 bias-disable; 567 567 drive-strength-microamp = <3000>; 568 568 }; 569 }; 569 }; 570 570 571 mclk0_ 571 mclk0_a_pins: mclk0-a { 572 572 mux { 573 573 groups = "mclk0_a"; 574 574 function = "mclk0"; 575 575 bias-disable; 576 576 drive-strength-microamp = <3000>; 577 577 }; 578 }; 578 }; 579 579 580 mclk1_ 580 mclk1_a_pins: mclk1-a { 581 581 mux { 582 582 groups = "mclk1_a"; 583 583 function = "mclk1"; 584 584 bias-disable; 585 585 drive-strength-microamp = <3000>; 586 586 }; 587 }; 587 }; 588 588 589 mclk1_ 589 mclk1_x_pins: mclk1-x { 590 590 mux { 591 591 groups = "mclk1_x"; 592 592 function = "mclk1"; 593 593 bias-disable; 594 594 drive-strength-microamp = <3000>; 595 595 }; 596 }; 596 }; 597 597 598 mclk1_ 598 mclk1_z_pins: mclk1-z { 599 599 mux { 600 600 groups = "mclk1_z"; 601 601 function = "mclk1"; 602 602 bias-disable; 603 603 drive-strength-microamp = <3000>; 604 604 }; 605 }; 605 }; 606 606 607 nor_pi 607 nor_pins: nor { 608 608 mux { 609 609 groups = "nor_d", 610 610 "nor_q", 611 611 "nor_c", 612 612 "nor_cs"; 613 613 function = "nor"; 614 614 bias-disable; 615 615 }; 616 }; 616 }; 617 617 618 pdm_di 618 pdm_din0_a_pins: pdm-din0-a { 619 619 mux { 620 620 groups = "pdm_din0_a"; 621 621 function = "pdm"; 622 622 bias-disable; 623 623 }; 624 }; 624 }; 625 625 626 pdm_di 626 pdm_din0_c_pins: pdm-din0-c { 627 627 mux { 628 628 groups = "pdm_din0_c"; 629 629 function = "pdm"; 630 630 bias-disable; 631 631 }; 632 }; 632 }; 633 633 634 pdm_di 634 pdm_din0_x_pins: pdm-din0-x { 635 635 mux { 636 636 groups = "pdm_din0_x"; 637 637 function = "pdm"; 638 638 bias-disable; 639 639 }; 640 }; 640 }; 641 641 642 pdm_di 642 pdm_din0_z_pins: pdm-din0-z { 643 643 mux { 644 644 groups = "pdm_din0_z"; 645 645 function = "pdm"; 646 646 bias-disable; 647 647 }; 648 }; 648 }; 649 649 650 pdm_di 650 pdm_din1_a_pins: pdm-din1-a { 651 651 mux { 652 652 groups = "pdm_din1_a"; 653 653 function = "pdm"; 654 654 bias-disable; 655 655 }; 656 }; 656 }; 657 657 658 pdm_di 658 pdm_din1_c_pins: pdm-din1-c { 659 659 mux { 660 660 groups = "pdm_din1_c"; 661 661 function = "pdm"; 662 662 bias-disable; 663 663 }; 664 }; 664 }; 665 665 666 pdm_di 666 pdm_din1_x_pins: pdm-din1-x { 667 667 mux { 668 668 groups = "pdm_din1_x"; 669 669 function = "pdm"; 670 670 bias-disable; 671 671 }; 672 }; 672 }; 673 673 674 pdm_di 674 pdm_din1_z_pins: pdm-din1-z { 675 675 mux { 676 676 groups = "pdm_din1_z"; 677 677 function = "pdm"; 678 678 bias-disable; 679 679 }; 680 }; 680 }; 681 681 682 pdm_di 682 pdm_din2_a_pins: pdm-din2-a { 683 683 mux { 684 684 groups = "pdm_din2_a"; 685 685 function = "pdm"; 686 686 bias-disable; 687 687 }; 688 }; 688 }; 689 689 690 pdm_di 690 pdm_din2_c_pins: pdm-din2-c { 691 691 mux { 692 692 groups = "pdm_din2_c"; 693 693 function = "pdm"; 694 694 bias-disable; 695 695 }; 696 }; 696 }; 697 697 698 pdm_di 698 pdm_din2_x_pins: pdm-din2-x { 699 699 mux { 700 700 groups = "pdm_din2_x"; 701 701 function = "pdm"; 702 702 bias-disable; 703 703 }; 704 }; 704 }; 705 705 706 pdm_di 706 pdm_din2_z_pins: pdm-din2-z { 707 707 mux { 708 708 groups = "pdm_din2_z"; 709 709 function = "pdm"; 710 710 bias-disable; 711 711 }; 712 }; 712 }; 713 713 714 pdm_di 714 pdm_din3_a_pins: pdm-din3-a { 715 715 mux { 716 716 groups = "pdm_din3_a"; 717 717 function = "pdm"; 718 718 bias-disable; 719 719 }; 720 }; 720 }; 721 721 722 pdm_di 722 pdm_din3_c_pins: pdm-din3-c { 723 723 mux { 724 724 groups = "pdm_din3_c"; 725 725 function = "pdm"; 726 726 bias-disable; 727 727 }; 728 }; 728 }; 729 729 730 pdm_di 730 pdm_din3_x_pins: pdm-din3-x { 731 731 mux { 732 732 groups = "pdm_din3_x"; 733 733 function = "pdm"; 734 734 bias-disable; 735 735 }; 736 }; 736 }; 737 737 738 pdm_di 738 pdm_din3_z_pins: pdm-din3-z { 739 739 mux { 740 740 groups = "pdm_din3_z"; 741 741 function = "pdm"; 742 742 bias-disable; 743 743 }; 744 }; 744 }; 745 745 746 pdm_dc 746 pdm_dclk_a_pins: pdm-dclk-a { 747 747 mux { 748 748 groups = "pdm_dclk_a"; 749 749 function = "pdm"; 750 750 bias-disable; 751 751 drive-strength-microamp = <500>; 752 752 }; 753 }; 753 }; 754 754 755 pdm_dc 755 pdm_dclk_c_pins: pdm-dclk-c { 756 756 mux { 757 757 groups = "pdm_dclk_c"; 758 758 function = "pdm"; 759 759 bias-disable; 760 760 drive-strength-microamp = <500>; 761 761 }; 762 }; 762 }; 763 763 764 pdm_dc 764 pdm_dclk_x_pins: pdm-dclk-x { 765 765 mux { 766 766 groups = "pdm_dclk_x"; 767 767 function = "pdm"; 768 768 bias-disable; 769 769 drive-strength-microamp = <500>; 770 770 }; 771 }; 771 }; 772 772 773 pdm_dc 773 pdm_dclk_z_pins: pdm-dclk-z { 774 774 mux { 775 775 groups = "pdm_dclk_z"; 776 776 function = "pdm"; 777 777 bias-disable; 778 778 drive-strength-microamp = <500>; 779 779 }; 780 }; 780 }; 781 781 782 pwm_a_ 782 pwm_a_pins: pwm-a { 783 783 mux { 784 784 groups = "pwm_a"; 785 785 function = "pwm_a"; 786 786 bias-disable; 787 787 }; 788 }; 788 }; 789 789 790 pwm_b_ 790 pwm_b_x7_pins: pwm-b-x7 { 791 791 mux { 792 792 groups = "pwm_b_x7"; 793 793 function = "pwm_b"; 794 794 bias-disable; 795 795 }; 796 }; 796 }; 797 797 798 pwm_b_ 798 pwm_b_x19_pins: pwm-b-x19 { 799 799 mux { 800 800 groups = "pwm_b_x19"; 801 801 function = "pwm_b"; 802 802 bias-disable; 803 803 }; 804 }; 804 }; 805 805 806 pwm_c_ 806 pwm_c_c_pins: pwm-c-c { 807 807 mux { 808 808 groups = "pwm_c_c"; 809 809 function = "pwm_c"; 810 810 bias-disable; 811 811 }; 812 }; 812 }; 813 813 814 pwm_c_ 814 pwm_c_x5_pins: pwm-c-x5 { 815 815 mux { 816 816 groups = "pwm_c_x5"; 817 817 function = "pwm_c"; 818 818 bias-disable; 819 819 }; 820 }; 820 }; 821 821 822 pwm_c_ 822 pwm_c_x8_pins: pwm-c-x8 { 823 823 mux { 824 824 groups = "pwm_c_x8"; 825 825 function = "pwm_c"; 826 826 bias-disable; 827 827 }; 828 }; 828 }; 829 829 830 pwm_d_ 830 pwm_d_x3_pins: pwm-d-x3 { 831 831 mux { 832 832 groups = "pwm_d_x3"; 833 833 function = "pwm_d"; 834 834 bias-disable; 835 835 }; 836 }; 836 }; 837 837 838 pwm_d_ 838 pwm_d_x6_pins: pwm-d-x6 { 839 839 mux { 840 840 groups = "pwm_d_x6"; 841 841 function = "pwm_d"; 842 842 bias-disable; 843 843 }; 844 }; 844 }; 845 845 846 pwm_e_ 846 pwm_e_pins: pwm-e { 847 847 mux { 848 848 groups = "pwm_e"; 849 849 function = "pwm_e"; 850 850 bias-disable; 851 851 }; 852 }; 852 }; 853 853 854 pwm_f_ 854 pwm_f_z_pins: pwm-f-z { 855 855 mux { 856 856 groups = "pwm_f_z"; 857 857 function = "pwm_f"; 858 858 bias-disable; 859 859 }; 860 }; 860 }; 861 861 862 pwm_f_ 862 pwm_f_a_pins: pwm-f-a { 863 863 mux { 864 864 groups = "pwm_f_a"; 865 865 function = "pwm_f"; 866 866 bias-disable; 867 867 }; 868 }; 868 }; 869 869 870 pwm_f_ 870 pwm_f_x_pins: pwm-f-x { 871 871 mux { 872 872 groups = "pwm_f_x"; 873 873 function = "pwm_f"; 874 874 bias-disable; 875 875 }; 876 }; 876 }; 877 877 878 pwm_f_ 878 pwm_f_h_pins: pwm-f-h { 879 879 mux { 880 880 groups = "pwm_f_h"; 881 881 function = "pwm_f"; 882 882 bias-disable; 883 883 }; 884 }; 884 }; 885 885 886 sdcard 886 sdcard_c_pins: sdcard_c { 887 887 mux-0 { 888 888 groups = "sdcard_d0_c", 889 889 "sdcard_d1_c", 890 890 "sdcard_d2_c", 891 891 "sdcard_d3_c", 892 892 "sdcard_cmd_c"; 893 893 function = "sdcard"; 894 894 bias-pull-up; 895 895 drive-strength-microamp = <4000>; 896 896 }; 897 897 898 898 mux-1 { 899 899 groups = "sdcard_clk_c"; 900 900 function = "sdcard"; 901 901 bias-disable; 902 902 drive-strength-microamp = <4000>; 903 903 }; 904 }; 904 }; 905 905 906 sdcard 906 sdcard_clk_gate_c_pins: sdcard_clk_gate_c { 907 907 mux { 908 908 groups = "GPIOC_4"; 909 909 function = "gpio_periphs"; 910 910 bias-pull-down; 911 911 drive-strength-microamp = <4000>; 912 912 }; 913 }; 913 }; 914 914 915 sdcard 915 sdcard_z_pins: sdcard_z { 916 916 mux-0 { 917 917 groups = "sdcard_d0_z", 918 918 "sdcard_d1_z", 919 919 "sdcard_d2_z", 920 920 "sdcard_d3_z", 921 921 "sdcard_cmd_z"; 922 922 function = "sdcard"; 923 923 bias-pull-up; 924 924 drive-strength-microamp = <4000>; 925 925 }; 926 926 927 927 mux-1 { 928 928 groups = "sdcard_clk_z"; 929 929 function = "sdcard"; 930 930 bias-disable; 931 931 drive-strength-microamp = <4000>; 932 932 }; 933 }; 933 }; 934 934 935 sdcard 935 sdcard_clk_gate_z_pins: sdcard_clk_gate_z { 936 936 mux { 937 937 groups = "GPIOZ_6"; 938 938 function = "gpio_periphs"; 939 939 bias-pull-down; 940 940 drive-strength-microamp = <4000>; 941 941 }; 942 }; 942 }; 943 943 944 sdio_p 944 sdio_pins: sdio { 945 945 mux { 946 946 groups = "sdio_d0", 947 947 "sdio_d1", 948 948 "sdio_d2", 949 949 "sdio_d3", 950 950 "sdio_clk", 951 951 "sdio_cmd"; 952 952 function = "sdio"; 953 953 bias-disable; 954 954 drive-strength-microamp = <4000>; 955 955 }; 956 }; 956 }; 957 957 958 sdio_c 958 sdio_clk_gate_pins: sdio_clk_gate { 959 959 mux { 960 960 groups = "GPIOX_4"; 961 961 function = "gpio_periphs"; 962 962 bias-pull-down; 963 963 drive-strength-microamp = <4000>; 964 964 }; 965 }; 965 }; 966 966 967 spdif_ 967 spdif_in_a10_pins: spdif-in-a10 { 968 968 mux { 969 969 groups = "spdif_in_a10"; 970 970 function = "spdif_in"; 971 971 bias-disable; 972 972 }; 973 }; 973 }; 974 974 975 spdif_ 975 spdif_in_a12_pins: spdif-in-a12 { 976 976 mux { 977 977 groups = "spdif_in_a12"; 978 978 function = "spdif_in"; 979 979 bias-disable; 980 980 }; 981 }; 981 }; 982 982 983 spdif_ 983 spdif_in_h_pins: spdif-in-h { 984 984 mux { 985 985 groups = "spdif_in_h"; 986 986 function = "spdif_in"; 987 987 bias-disable; 988 988 }; 989 }; 989 }; 990 990 991 spdif_ 991 spdif_out_h_pins: spdif-out-h { 992 992 mux { 993 993 groups = "spdif_out_h"; 994 994 function = "spdif_out"; 995 !! 995 drive-strength-microamp = <500>; 996 996 bias-disable; 997 997 }; 998 }; 998 }; 999 999 1000 spdif 1000 spdif_out_a11_pins: spdif-out-a11 { 1001 1001 mux { 1002 1002 groups = "spdif_out_a11"; 1003 1003 function = "spdif_out"; 1004 !! 1004 drive-strength-microamp = <500>; 1005 1005 bias-disable; 1006 1006 }; 1007 }; 1007 }; 1008 1008 1009 spdif 1009 spdif_out_a13_pins: spdif-out-a13 { 1010 1010 mux { 1011 1011 groups = "spdif_out_a13"; 1012 1012 function = "spdif_out"; 1013 !! 1013 drive-strength-microamp = <500>; 1014 1014 bias-disable; 1015 1015 }; 1016 }; 1016 }; 1017 1017 1018 spicc 1018 spicc0_x_pins: spicc0-x { 1019 1019 mux { 1020 1020 groups = "spi0_mosi_x", 1021 1021 "spi0_miso_x", 1022 1022 "spi0_clk_x"; 1023 1023 function = "spi0"; 1024 1024 drive-strength-microamp = <4000>; 1025 1025 bias-disable; 1026 1026 }; 1027 }; 1027 }; 1028 1028 1029 spicc 1029 spicc0_ss0_x_pins: spicc0-ss0-x { 1030 1030 mux { 1031 1031 groups = "spi0_ss0_x"; 1032 1032 function = "spi0"; 1033 1033 drive-strength-microamp = <4000>; 1034 1034 bias-disable; 1035 1035 }; 1036 }; 1036 }; 1037 1037 1038 spicc 1038 spicc0_c_pins: spicc0-c { 1039 1039 mux { 1040 1040 groups = "spi0_mosi_c", 1041 1041 "spi0_miso_c", 1042 1042 "spi0_ss0_c", 1043 1043 "spi0_clk_c"; 1044 1044 function = "spi0"; 1045 1045 drive-strength-microamp = <4000>; 1046 1046 bias-disable; 1047 1047 }; 1048 }; 1048 }; 1049 1049 1050 spicc 1050 spicc1_pins: spicc1 { 1051 1051 mux { 1052 1052 groups = "spi1_mosi", 1053 1053 "spi1_miso", 1054 1054 "spi1_clk"; 1055 1055 function = "spi1"; 1056 1056 drive-strength-microamp = <4000>; 1057 1057 }; 1058 }; 1058 }; 1059 1059 1060 spicc 1060 spicc1_ss0_pins: spicc1-ss0 { 1061 1061 mux { 1062 1062 groups = "spi1_ss0"; 1063 1063 function = "spi1"; 1064 1064 drive-strength-microamp = <4000>; 1065 1065 bias-disable; 1066 1066 }; 1067 }; 1067 }; 1068 1068 1069 tdm_a 1069 tdm_a_din0_pins: tdm-a-din0 { 1070 1070 mux { 1071 1071 groups = "tdm_a_din0"; 1072 1072 function = "tdm_a"; 1073 1073 bias-disable; 1074 1074 }; 1075 }; 1075 }; 1076 1076 1077 1077 1078 tdm_a 1078 tdm_a_din1_pins: tdm-a-din1 { 1079 1079 mux { 1080 1080 groups = "tdm_a_din1"; 1081 1081 function = "tdm_a"; 1082 1082 bias-disable; 1083 1083 }; 1084 }; 1084 }; 1085 1085 1086 tdm_a 1086 tdm_a_dout0_pins: tdm-a-dout0 { 1087 1087 mux { 1088 1088 groups = "tdm_a_dout0"; 1089 1089 function = "tdm_a"; 1090 1090 bias-disable; 1091 1091 drive-strength-microamp = <3000>; 1092 1092 }; 1093 }; 1093 }; 1094 1094 1095 tdm_a 1095 tdm_a_dout1_pins: tdm-a-dout1 { 1096 1096 mux { 1097 1097 groups = "tdm_a_dout1"; 1098 1098 function = "tdm_a"; 1099 1099 bias-disable; 1100 1100 drive-strength-microamp = <3000>; 1101 1101 }; 1102 }; 1102 }; 1103 1103 1104 tdm_a 1104 tdm_a_fs_pins: tdm-a-fs { 1105 1105 mux { 1106 1106 groups = "tdm_a_fs"; 1107 1107 function = "tdm_a"; 1108 1108 bias-disable; 1109 1109 drive-strength-microamp = <3000>; 1110 1110 }; 1111 }; 1111 }; 1112 1112 1113 tdm_a 1113 tdm_a_sclk_pins: tdm-a-sclk { 1114 1114 mux { 1115 1115 groups = "tdm_a_sclk"; 1116 1116 function = "tdm_a"; 1117 1117 bias-disable; 1118 1118 drive-strength-microamp = <3000>; 1119 1119 }; 1120 }; 1120 }; 1121 1121 1122 tdm_a 1122 tdm_a_slv_fs_pins: tdm-a-slv-fs { 1123 1123 mux { 1124 1124 groups = "tdm_a_slv_fs"; 1125 1125 function = "tdm_a"; 1126 1126 bias-disable; 1127 1127 }; 1128 }; 1128 }; 1129 1129 1130 1130 1131 tdm_a 1131 tdm_a_slv_sclk_pins: tdm-a-slv-sclk { 1132 1132 mux { 1133 1133 groups = "tdm_a_slv_sclk"; 1134 1134 function = "tdm_a"; 1135 1135 bias-disable; 1136 1136 }; 1137 }; 1137 }; 1138 1138 1139 tdm_b 1139 tdm_b_din0_pins: tdm-b-din0 { 1140 1140 mux { 1141 1141 groups = "tdm_b_din0"; 1142 1142 function = "tdm_b"; 1143 1143 bias-disable; 1144 1144 }; 1145 }; 1145 }; 1146 1146 1147 tdm_b 1147 tdm_b_din1_pins: tdm-b-din1 { 1148 1148 mux { 1149 1149 groups = "tdm_b_din1"; 1150 1150 function = "tdm_b"; 1151 1151 bias-disable; 1152 1152 }; 1153 }; 1153 }; 1154 1154 1155 tdm_b 1155 tdm_b_din2_pins: tdm-b-din2 { 1156 1156 mux { 1157 1157 groups = "tdm_b_din2"; 1158 1158 function = "tdm_b"; 1159 1159 bias-disable; 1160 1160 }; 1161 }; 1161 }; 1162 1162 1163 tdm_b 1163 tdm_b_din3_a_pins: tdm-b-din3-a { 1164 1164 mux { 1165 1165 groups = "tdm_b_din3_a"; 1166 1166 function = "tdm_b"; 1167 1167 bias-disable; 1168 1168 }; 1169 }; 1169 }; 1170 1170 1171 tdm_b 1171 tdm_b_din3_h_pins: tdm-b-din3-h { 1172 1172 mux { 1173 1173 groups = "tdm_b_din3_h"; 1174 1174 function = "tdm_b"; 1175 1175 bias-disable; 1176 1176 }; 1177 }; 1177 }; 1178 1178 1179 tdm_b 1179 tdm_b_dout0_pins: tdm-b-dout0 { 1180 1180 mux { 1181 1181 groups = "tdm_b_dout0"; 1182 1182 function = "tdm_b"; 1183 1183 bias-disable; 1184 1184 drive-strength-microamp = <3000>; 1185 1185 }; 1186 }; 1186 }; 1187 1187 1188 tdm_b 1188 tdm_b_dout1_pins: tdm-b-dout1 { 1189 1189 mux { 1190 1190 groups = "tdm_b_dout1"; 1191 1191 function = "tdm_b"; 1192 1192 bias-disable; 1193 1193 drive-strength-microamp = <3000>; 1194 1194 }; 1195 }; 1195 }; 1196 1196 1197 tdm_b 1197 tdm_b_dout2_pins: tdm-b-dout2 { 1198 1198 mux { 1199 1199 groups = "tdm_b_dout2"; 1200 1200 function = "tdm_b"; 1201 1201 bias-disable; 1202 1202 drive-strength-microamp = <3000>; 1203 1203 }; 1204 }; 1204 }; 1205 1205 1206 tdm_b 1206 tdm_b_dout3_a_pins: tdm-b-dout3-a { 1207 1207 mux { 1208 1208 groups = "tdm_b_dout3_a"; 1209 1209 function = "tdm_b"; 1210 1210 bias-disable; 1211 1211 drive-strength-microamp = <3000>; 1212 1212 }; 1213 }; 1213 }; 1214 1214 1215 tdm_b 1215 tdm_b_dout3_h_pins: tdm-b-dout3-h { 1216 1216 mux { 1217 1217 groups = "tdm_b_dout3_h"; 1218 1218 function = "tdm_b"; 1219 1219 bias-disable; 1220 1220 drive-strength-microamp = <3000>; 1221 1221 }; 1222 }; 1222 }; 1223 1223 1224 tdm_b 1224 tdm_b_fs_pins: tdm-b-fs { 1225 1225 mux { 1226 1226 groups = "tdm_b_fs"; 1227 1227 function = "tdm_b"; 1228 1228 bias-disable; 1229 1229 drive-strength-microamp = <3000>; 1230 1230 }; 1231 }; 1231 }; 1232 1232 1233 tdm_b 1233 tdm_b_sclk_pins: tdm-b-sclk { 1234 1234 mux { 1235 1235 groups = "tdm_b_sclk"; 1236 1236 function = "tdm_b"; 1237 1237 bias-disable; 1238 1238 drive-strength-microamp = <3000>; 1239 1239 }; 1240 }; 1240 }; 1241 1241 1242 tdm_b 1242 tdm_b_slv_fs_pins: tdm-b-slv-fs { 1243 1243 mux { 1244 1244 groups = "tdm_b_slv_fs"; 1245 1245 function = "tdm_b"; 1246 1246 bias-disable; 1247 1247 }; 1248 }; 1248 }; 1249 1249 1250 tdm_b 1250 tdm_b_slv_sclk_pins: tdm-b-slv-sclk { 1251 1251 mux { 1252 1252 groups = "tdm_b_slv_sclk"; 1253 1253 function = "tdm_b"; 1254 1254 bias-disable; 1255 1255 }; 1256 }; 1256 }; 1257 1257 1258 tdm_c 1258 tdm_c_din0_a_pins: tdm-c-din0-a { 1259 1259 mux { 1260 1260 groups = "tdm_c_din0_a"; 1261 1261 function = "tdm_c"; 1262 1262 bias-disable; 1263 1263 }; 1264 }; 1264 }; 1265 1265 1266 tdm_c 1266 tdm_c_din0_z_pins: tdm-c-din0-z { 1267 1267 mux { 1268 1268 groups = "tdm_c_din0_z"; 1269 1269 function = "tdm_c"; 1270 1270 bias-disable; 1271 1271 }; 1272 }; 1272 }; 1273 1273 1274 tdm_c 1274 tdm_c_din1_a_pins: tdm-c-din1-a { 1275 1275 mux { 1276 1276 groups = "tdm_c_din1_a"; 1277 1277 function = "tdm_c"; 1278 1278 bias-disable; 1279 1279 }; 1280 }; 1280 }; 1281 1281 1282 tdm_c 1282 tdm_c_din1_z_pins: tdm-c-din1-z { 1283 1283 mux { 1284 1284 groups = "tdm_c_din1_z"; 1285 1285 function = "tdm_c"; 1286 1286 bias-disable; 1287 1287 }; 1288 }; 1288 }; 1289 1289 1290 tdm_c 1290 tdm_c_din2_a_pins: tdm-c-din2-a { 1291 1291 mux { 1292 1292 groups = "tdm_c_din2_a"; 1293 1293 function = "tdm_c"; 1294 1294 bias-disable; 1295 1295 }; 1296 }; 1296 }; 1297 1297 1298 eth_l 1298 eth_leds_pins: eth-leds { 1299 1299 mux { 1300 1300 groups = "eth_link_led", 1301 1301 "eth_act_led"; 1302 1302 function = "eth"; 1303 1303 bias-disable; 1304 1304 }; 1305 }; 1305 }; 1306 1306 1307 eth_p 1307 eth_pins: eth { 1308 1308 mux { 1309 1309 groups = "eth_mdio", 1310 1310 "eth_mdc", 1311 1311 "eth_rgmii_rx_clk", 1312 1312 "eth_rx_dv", 1313 1313 "eth_rxd0", 1314 1314 "eth_rxd1", 1315 1315 "eth_txen", 1316 1316 "eth_txd0", 1317 1317 "eth_txd1"; 1318 1318 function = "eth"; 1319 1319 drive-strength-microamp = <4000>; 1320 1320 bias-disable; 1321 1321 }; 1322 }; 1322 }; 1323 1323 1324 eth_r 1324 eth_rgmii_pins: eth-rgmii { 1325 1325 mux { 1326 1326 groups = "eth_rxd2_rgmii", 1327 1327 "eth_rxd3_rgmii", 1328 1328 "eth_rgmii_tx_clk", 1329 1329 "eth_txd2_rgmii", 1330 1330 "eth_txd3_rgmii"; 1331 1331 function = "eth"; 1332 1332 drive-strength-microamp = <4000>; 1333 1333 bias-disable; 1334 1334 }; 1335 }; 1335 }; 1336 1336 1337 tdm_c 1337 tdm_c_din2_z_pins: tdm-c-din2-z { 1338 1338 mux { 1339 1339 groups = "tdm_c_din2_z"; 1340 1340 function = "tdm_c"; 1341 1341 bias-disable; 1342 1342 }; 1343 }; 1343 }; 1344 1344 1345 tdm_c 1345 tdm_c_din3_a_pins: tdm-c-din3-a { 1346 1346 mux { 1347 1347 groups = "tdm_c_din3_a"; 1348 1348 function = "tdm_c"; 1349 1349 bias-disable; 1350 1350 }; 1351 }; 1351 }; 1352 1352 1353 tdm_c 1353 tdm_c_din3_z_pins: tdm-c-din3-z { 1354 1354 mux { 1355 1355 groups = "tdm_c_din3_z"; 1356 1356 function = "tdm_c"; 1357 1357 bias-disable; 1358 1358 }; 1359 }; 1359 }; 1360 1360 1361 tdm_c 1361 tdm_c_dout0_a_pins: tdm-c-dout0-a { 1362 1362 mux { 1363 1363 groups = "tdm_c_dout0_a"; 1364 1364 function = "tdm_c"; 1365 1365 bias-disable; 1366 1366 drive-strength-microamp = <3000>; 1367 1367 }; 1368 }; 1368 }; 1369 1369 1370 tdm_c 1370 tdm_c_dout0_z_pins: tdm-c-dout0-z { 1371 1371 mux { 1372 1372 groups = "tdm_c_dout0_z"; 1373 1373 function = "tdm_c"; 1374 1374 bias-disable; 1375 1375 drive-strength-microamp = <3000>; 1376 1376 }; 1377 }; 1377 }; 1378 1378 1379 tdm_c 1379 tdm_c_dout1_a_pins: tdm-c-dout1-a { 1380 1380 mux { 1381 1381 groups = "tdm_c_dout1_a"; 1382 1382 function = "tdm_c"; 1383 1383 bias-disable; 1384 1384 drive-strength-microamp = <3000>; 1385 1385 }; 1386 }; 1386 }; 1387 1387 1388 tdm_c 1388 tdm_c_dout1_z_pins: tdm-c-dout1-z { 1389 1389 mux { 1390 1390 groups = "tdm_c_dout1_z"; 1391 1391 function = "tdm_c"; 1392 1392 bias-disable; 1393 1393 drive-strength-microamp = <3000>; 1394 1394 }; 1395 }; 1395 }; 1396 1396 1397 tdm_c 1397 tdm_c_dout2_a_pins: tdm-c-dout2-a { 1398 1398 mux { 1399 1399 groups = "tdm_c_dout2_a"; 1400 1400 function = "tdm_c"; 1401 1401 bias-disable; 1402 1402 drive-strength-microamp = <3000>; 1403 1403 }; 1404 }; 1404 }; 1405 1405 1406 tdm_c 1406 tdm_c_dout2_z_pins: tdm-c-dout2-z { 1407 1407 mux { 1408 1408 groups = "tdm_c_dout2_z"; 1409 1409 function = "tdm_c"; 1410 1410 bias-disable; 1411 1411 drive-strength-microamp = <3000>; 1412 1412 }; 1413 }; 1413 }; 1414 1414 1415 tdm_c 1415 tdm_c_dout3_a_pins: tdm-c-dout3-a { 1416 1416 mux { 1417 1417 groups = "tdm_c_dout3_a"; 1418 1418 function = "tdm_c"; 1419 1419 bias-disable; 1420 1420 drive-strength-microamp = <3000>; 1421 1421 }; 1422 }; 1422 }; 1423 1423 1424 tdm_c 1424 tdm_c_dout3_z_pins: tdm-c-dout3-z { 1425 1425 mux { 1426 1426 groups = "tdm_c_dout3_z"; 1427 1427 function = "tdm_c"; 1428 1428 bias-disable; 1429 1429 drive-strength-microamp = <3000>; 1430 1430 }; 1431 }; 1431 }; 1432 1432 1433 tdm_c 1433 tdm_c_fs_a_pins: tdm-c-fs-a { 1434 1434 mux { 1435 1435 groups = "tdm_c_fs_a"; 1436 1436 function = "tdm_c"; 1437 1437 bias-disable; 1438 1438 drive-strength-microamp = <3000>; 1439 1439 }; 1440 }; 1440 }; 1441 1441 1442 tdm_c 1442 tdm_c_fs_z_pins: tdm-c-fs-z { 1443 1443 mux { 1444 1444 groups = "tdm_c_fs_z"; 1445 1445 function = "tdm_c"; 1446 1446 bias-disable; 1447 1447 drive-strength-microamp = <3000>; 1448 1448 }; 1449 }; 1449 }; 1450 1450 1451 tdm_c 1451 tdm_c_sclk_a_pins: tdm-c-sclk-a { 1452 1452 mux { 1453 1453 groups = "tdm_c_sclk_a"; 1454 1454 function = "tdm_c"; 1455 1455 bias-disable; 1456 1456 drive-strength-microamp = <3000>; 1457 1457 }; 1458 }; 1458 }; 1459 1459 1460 tdm_c 1460 tdm_c_sclk_z_pins: tdm-c-sclk-z { 1461 1461 mux { 1462 1462 groups = "tdm_c_sclk_z"; 1463 1463 function = "tdm_c"; 1464 1464 bias-disable; 1465 1465 drive-strength-microamp = <3000>; 1466 1466 }; 1467 }; 1467 }; 1468 1468 1469 tdm_c 1469 tdm_c_slv_fs_a_pins: tdm-c-slv-fs-a { 1470 1470 mux { 1471 1471 groups = "tdm_c_slv_fs_a"; 1472 1472 function = "tdm_c"; 1473 1473 bias-disable; 1474 1474 }; 1475 }; 1475 }; 1476 1476 1477 tdm_c 1477 tdm_c_slv_fs_z_pins: tdm-c-slv-fs-z { 1478 1478 mux { 1479 1479 groups = "tdm_c_slv_fs_z"; 1480 1480 function = "tdm_c"; 1481 1481 bias-disable; 1482 1482 }; 1483 }; 1483 }; 1484 1484 1485 tdm_c 1485 tdm_c_slv_sclk_a_pins: tdm-c-slv-sclk-a { 1486 1486 mux { 1487 1487 groups = "tdm_c_slv_sclk_a"; 1488 1488 function = "tdm_c"; 1489 1489 bias-disable; 1490 1490 }; 1491 }; 1491 }; 1492 1492 1493 tdm_c 1493 tdm_c_slv_sclk_z_pins: tdm-c-slv-sclk-z { 1494 1494 mux { 1495 1495 groups = "tdm_c_slv_sclk_z"; 1496 1496 function = "tdm_c"; 1497 1497 bias-disable; 1498 1498 }; 1499 }; 1499 }; 1500 1500 1501 uart_ 1501 uart_a_pins: uart-a { 1502 1502 mux { 1503 1503 groups = "uart_a_tx", 1504 1504 "uart_a_rx"; 1505 1505 function = "uart_a"; 1506 1506 bias-disable; 1507 1507 }; 1508 }; 1508 }; 1509 1509 1510 uart_ 1510 uart_a_cts_rts_pins: uart-a-cts-rts { 1511 1511 mux { 1512 1512 groups = "uart_a_cts", 1513 1513 "uart_a_rts"; 1514 1514 function = "uart_a"; 1515 1515 bias-disable; 1516 1516 }; 1517 }; 1517 }; 1518 1518 1519 uart_ 1519 uart_b_pins: uart-b { 1520 1520 mux { 1521 1521 groups = "uart_b_tx", 1522 1522 "uart_b_rx"; 1523 1523 function = "uart_b"; 1524 1524 bias-disable; 1525 1525 }; 1526 }; 1526 }; 1527 1527 1528 uart_ 1528 uart_c_pins: uart-c { 1529 1529 mux { 1530 1530 groups = "uart_c_tx", 1531 1531 "uart_c_rx"; 1532 1532 function = "uart_c"; 1533 1533 bias-disable; 1534 1534 }; 1535 }; 1535 }; 1536 1536 1537 uart_ 1537 uart_c_cts_rts_pins: uart-c-cts-rts { 1538 1538 mux { 1539 1539 groups = "uart_c_cts", 1540 1540 "uart_c_rts"; 1541 1541 function = "uart_c"; 1542 1542 bias-disable; 1543 1543 }; 1544 }; 1544 }; 1545 }; 1545 }; 1546 }; 1546 }; 1547 1547 1548 cpu_temp: temperature 1548 cpu_temp: temperature-sensor@34800 { 1549 compatible = 1549 compatible = "amlogic,g12a-cpu-thermal", 1550 1550 "amlogic,g12a-thermal"; 1551 reg = <0x0 0x 1551 reg = <0x0 0x34800 0x0 0x50>; 1552 interrupts = 1552 interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>; 1553 clocks = <&cl 1553 clocks = <&clkc CLKID_TS>; 1554 #thermal-sens 1554 #thermal-sensor-cells = <0>; 1555 amlogic,ao-se 1555 amlogic,ao-secure = <&sec_AO>; 1556 }; 1556 }; 1557 1557 1558 ddr_temp: temperature 1558 ddr_temp: temperature-sensor@34c00 { 1559 compatible = 1559 compatible = "amlogic,g12a-ddr-thermal", 1560 1560 "amlogic,g12a-thermal"; 1561 reg = <0x0 0x 1561 reg = <0x0 0x34c00 0x0 0x50>; 1562 interrupts = 1562 interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>; 1563 clocks = <&cl 1563 clocks = <&clkc CLKID_TS>; 1564 #thermal-sens 1564 #thermal-sensor-cells = <0>; 1565 amlogic,ao-se 1565 amlogic,ao-secure = <&sec_AO>; 1566 }; 1566 }; 1567 1567 1568 usb2_phy0: phy@36000 1568 usb2_phy0: phy@36000 { 1569 compatible = 1569 compatible = "amlogic,g12a-usb2-phy"; 1570 reg = <0x0 0x 1570 reg = <0x0 0x36000 0x0 0x2000>; 1571 clocks = <&xt 1571 clocks = <&xtal>; 1572 clock-names = 1572 clock-names = "xtal"; 1573 resets = <&re 1573 resets = <&reset RESET_USB_PHY20>; 1574 reset-names = 1574 reset-names = "phy"; 1575 #phy-cells = 1575 #phy-cells = <0>; 1576 }; 1576 }; 1577 1577 1578 dmc: bus@38000 { 1578 dmc: bus@38000 { 1579 compatible = 1579 compatible = "simple-bus"; 1580 #address-cell 1580 #address-cells = <2>; 1581 #size-cells = 1581 #size-cells = <2>; 1582 ranges = <0x0 1582 ranges = <0x0 0x0 0x0 0x38000 0x0 0x2000>; 1583 1583 1584 canvas: video 1584 canvas: video-lut@48 { 1585 compa 1585 compatible = "amlogic,canvas"; 1586 reg = 1586 reg = <0x0 0x48 0x0 0x14>; 1587 }; 1587 }; 1588 1588 1589 pmu: pmu@80 { 1589 pmu: pmu@80 { 1590 reg = 1590 reg = <0x0 0x80 0x0 0x40>, 1591 1591 <0x0 0xc00 0x0 0x40>; 1592 inter 1592 interrupts = <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>; 1593 }; 1593 }; 1594 }; 1594 }; 1595 1595 1596 usb2_phy1: phy@3a000 1596 usb2_phy1: phy@3a000 { 1597 compatible = 1597 compatible = "amlogic,g12a-usb2-phy"; 1598 reg = <0x0 0x 1598 reg = <0x0 0x3a000 0x0 0x2000>; 1599 clocks = <&xt 1599 clocks = <&xtal>; 1600 clock-names = 1600 clock-names = "xtal"; 1601 resets = <&re 1601 resets = <&reset RESET_USB_PHY21>; 1602 reset-names = 1602 reset-names = "phy"; 1603 #phy-cells = 1603 #phy-cells = <0>; 1604 }; 1604 }; 1605 1605 1606 hiu: bus@3c000 { 1606 hiu: bus@3c000 { 1607 compatible = 1607 compatible = "simple-bus"; 1608 reg = <0x0 0x 1608 reg = <0x0 0x3c000 0x0 0x1400>; 1609 #address-cell 1609 #address-cells = <2>; 1610 #size-cells = 1610 #size-cells = <2>; 1611 ranges = <0x0 1611 ranges = <0x0 0x0 0x0 0x3c000 0x0 0x1400>; 1612 1612 1613 hhi: system-c 1613 hhi: system-controller@0 { 1614 compa 1614 compatible = "amlogic,meson-gx-hhi-sysctrl", 1615 1615 "simple-mfd", "syscon"; 1616 reg = 1616 reg = <0 0 0 0x400>; 1617 1617 1618 clkc: 1618 clkc: clock-controller { 1619 1619 compatible = "amlogic,g12a-clkc"; 1620 1620 #clock-cells = <1>; 1621 1621 clocks = <&xtal>; 1622 1622 clock-names = "xtal"; 1623 }; 1623 }; 1624 1624 1625 pwrc: 1625 pwrc: power-controller { 1626 1626 compatible = "amlogic,meson-g12a-pwrc"; 1627 1627 #power-domain-cells = <1>; 1628 1628 amlogic,ao-sysctrl = <&rti>; 1629 1629 resets = <&reset RESET_VIU>, 1630 1630 <&reset RESET_VENC>, 1631 1631 <&reset RESET_VCBUS>, 1632 1632 <&reset RESET_BT656>, 1633 1633 <&reset RESET_RDMA>, 1634 1634 <&reset RESET_VENCI>, 1635 1635 <&reset RESET_VENCP>, 1636 1636 <&reset RESET_VDAC>, 1637 1637 <&reset RESET_VDI6>, 1638 1638 <&reset RESET_VENCL>, 1639 1639 <&reset RESET_VID_LOCK>; 1640 1640 reset-names = "viu", "venc", "vcbus", "bt656", 1641 1641 "rdma", "venci", "vencp", "vdac", 1642 1642 "vdi6", "vencl", "vid_lock"; 1643 1643 clocks = <&clkc CLKID_VPU>, 1644 1644 <&clkc CLKID_VAPB>; 1645 1645 clock-names = "vpu", "vapb"; 1646 1646 /* 1647 1647 * VPU clocking is provided by two identical clock paths 1648 1648 * VPU_0 and VPU_1 muxed to a single clock by a glitch 1649 1649 * free mux to safely change frequency while running. 1650 1650 * Same for VAPB but with a final gate after the glitch free mux. 1651 1651 */ 1652 1652 assigned-clocks = <&clkc CLKID_VPU_0_SEL>, 1653 1653 <&clkc CLKID_VPU_0>, 1654 1654 <&clkc CLKID_VPU>, /* Glitch free mux */ 1655 1655 <&clkc CLKID_VAPB_0_SEL>, 1656 1656 <&clkc CLKID_VAPB_0>, 1657 1657 <&clkc CLKID_VAPB_SEL>; /* Glitch free mux */ 1658 1658 assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>, 1659 1659 <0>, /* Do Nothing */ 1660 1660 <&clkc CLKID_VPU_0>, 1661 1661 <&clkc CLKID_FCLK_DIV4>, 1662 1662 <0>, /* Do Nothing */ 1663 1663 <&clkc CLKID_VAPB_0>; 1664 1664 assigned-clock-rates = <0>, /* Do Nothing */ 1665 1665 <666666666>, 1666 1666 <0>, /* Do Nothing */ 1667 1667 <0>, /* Do Nothing */ 1668 1668 <250000000>, 1669 1669 <0>; /* Do Nothing */ 1670 }; 1670 }; 1671 1671 1672 mipi_ 1672 mipi_analog_dphy: phy { 1673 1673 compatible = "amlogic,g12a-mipi-dphy-analog"; 1674 1674 #phy-cells = <0>; 1675 1675 status = "disabled"; 1676 }; 1676 }; 1677 }; 1677 }; 1678 }; 1678 }; 1679 1679 1680 mipi_dphy: phy@44000 1680 mipi_dphy: phy@44000 { 1681 compatible = 1681 compatible = "amlogic,axg-mipi-dphy"; 1682 reg = <0x0 0x 1682 reg = <0x0 0x44000 0x0 0x2000>; 1683 clocks = <&cl 1683 clocks = <&clkc CLKID_MIPI_DSI_PHY>; 1684 clock-names = 1684 clock-names = "pclk"; 1685 resets = <&re 1685 resets = <&reset RESET_MIPI_DSI_PHY>; 1686 reset-names = 1686 reset-names = "phy"; 1687 phys = <&mipi 1687 phys = <&mipi_analog_dphy>; 1688 phy-names = " 1688 phy-names = "analog"; 1689 #phy-cells = 1689 #phy-cells = <0>; 1690 status = "dis 1690 status = "disabled"; 1691 }; 1691 }; 1692 1692 1693 usb3_pcie_phy: phy@46 1693 usb3_pcie_phy: phy@46000 { 1694 compatible = 1694 compatible = "amlogic,g12a-usb3-pcie-phy"; 1695 reg = <0x0 0x 1695 reg = <0x0 0x46000 0x0 0x2000>; 1696 clocks = <&cl 1696 clocks = <&clkc CLKID_PCIE_PLL>; 1697 clock-names = 1697 clock-names = "ref_clk"; 1698 resets = <&re 1698 resets = <&reset RESET_PCIE_PHY>; 1699 reset-names = 1699 reset-names = "phy"; 1700 assigned-cloc 1700 assigned-clocks = <&clkc CLKID_PCIE_PLL>; 1701 assigned-cloc 1701 assigned-clock-rates = <100000000>; 1702 #phy-cells = 1702 #phy-cells = <1>; 1703 }; 1703 }; 1704 1704 1705 eth_phy: mdio-multipl 1705 eth_phy: mdio-multiplexer@4c000 { 1706 compatible = 1706 compatible = "amlogic,g12a-mdio-mux"; 1707 reg = <0x0 0x 1707 reg = <0x0 0x4c000 0x0 0xa4>; 1708 clocks = <&cl 1708 clocks = <&clkc CLKID_ETH_PHY>, 1709 <&xt 1709 <&xtal>, 1710 <&cl 1710 <&clkc CLKID_MPLL_50M>; 1711 clock-names = 1711 clock-names = "pclk", "clkin0", "clkin1"; 1712 mdio-parent-b 1712 mdio-parent-bus = <&mdio0>; 1713 #address-cell 1713 #address-cells = <1>; 1714 #size-cells = 1714 #size-cells = <0>; 1715 1715 1716 ext_mdio: mdi 1716 ext_mdio: mdio@0 { 1717 reg = 1717 reg = <0>; 1718 #addr 1718 #address-cells = <1>; 1719 #size 1719 #size-cells = <0>; 1720 }; 1720 }; 1721 1721 1722 int_mdio: mdi 1722 int_mdio: mdio@1 { 1723 reg = 1723 reg = <1>; 1724 #addr 1724 #address-cells = <1>; 1725 #size 1725 #size-cells = <0>; 1726 1726 1727 inter 1727 internal_ephy: ethernet-phy@8 { 1728 1728 compatible = "ethernet-phy-id0180.3301", 1729 1729 "ethernet-phy-ieee802.3-c22"; 1730 1730 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 1731 1731 reg = <8>; 1732 1732 max-speed = <100>; 1733 }; 1733 }; 1734 }; 1734 }; 1735 }; 1735 }; 1736 }; 1736 }; 1737 1737 1738 aobus: bus@ff800000 { 1738 aobus: bus@ff800000 { 1739 compatible = "simple- 1739 compatible = "simple-bus"; 1740 reg = <0x0 0xff800000 1740 reg = <0x0 0xff800000 0x0 0x100000>; 1741 #address-cells = <2>; 1741 #address-cells = <2>; 1742 #size-cells = <2>; 1742 #size-cells = <2>; 1743 ranges = <0x0 0x0 0x0 1743 ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>; 1744 1744 1745 rti: sys-ctrl@0 { 1745 rti: sys-ctrl@0 { 1746 compatible = 1746 compatible = "amlogic,meson-gx-ao-sysctrl", 1747 1747 "simple-mfd", "syscon"; 1748 reg = <0x0 0x 1748 reg = <0x0 0x0 0x0 0x100>; >> 1749 #address-cells = <2>; >> 1750 #size-cells = <2>; >> 1751 ranges = <0x0 0x0 0x0 0x0 0x0 0x100>; 1749 1752 1750 clkc_AO: cloc 1753 clkc_AO: clock-controller { 1751 compa 1754 compatible = "amlogic,meson-g12a-aoclkc"; 1752 #cloc 1755 #clock-cells = <1>; 1753 #rese 1756 #reset-cells = <1>; 1754 clock 1757 clocks = <&xtal>, <&clkc CLKID_CLK81>; 1755 clock 1758 clock-names = "xtal", "mpeg-clk"; 1756 }; 1759 }; 1757 }; << 1758 1760 1759 ao_pinctrl: pinctrl@1 !! 1761 ao_pinctrl: pinctrl { 1760 compatible = !! 1762 compatible = "amlogic,meson-g12a-aobus-pinctrl"; 1761 #address-cell !! 1763 #address-cells = <2>; 1762 #size-cells = !! 1764 #size-cells = <2>; 1763 ranges; !! 1765 ranges; 1764 1766 1765 gpio_ao: bank !! 1767 gpio_ao: bank@14 { 1766 reg = !! 1768 reg = <0x0 0x14 0x0 0x8>, 1767 !! 1769 <0x0 0x1c 0x0 0x8>, 1768 !! 1770 <0x0 0x24 0x0 0x14>; 1769 reg-n !! 1771 reg-names = "mux", 1770 !! 1772 "ds", 1771 !! 1773 "gpio"; 1772 gpio- !! 1774 gpio-controller; 1773 #gpio !! 1775 #gpio-cells = <2>; 1774 gpio- !! 1776 gpio-ranges = <&ao_pinctrl 0 0 15>; 1775 }; !! 1777 }; 1776 1778 1777 i2c_ao_sck_pi !! 1779 i2c_ao_sck_pins: i2c_ao_sck_pins { 1778 mux { !! 1780 mux { 1779 !! 1781 groups = "i2c_ao_sck"; 1780 !! 1782 function = "i2c_ao"; 1781 !! 1783 bias-disable; 1782 !! 1784 drive-strength-microamp = <3000>; >> 1785 }; 1783 }; 1786 }; 1784 }; << 1785 1787 1786 i2c_ao_sda_pi !! 1788 i2c_ao_sda_pins: i2c_ao_sda { 1787 mux { !! 1789 mux { 1788 !! 1790 groups = "i2c_ao_sda"; 1789 !! 1791 function = "i2c_ao"; 1790 !! 1792 bias-disable; 1791 !! 1793 drive-strength-microamp = <3000>; >> 1794 }; 1792 }; 1795 }; 1793 }; << 1794 1796 1795 i2c_ao_sck_e_ !! 1797 i2c_ao_sck_e_pins: i2c_ao_sck_e { 1796 mux { !! 1798 mux { 1797 !! 1799 groups = "i2c_ao_sck_e"; 1798 !! 1800 function = "i2c_ao"; 1799 !! 1801 bias-disable; 1800 !! 1802 drive-strength-microamp = <3000>; >> 1803 }; 1801 }; 1804 }; 1802 }; << 1803 1805 1804 i2c_ao_sda_e_ !! 1806 i2c_ao_sda_e_pins: i2c_ao_sda_e { 1805 mux { !! 1807 mux { 1806 !! 1808 groups = "i2c_ao_sda_e"; 1807 !! 1809 function = "i2c_ao"; 1808 !! 1810 bias-disable; 1809 !! 1811 drive-strength-microamp = <3000>; >> 1812 }; 1810 }; 1813 }; 1811 }; << 1812 1814 1813 mclk0_ao_pins !! 1815 mclk0_ao_pins: mclk0-ao { 1814 mux { !! 1816 mux { 1815 !! 1817 groups = "mclk0_ao"; 1816 !! 1818 function = "mclk0_ao"; 1817 !! 1819 bias-disable; 1818 !! 1820 drive-strength-microamp = <3000>; >> 1821 }; 1819 }; 1822 }; 1820 }; << 1821 1823 1822 tdm_ao_b_din0 !! 1824 tdm_ao_b_din0_pins: tdm-ao-b-din0 { 1823 mux { !! 1825 mux { 1824 !! 1826 groups = "tdm_ao_b_din0"; 1825 !! 1827 function = "tdm_ao_b"; 1826 !! 1828 bias-disable; >> 1829 }; 1827 }; 1830 }; 1828 }; << 1829 1831 1830 spdif_ao_out_ !! 1832 spdif_ao_out_pins: spdif-ao-out { 1831 mux { !! 1833 mux { 1832 !! 1834 groups = "spdif_ao_out"; 1833 !! 1835 function = "spdif_ao_out"; 1834 !! 1836 drive-strength-microamp = <500>; 1835 !! 1837 bias-disable; >> 1838 }; 1836 }; 1839 }; 1837 }; << 1838 1840 1839 tdm_ao_b_din1 !! 1841 tdm_ao_b_din1_pins: tdm-ao-b-din1 { 1840 mux { !! 1842 mux { 1841 !! 1843 groups = "tdm_ao_b_din1"; 1842 !! 1844 function = "tdm_ao_b"; 1843 !! 1845 bias-disable; >> 1846 }; 1844 }; 1847 }; 1845 }; << 1846 1848 1847 tdm_ao_b_din2 !! 1849 tdm_ao_b_din2_pins: tdm-ao-b-din2 { 1848 mux { !! 1850 mux { 1849 !! 1851 groups = "tdm_ao_b_din2"; 1850 !! 1852 function = "tdm_ao_b"; 1851 !! 1853 bias-disable; >> 1854 }; 1852 }; 1855 }; 1853 }; << 1854 1856 1855 tdm_ao_b_dout !! 1857 tdm_ao_b_dout0_pins: tdm-ao-b-dout0 { 1856 mux { !! 1858 mux { 1857 !! 1859 groups = "tdm_ao_b_dout0"; 1858 !! 1860 function = "tdm_ao_b"; 1859 !! 1861 bias-disable; 1860 !! 1862 drive-strength-microamp = <3000>; >> 1863 }; 1861 }; 1864 }; 1862 }; << 1863 1865 1864 tdm_ao_b_dout !! 1866 tdm_ao_b_dout1_pins: tdm-ao-b-dout1 { 1865 mux { !! 1867 mux { 1866 !! 1868 groups = "tdm_ao_b_dout1"; 1867 !! 1869 function = "tdm_ao_b"; 1868 !! 1870 bias-disable; 1869 !! 1871 drive-strength-microamp = <3000>; >> 1872 }; 1870 }; 1873 }; 1871 }; << 1872 1874 1873 tdm_ao_b_dout !! 1875 tdm_ao_b_dout2_pins: tdm-ao-b-dout2 { 1874 mux { !! 1876 mux { 1875 !! 1877 groups = "tdm_ao_b_dout2"; 1876 !! 1878 function = "tdm_ao_b"; 1877 !! 1879 bias-disable; 1878 !! 1880 drive-strength-microamp = <3000>; >> 1881 }; 1879 }; 1882 }; 1880 }; << 1881 1883 1882 tdm_ao_b_fs_p !! 1884 tdm_ao_b_fs_pins: tdm-ao-b-fs { 1883 mux { !! 1885 mux { 1884 !! 1886 groups = "tdm_ao_b_fs"; 1885 !! 1887 function = "tdm_ao_b"; 1886 !! 1888 bias-disable; 1887 !! 1889 drive-strength-microamp = <3000>; >> 1890 }; 1888 }; 1891 }; 1889 }; << 1890 1892 1891 tdm_ao_b_sclk !! 1893 tdm_ao_b_sclk_pins: tdm-ao-b-sclk { 1892 mux { !! 1894 mux { 1893 !! 1895 groups = "tdm_ao_b_sclk"; 1894 !! 1896 function = "tdm_ao_b"; 1895 !! 1897 bias-disable; 1896 !! 1898 drive-strength-microamp = <3000>; >> 1899 }; 1897 }; 1900 }; 1898 }; << 1899 1901 1900 tdm_ao_b_slv_ !! 1902 tdm_ao_b_slv_fs_pins: tdm-ao-b-slv-fs { 1901 mux { !! 1903 mux { 1902 !! 1904 groups = "tdm_ao_b_slv_fs"; 1903 !! 1905 function = "tdm_ao_b"; 1904 !! 1906 bias-disable; >> 1907 }; 1905 }; 1908 }; 1906 }; << 1907 1909 1908 tdm_ao_b_slv_ !! 1910 tdm_ao_b_slv_sclk_pins: tdm-ao-b-slv-sclk { 1909 mux { !! 1911 mux { 1910 !! 1912 groups = "tdm_ao_b_slv_sclk"; 1911 !! 1913 function = "tdm_ao_b"; 1912 !! 1914 bias-disable; >> 1915 }; 1913 }; 1916 }; 1914 }; << 1915 1917 1916 uart_ao_a_pin !! 1918 uart_ao_a_pins: uart-a-ao { 1917 mux { !! 1919 mux { 1918 !! 1920 groups = "uart_ao_a_tx", 1919 !! 1921 "uart_ao_a_rx"; 1920 !! 1922 function = "uart_ao_a"; 1921 !! 1923 bias-disable; >> 1924 }; 1922 }; 1925 }; 1923 }; << 1924 1926 1925 uart_ao_a_cts !! 1927 uart_ao_a_cts_rts_pins: uart-ao-a-cts-rts { 1926 mux { !! 1928 mux { 1927 !! 1929 groups = "uart_ao_a_cts", 1928 !! 1930 "uart_ao_a_rts"; 1929 !! 1931 function = "uart_ao_a"; 1930 !! 1932 bias-disable; >> 1933 }; 1931 }; 1934 }; 1932 }; << 1933 1935 1934 uart_ao_b_2_3 !! 1936 uart_ao_b_2_3_pins: uart-ao-b-2-3 { 1935 mux { !! 1937 mux { 1936 !! 1938 groups = "uart_ao_b_tx_2", 1937 !! 1939 "uart_ao_b_rx_3"; 1938 !! 1940 function = "uart_ao_b"; 1939 !! 1941 bias-disable; >> 1942 }; 1940 }; 1943 }; 1941 }; << 1942 1944 1943 uart_ao_b_8_9 !! 1945 uart_ao_b_8_9_pins: uart-ao-b-8-9 { 1944 mux { !! 1946 mux { 1945 !! 1947 groups = "uart_ao_b_tx_8", 1946 !! 1948 "uart_ao_b_rx_9"; 1947 !! 1949 function = "uart_ao_b"; 1948 !! 1950 bias-disable; >> 1951 }; 1949 }; 1952 }; 1950 }; << 1951 1953 1952 uart_ao_b_cts !! 1954 uart_ao_b_cts_rts_pins: uart-ao-b-cts-rts { 1953 mux { !! 1955 mux { 1954 !! 1956 groups = "uart_ao_b_cts", 1955 !! 1957 "uart_ao_b_rts"; 1956 !! 1958 function = "uart_ao_b"; 1957 !! 1959 bias-disable; >> 1960 }; 1958 }; 1961 }; 1959 }; << 1960 1962 1961 pwm_a_e_pins: !! 1963 pwm_a_e_pins: pwm-a-e { 1962 mux { !! 1964 mux { 1963 !! 1965 groups = "pwm_a_e"; 1964 !! 1966 function = "pwm_a_e"; 1965 !! 1967 bias-disable; >> 1968 }; 1966 }; 1969 }; 1967 }; << 1968 1970 1969 pwm_ao_a_pins !! 1971 pwm_ao_a_pins: pwm-ao-a { 1970 mux { !! 1972 mux { 1971 !! 1973 groups = "pwm_ao_a"; 1972 !! 1974 function = "pwm_ao_a"; 1973 !! 1975 bias-disable; >> 1976 }; 1974 }; 1977 }; 1975 }; << 1976 1978 1977 pwm_ao_b_pins !! 1979 pwm_ao_b_pins: pwm-ao-b { 1978 mux { !! 1980 mux { 1979 !! 1981 groups = "pwm_ao_b"; 1980 !! 1982 function = "pwm_ao_b"; 1981 !! 1983 bias-disable; >> 1984 }; 1982 }; 1985 }; 1983 }; << 1984 1986 1985 pwm_ao_c_4_pi !! 1987 pwm_ao_c_4_pins: pwm-ao-c-4 { 1986 mux { !! 1988 mux { 1987 !! 1989 groups = "pwm_ao_c_4"; 1988 !! 1990 function = "pwm_ao_c"; 1989 !! 1991 bias-disable; >> 1992 }; 1990 }; 1993 }; 1991 }; << 1992 1994 1993 pwm_ao_c_6_pi !! 1995 pwm_ao_c_6_pins: pwm-ao-c-6 { 1994 mux { !! 1996 mux { 1995 !! 1997 groups = "pwm_ao_c_6"; 1996 !! 1998 function = "pwm_ao_c"; 1997 !! 1999 bias-disable; >> 2000 }; 1998 }; 2001 }; 1999 }; << 2000 2002 2001 pwm_ao_d_5_pi !! 2003 pwm_ao_d_5_pins: pwm-ao-d-5 { 2002 mux { !! 2004 mux { 2003 !! 2005 groups = "pwm_ao_d_5"; 2004 !! 2006 function = "pwm_ao_d"; 2005 !! 2007 bias-disable; >> 2008 }; 2006 }; 2009 }; 2007 }; << 2008 2010 2009 pwm_ao_d_10_p !! 2011 pwm_ao_d_10_pins: pwm-ao-d-10 { 2010 mux { !! 2012 mux { 2011 !! 2013 groups = "pwm_ao_d_10"; 2012 !! 2014 function = "pwm_ao_d"; 2013 !! 2015 bias-disable; >> 2016 }; 2014 }; 2017 }; 2015 }; << 2016 2018 2017 pwm_ao_d_e_pi !! 2019 pwm_ao_d_e_pins: pwm-ao-d-e { 2018 mux { !! 2020 mux { 2019 !! 2021 groups = "pwm_ao_d_e"; 2020 !! 2022 function = "pwm_ao_d"; >> 2023 }; 2021 }; 2024 }; 2022 }; << 2023 2025 2024 remote_input_ !! 2026 remote_input_ao_pins: remote-input-ao { 2025 mux { !! 2027 mux { 2026 !! 2028 groups = "remote_ao_input"; 2027 !! 2029 function = "remote_ao_input"; 2028 !! 2030 bias-disable; >> 2031 }; 2029 }; 2032 }; 2030 }; 2033 }; 2031 }; 2034 }; 2032 2035 2033 vrtc: rtc@a8 { 2036 vrtc: rtc@a8 { 2034 compatible = 2037 compatible = "amlogic,meson-vrtc"; 2035 reg = <0x0 0x 2038 reg = <0x0 0x000a8 0x0 0x4>; 2036 }; 2039 }; 2037 2040 2038 cec_AO: cec@100 { 2041 cec_AO: cec@100 { 2039 compatible = 2042 compatible = "amlogic,meson-gx-ao-cec"; 2040 reg = <0x0 0x 2043 reg = <0x0 0x00100 0x0 0x14>; 2041 interrupts = 2044 interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>; 2042 clocks = <&cl 2045 clocks = <&clkc_AO CLKID_AO_CEC>; 2043 clock-names = 2046 clock-names = "core"; 2044 status = "dis 2047 status = "disabled"; 2045 }; 2048 }; 2046 2049 2047 sec_AO: ao-secure@140 2050 sec_AO: ao-secure@140 { 2048 compatible = 2051 compatible = "amlogic,meson-gx-ao-secure", "syscon"; 2049 reg = <0x0 0x 2052 reg = <0x0 0x140 0x0 0x140>; 2050 amlogic,has-c 2053 amlogic,has-chip-id; 2051 }; 2054 }; 2052 2055 2053 cecb_AO: cec@280 { 2056 cecb_AO: cec@280 { 2054 compatible = 2057 compatible = "amlogic,meson-g12a-ao-cec"; 2055 reg = <0x0 0x 2058 reg = <0x0 0x00280 0x0 0x1c>; 2056 interrupts = 2059 interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>; 2057 clocks = <&cl 2060 clocks = <&clkc_AO CLKID_AO_CTS_OSCIN>; 2058 clock-names = 2061 clock-names = "oscin"; 2059 status = "dis 2062 status = "disabled"; 2060 }; 2063 }; 2061 2064 2062 pwm_AO_cd: pwm@2000 { 2065 pwm_AO_cd: pwm@2000 { 2063 compatible = 2066 compatible = "amlogic,meson-g12a-ao-pwm-cd"; 2064 reg = <0x0 0x 2067 reg = <0x0 0x2000 0x0 0x20>; 2065 #pwm-cells = 2068 #pwm-cells = <3>; 2066 status = "dis 2069 status = "disabled"; 2067 }; 2070 }; 2068 2071 2069 uart_AO: serial@3000 2072 uart_AO: serial@3000 { 2070 compatible = 2073 compatible = "amlogic,meson-g12a-uart", 2071 2074 "amlogic,meson-gx-uart", 2072 2075 "amlogic,meson-ao-uart"; 2073 reg = <0x0 0x 2076 reg = <0x0 0x3000 0x0 0x18>; 2074 interrupts = 2077 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>; 2075 clocks = <&xt 2078 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART>, <&xtal>; 2076 clock-names = 2079 clock-names = "xtal", "pclk", "baud"; 2077 status = "dis 2080 status = "disabled"; 2078 }; 2081 }; 2079 2082 2080 uart_AO_B: serial@400 2083 uart_AO_B: serial@4000 { 2081 compatible = 2084 compatible = "amlogic,meson-g12a-uart", 2082 2085 "amlogic,meson-gx-uart", 2083 2086 "amlogic,meson-ao-uart"; 2084 reg = <0x0 0x 2087 reg = <0x0 0x4000 0x0 0x18>; 2085 interrupts = 2088 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>; 2086 clocks = <&xt 2089 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>; 2087 clock-names = 2090 clock-names = "xtal", "pclk", "baud"; 2088 status = "dis 2091 status = "disabled"; 2089 }; 2092 }; 2090 2093 2091 i2c_AO: i2c@5000 { 2094 i2c_AO: i2c@5000 { 2092 compatible = 2095 compatible = "amlogic,meson-axg-i2c"; 2093 status = "dis 2096 status = "disabled"; 2094 reg = <0x0 0x 2097 reg = <0x0 0x05000 0x0 0x20>; 2095 interrupts = 2098 interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>; 2096 #address-cell 2099 #address-cells = <1>; 2097 #size-cells = 2100 #size-cells = <0>; 2098 clocks = <&cl 2101 clocks = <&clkc CLKID_I2C>; 2099 }; 2102 }; 2100 2103 2101 pwm_AO_ab: pwm@7000 { 2104 pwm_AO_ab: pwm@7000 { 2102 compatible = 2105 compatible = "amlogic,meson-g12a-ao-pwm-ab"; 2103 reg = <0x0 0x 2106 reg = <0x0 0x7000 0x0 0x20>; 2104 #pwm-cells = 2107 #pwm-cells = <3>; 2105 status = "dis 2108 status = "disabled"; 2106 }; 2109 }; 2107 2110 2108 ir: ir@8000 { 2111 ir: ir@8000 { 2109 compatible = 2112 compatible = "amlogic,meson-gxbb-ir"; 2110 reg = <0x0 0x 2113 reg = <0x0 0x8000 0x0 0x20>; 2111 interrupts = 2114 interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>; 2112 status = "dis 2115 status = "disabled"; 2113 }; 2116 }; 2114 2117 2115 saradc: adc@9000 { 2118 saradc: adc@9000 { 2116 compatible = 2119 compatible = "amlogic,meson-g12a-saradc", 2117 2120 "amlogic,meson-saradc"; 2118 reg = <0x0 0x 2121 reg = <0x0 0x9000 0x0 0x48>; 2119 #io-channel-c 2122 #io-channel-cells = <1>; 2120 interrupts = 2123 interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>; 2121 clocks = <&xt 2124 clocks = <&xtal>, 2122 <&cl 2125 <&clkc_AO CLKID_AO_SAR_ADC>, 2123 <&cl 2126 <&clkc_AO CLKID_AO_SAR_ADC_CLK>, 2124 <&cl 2127 <&clkc_AO CLKID_AO_SAR_ADC_SEL>; 2125 clock-names = 2128 clock-names = "clkin", "core", "adc_clk", "adc_sel"; 2126 status = "dis 2129 status = "disabled"; 2127 }; 2130 }; 2128 }; 2131 }; 2129 2132 2130 vdec: video-decoder@ff620000 2133 vdec: video-decoder@ff620000 { 2131 compatible = "amlogic 2134 compatible = "amlogic,g12a-vdec"; 2132 reg = <0x0 0xff620000 2135 reg = <0x0 0xff620000 0x0 0x10000>, 2133 <0x0 0xffd0e180 2136 <0x0 0xffd0e180 0x0 0xe4>; 2134 reg-names = "dos", "e 2137 reg-names = "dos", "esparser"; 2135 interrupts = <GIC_SPI 2138 interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>, 2136 <GIC_SPI 2139 <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>; 2137 interrupt-names = "vd 2140 interrupt-names = "vdec", "esparser"; 2138 2141 2139 amlogic,ao-sysctrl = 2142 amlogic,ao-sysctrl = <&rti>; 2140 amlogic,canvas = <&ca 2143 amlogic,canvas = <&canvas>; 2141 2144 2142 clocks = <&clkc CLKID 2145 clocks = <&clkc CLKID_PARSER>, 2143 <&clkc CLKID 2146 <&clkc CLKID_DOS>, 2144 <&clkc CLKID 2147 <&clkc CLKID_VDEC_1>, 2145 <&clkc CLKID 2148 <&clkc CLKID_VDEC_HEVC>, 2146 <&clkc CLKID 2149 <&clkc CLKID_VDEC_HEVCF>; 2147 clock-names = "dos_pa 2150 clock-names = "dos_parser", "dos", "vdec_1", 2148 "vdec_h 2151 "vdec_hevc", "vdec_hevcf"; 2149 resets = <&reset RESE 2152 resets = <&reset RESET_PARSER>; 2150 reset-names = "espars 2153 reset-names = "esparser"; 2151 }; 2154 }; 2152 2155 2153 vpu: vpu@ff900000 { 2156 vpu: vpu@ff900000 { 2154 compatible = "amlogic 2157 compatible = "amlogic,meson-g12a-vpu"; 2155 reg = <0x0 0xff900000 2158 reg = <0x0 0xff900000 0x0 0x100000>, 2156 <0x0 0xff63c000 2159 <0x0 0xff63c000 0x0 0x1000>; 2157 reg-names = "vpu", "h 2160 reg-names = "vpu", "hhi"; 2158 interrupts = <GIC_SPI 2161 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; 2159 #address-cells = <1>; 2162 #address-cells = <1>; 2160 #size-cells = <0>; 2163 #size-cells = <0>; 2161 amlogic,canvas = <&ca 2164 amlogic,canvas = <&canvas>; 2162 2165 2163 /* CVBS VDAC output p 2166 /* CVBS VDAC output port */ 2164 cvbs_vdac_port: port@ 2167 cvbs_vdac_port: port@0 { 2165 reg = <0>; 2168 reg = <0>; 2166 }; 2169 }; 2167 2170 2168 /* HDMI-TX output por 2171 /* HDMI-TX output port */ 2169 hdmi_tx_port: port@1 2172 hdmi_tx_port: port@1 { 2170 reg = <1>; 2173 reg = <1>; 2171 2174 2172 hdmi_tx_out: 2175 hdmi_tx_out: endpoint { 2173 remot 2176 remote-endpoint = <&hdmi_tx_in>; 2174 }; 2177 }; 2175 }; 2178 }; 2176 2179 2177 /* DPI output port */ 2180 /* DPI output port */ 2178 dpi_port: port@2 { 2181 dpi_port: port@2 { 2179 reg = <2>; 2182 reg = <2>; 2180 2183 2181 dpi_out: endp 2184 dpi_out: endpoint { 2182 remot 2185 remote-endpoint = <&mipi_dsi_in>; 2183 }; 2186 }; 2184 }; 2187 }; 2185 }; 2188 }; 2186 2189 2187 gic: interrupt-controller@ffc 2190 gic: interrupt-controller@ffc01000 { 2188 compatible = "arm,gic 2191 compatible = "arm,gic-400"; 2189 reg = <0x0 0xffc01000 2192 reg = <0x0 0xffc01000 0 0x1000>, 2190 <0x0 0xffc02000 2193 <0x0 0xffc02000 0 0x2000>, 2191 <0x0 0xffc04000 2194 <0x0 0xffc04000 0 0x2000>, 2192 <0x0 0xffc06000 2195 <0x0 0xffc06000 0 0x2000>; 2193 interrupt-controller; 2196 interrupt-controller; 2194 interrupts = <GIC_PPI 2197 interrupts = <GIC_PPI 9 2195 (GIC_CPU_MASK 2198 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; 2196 #interrupt-cells = <3 2199 #interrupt-cells = <3>; 2197 #address-cells = <0>; 2200 #address-cells = <0>; 2198 }; 2201 }; 2199 2202 2200 cbus: bus@ffd00000 { 2203 cbus: bus@ffd00000 { 2201 compatible = "simple- 2204 compatible = "simple-bus"; 2202 reg = <0x0 0xffd00000 2205 reg = <0x0 0xffd00000 0x0 0x100000>; 2203 #address-cells = <2>; 2206 #address-cells = <2>; 2204 #size-cells = <2>; 2207 #size-cells = <2>; 2205 ranges = <0x0 0x0 0x0 2208 ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x100000>; 2206 2209 2207 reset: reset-controll 2210 reset: reset-controller@1004 { 2208 compatible = 2211 compatible = "amlogic,meson-axg-reset"; 2209 reg = <0x0 0x 2212 reg = <0x0 0x1004 0x0 0x9c>; 2210 #reset-cells 2213 #reset-cells = <1>; 2211 }; 2214 }; 2212 2215 2213 gpio_intc: interrupt- 2216 gpio_intc: interrupt-controller@f080 { 2214 compatible = 2217 compatible = "amlogic,meson-g12a-gpio-intc", 2215 2218 "amlogic,meson-gpio-intc"; 2216 reg = <0x0 0x 2219 reg = <0x0 0xf080 0x0 0x10>; 2217 interrupt-con 2220 interrupt-controller; 2218 #interrupt-ce 2221 #interrupt-cells = <2>; 2219 amlogic,chann 2222 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; 2220 }; 2223 }; 2221 2224 2222 mipi_dsi: dsi@7000 { 2225 mipi_dsi: dsi@7000 { 2223 compatible = 2226 compatible = "amlogic,meson-g12a-dw-mipi-dsi"; 2224 reg = <0x0 0x 2227 reg = <0x0 0x7000 0x0 0x1000>; 2225 resets = <&re 2228 resets = <&reset RESET_MIPI_DSI_HOST>; 2226 reset-names = 2229 reset-names = "top"; 2227 clocks = <&cl 2230 clocks = <&clkc CLKID_MIPI_DSI_HOST>, 2228 <&cl 2231 <&clkc CLKID_MIPI_DSI_PXCLK>, 2229 <&cl 2232 <&clkc CLKID_CTS_ENCL>; 2230 clock-names = 2233 clock-names = "pclk", "bit", "px"; 2231 phys = <&mipi 2234 phys = <&mipi_dphy>; 2232 phy-names = " 2235 phy-names = "dphy"; 2233 #address-cell 2236 #address-cells = <1>; 2234 #size-cells = 2237 #size-cells = <0>; 2235 status = "dis 2238 status = "disabled"; 2236 2239 2237 assigned-cloc 2240 assigned-clocks = <&clkc CLKID_MIPI_DSI_PXCLK_SEL>, 2238 <&cl 2241 <&clkc CLKID_CTS_ENCL_SEL>, 2239 <&cl 2242 <&clkc CLKID_VCLK2_SEL>; 2240 assigned-cloc 2243 assigned-clock-parents = <&clkc CLKID_GP0_PLL>, 2241 <&cl 2244 <&clkc CLKID_VCLK2_DIV1>, 2242 <&cl 2245 <&clkc CLKID_GP0_PLL>; 2243 2246 2244 ports { 2247 ports { 2245 #addr 2248 #address-cells = <1>; 2246 #size 2249 #size-cells = <0>; 2247 2250 2248 /* VP 2251 /* VPU VENC Input */ 2249 mipi_ 2252 mipi_dsi_venc_port: port@0 { 2250 2253 reg = <0>; 2251 2254 2252 2255 mipi_dsi_in: endpoint { 2253 2256 remote-endpoint = <&dpi_out>; 2254 2257 }; 2255 }; 2258 }; 2256 2259 2257 /* DS 2260 /* DSI Output */ 2258 mipi_ 2261 mipi_dsi_panel_port: port@1 { 2259 2262 reg = <1>; 2260 }; 2263 }; 2261 }; 2264 }; 2262 }; 2265 }; 2263 2266 2264 watchdog: watchdog@f0 2267 watchdog: watchdog@f0d0 { 2265 compatible = 2268 compatible = "amlogic,meson-gxbb-wdt"; 2266 reg = <0x0 0x 2269 reg = <0x0 0xf0d0 0x0 0x10>; 2267 clocks = <&xt 2270 clocks = <&xtal>; 2268 }; 2271 }; 2269 2272 2270 spicc0: spi@13000 { 2273 spicc0: spi@13000 { 2271 compatible = 2274 compatible = "amlogic,meson-g12a-spicc"; 2272 reg = <0x0 0x 2275 reg = <0x0 0x13000 0x0 0x44>; 2273 interrupts = 2276 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 2274 clocks = <&cl 2277 clocks = <&clkc CLKID_SPICC0>, 2275 <&cl 2278 <&clkc CLKID_SPICC0_SCLK>; 2276 clock-names = 2279 clock-names = "core", "pclk"; 2277 #address-cell 2280 #address-cells = <1>; 2278 #size-cells = 2281 #size-cells = <0>; 2279 status = "dis 2282 status = "disabled"; 2280 }; 2283 }; 2281 2284 2282 spicc1: spi@15000 { 2285 spicc1: spi@15000 { 2283 compatible = 2286 compatible = "amlogic,meson-g12a-spicc"; 2284 reg = <0x0 0x 2287 reg = <0x0 0x15000 0x0 0x44>; 2285 interrupts = 2288 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 2286 clocks = <&cl 2289 clocks = <&clkc CLKID_SPICC1>, 2287 <&cl 2290 <&clkc CLKID_SPICC1_SCLK>; 2288 clock-names = 2291 clock-names = "core", "pclk"; 2289 #address-cell 2292 #address-cells = <1>; 2290 #size-cells = 2293 #size-cells = <0>; 2291 status = "dis 2294 status = "disabled"; 2292 }; 2295 }; 2293 2296 2294 spifc: spi@14000 { 2297 spifc: spi@14000 { 2295 compatible = 2298 compatible = "amlogic,meson-gxbb-spifc"; 2296 status = "dis 2299 status = "disabled"; 2297 reg = <0x0 0x 2300 reg = <0x0 0x14000 0x0 0x80>; 2298 #address-cell 2301 #address-cells = <1>; 2299 #size-cells = 2302 #size-cells = <0>; 2300 clocks = <&cl 2303 clocks = <&clkc CLKID_CLK81>; 2301 }; 2304 }; 2302 2305 2303 pwm_ef: pwm@19000 { 2306 pwm_ef: pwm@19000 { 2304 compatible = 2307 compatible = "amlogic,meson-g12a-ee-pwm"; 2305 reg = <0x0 0x 2308 reg = <0x0 0x19000 0x0 0x20>; 2306 #pwm-cells = 2309 #pwm-cells = <3>; 2307 status = "dis 2310 status = "disabled"; 2308 }; 2311 }; 2309 2312 2310 pwm_cd: pwm@1a000 { 2313 pwm_cd: pwm@1a000 { 2311 compatible = 2314 compatible = "amlogic,meson-g12a-ee-pwm"; 2312 reg = <0x0 0x 2315 reg = <0x0 0x1a000 0x0 0x20>; 2313 #pwm-cells = 2316 #pwm-cells = <3>; 2314 status = "dis 2317 status = "disabled"; 2315 }; 2318 }; 2316 2319 2317 pwm_ab: pwm@1b000 { 2320 pwm_ab: pwm@1b000 { 2318 compatible = 2321 compatible = "amlogic,meson-g12a-ee-pwm"; 2319 reg = <0x0 0x 2322 reg = <0x0 0x1b000 0x0 0x20>; 2320 #pwm-cells = 2323 #pwm-cells = <3>; 2321 status = "dis 2324 status = "disabled"; 2322 }; 2325 }; 2323 2326 2324 i2c3: i2c@1c000 { 2327 i2c3: i2c@1c000 { 2325 compatible = 2328 compatible = "amlogic,meson-axg-i2c"; 2326 status = "dis 2329 status = "disabled"; 2327 reg = <0x0 0x 2330 reg = <0x0 0x1c000 0x0 0x20>; 2328 interrupts = 2331 interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>; 2329 #address-cell 2332 #address-cells = <1>; 2330 #size-cells = 2333 #size-cells = <0>; 2331 clocks = <&cl 2334 clocks = <&clkc CLKID_I2C>; 2332 }; 2335 }; 2333 2336 2334 i2c2: i2c@1d000 { 2337 i2c2: i2c@1d000 { 2335 compatible = 2338 compatible = "amlogic,meson-axg-i2c"; 2336 status = "dis 2339 status = "disabled"; 2337 reg = <0x0 0x 2340 reg = <0x0 0x1d000 0x0 0x20>; 2338 interrupts = 2341 interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>; 2339 #address-cell 2342 #address-cells = <1>; 2340 #size-cells = 2343 #size-cells = <0>; 2341 clocks = <&cl 2344 clocks = <&clkc CLKID_I2C>; 2342 }; 2345 }; 2343 2346 2344 i2c1: i2c@1e000 { 2347 i2c1: i2c@1e000 { 2345 compatible = 2348 compatible = "amlogic,meson-axg-i2c"; 2346 status = "dis 2349 status = "disabled"; 2347 reg = <0x0 0x 2350 reg = <0x0 0x1e000 0x0 0x20>; 2348 interrupts = 2351 interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>; 2349 #address-cell 2352 #address-cells = <1>; 2350 #size-cells = 2353 #size-cells = <0>; 2351 clocks = <&cl 2354 clocks = <&clkc CLKID_I2C>; 2352 }; 2355 }; 2353 2356 2354 i2c0: i2c@1f000 { 2357 i2c0: i2c@1f000 { 2355 compatible = 2358 compatible = "amlogic,meson-axg-i2c"; 2356 status = "dis 2359 status = "disabled"; 2357 reg = <0x0 0x 2360 reg = <0x0 0x1f000 0x0 0x20>; 2358 interrupts = 2361 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>; 2359 #address-cell 2362 #address-cells = <1>; 2360 #size-cells = 2363 #size-cells = <0>; 2361 clocks = <&cl 2364 clocks = <&clkc CLKID_I2C>; 2362 }; 2365 }; 2363 2366 2364 clk_msr: clock-measur 2367 clk_msr: clock-measure@18000 { 2365 compatible = 2368 compatible = "amlogic,meson-g12a-clk-measure"; 2366 reg = <0x0 0x 2369 reg = <0x0 0x18000 0x0 0x10>; 2367 }; 2370 }; 2368 2371 2369 uart_C: serial@22000 2372 uart_C: serial@22000 { 2370 compatible = 2373 compatible = "amlogic,meson-g12a-uart", 2371 2374 "amlogic,meson-gx-uart"; 2372 reg = <0x0 0x 2375 reg = <0x0 0x22000 0x0 0x18>; 2373 interrupts = 2376 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>; 2374 clocks = <&xt 2377 clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; 2375 clock-names = 2378 clock-names = "xtal", "pclk", "baud"; 2376 status = "dis 2379 status = "disabled"; 2377 }; 2380 }; 2378 2381 2379 uart_B: serial@23000 2382 uart_B: serial@23000 { 2380 compatible = 2383 compatible = "amlogic,meson-g12a-uart", 2381 2384 "amlogic,meson-gx-uart"; 2382 reg = <0x0 0x 2385 reg = <0x0 0x23000 0x0 0x18>; 2383 interrupts = 2386 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>; 2384 clocks = <&xt 2387 clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; 2385 clock-names = 2388 clock-names = "xtal", "pclk", "baud"; 2386 status = "dis 2389 status = "disabled"; 2387 }; 2390 }; 2388 2391 2389 uart_A: serial@24000 2392 uart_A: serial@24000 { 2390 compatible = 2393 compatible = "amlogic,meson-g12a-uart", 2391 2394 "amlogic,meson-gx-uart"; 2392 reg = <0x0 0x 2395 reg = <0x0 0x24000 0x0 0x18>; 2393 interrupts = 2396 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>; 2394 clocks = <&xt 2397 clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>; 2395 clock-names = 2398 clock-names = "xtal", "pclk", "baud"; 2396 status = "dis 2399 status = "disabled"; 2397 fifo-size = < 2400 fifo-size = <128>; 2398 }; 2401 }; 2399 }; 2402 }; 2400 2403 2401 sd_emmc_a: mmc@ffe03000 { 2404 sd_emmc_a: mmc@ffe03000 { 2402 compatible = "amlogic 2405 compatible = "amlogic,meson-axg-mmc"; 2403 reg = <0x0 0xffe03000 2406 reg = <0x0 0xffe03000 0x0 0x800>; 2404 interrupts = <GIC_SPI 2407 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>; 2405 status = "disabled"; 2408 status = "disabled"; 2406 clocks = <&clkc CLKID 2409 clocks = <&clkc CLKID_SD_EMMC_A>, 2407 <&clkc CLKID 2410 <&clkc CLKID_SD_EMMC_A_CLK0>, 2408 <&clkc CLKID 2411 <&clkc CLKID_FCLK_DIV2>; 2409 clock-names = "core", 2412 clock-names = "core", "clkin0", "clkin1"; 2410 resets = <&reset RESE 2413 resets = <&reset RESET_SD_EMMC_A>; 2411 }; 2414 }; 2412 2415 2413 sd_emmc_b: mmc@ffe05000 { 2416 sd_emmc_b: mmc@ffe05000 { 2414 compatible = "amlogic 2417 compatible = "amlogic,meson-axg-mmc"; 2415 reg = <0x0 0xffe05000 2418 reg = <0x0 0xffe05000 0x0 0x800>; 2416 interrupts = <GIC_SPI 2419 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 2417 status = "disabled"; 2420 status = "disabled"; 2418 clocks = <&clkc CLKID 2421 clocks = <&clkc CLKID_SD_EMMC_B>, 2419 <&clkc CLKID 2422 <&clkc CLKID_SD_EMMC_B_CLK0>, 2420 <&clkc CLKID 2423 <&clkc CLKID_FCLK_DIV2>; 2421 clock-names = "core", 2424 clock-names = "core", "clkin0", "clkin1"; 2422 resets = <&reset RESE 2425 resets = <&reset RESET_SD_EMMC_B>; 2423 }; 2426 }; 2424 2427 2425 sd_emmc_c: mmc@ffe07000 { 2428 sd_emmc_c: mmc@ffe07000 { 2426 compatible = "amlogic 2429 compatible = "amlogic,meson-axg-mmc"; 2427 reg = <0x0 0xffe07000 2430 reg = <0x0 0xffe07000 0x0 0x800>; 2428 interrupts = <GIC_SPI 2431 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>; 2429 status = "disabled"; 2432 status = "disabled"; 2430 clocks = <&clkc CLKID 2433 clocks = <&clkc CLKID_SD_EMMC_C>, 2431 <&clkc CLKID 2434 <&clkc CLKID_SD_EMMC_C_CLK0>, 2432 <&clkc CLKID 2435 <&clkc CLKID_FCLK_DIV2>; 2433 clock-names = "core", 2436 clock-names = "core", "clkin0", "clkin1"; 2434 resets = <&reset RESE 2437 resets = <&reset RESET_SD_EMMC_C>; 2435 }; 2438 }; 2436 2439 2437 usb: usb@ffe09000 { 2440 usb: usb@ffe09000 { 2438 status = "disabled"; 2441 status = "disabled"; 2439 compatible = "amlogic 2442 compatible = "amlogic,meson-g12a-usb-ctrl"; 2440 reg = <0x0 0xffe09000 2443 reg = <0x0 0xffe09000 0x0 0xa0>; 2441 interrupts = <GIC_SPI 2444 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 2442 #address-cells = <2>; 2445 #address-cells = <2>; 2443 #size-cells = <2>; 2446 #size-cells = <2>; 2444 ranges; 2447 ranges; 2445 2448 2446 clocks = <&clkc CLKID 2449 clocks = <&clkc CLKID_USB>; 2447 resets = <&reset RESE 2450 resets = <&reset RESET_USB>; 2448 2451 2449 dr_mode = "otg"; 2452 dr_mode = "otg"; 2450 2453 2451 phys = <&usb2_phy0>, 2454 phys = <&usb2_phy0>, <&usb2_phy1>, 2452 <&usb3_pcie_ph 2455 <&usb3_pcie_phy PHY_TYPE_USB3>; 2453 phy-names = "usb2-phy 2456 phy-names = "usb2-phy0", "usb2-phy1", "usb3-phy0"; 2454 2457 2455 dwc2: usb@ff400000 { 2458 dwc2: usb@ff400000 { 2456 compatible = 2459 compatible = "amlogic,meson-g12a-usb", "snps,dwc2"; 2457 reg = <0x0 0x 2460 reg = <0x0 0xff400000 0x0 0x40000>; 2458 interrupts = 2461 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 2459 clocks = <&cl 2462 clocks = <&clkc CLKID_USB1_DDR_BRIDGE>; 2460 clock-names = 2463 clock-names = "otg"; 2461 phys = <&usb2 2464 phys = <&usb2_phy1>; 2462 phy-names = " 2465 phy-names = "usb2-phy"; 2463 dr_mode = "pe 2466 dr_mode = "peripheral"; 2464 g-rx-fifo-siz 2467 g-rx-fifo-size = <192>; 2465 g-np-tx-fifo- 2468 g-np-tx-fifo-size = <128>; 2466 g-tx-fifo-siz 2469 g-tx-fifo-size = <128 128 16 16 16>; 2467 }; 2470 }; 2468 2471 2469 dwc3: usb@ff500000 { 2472 dwc3: usb@ff500000 { 2470 compatible = 2473 compatible = "snps,dwc3"; 2471 reg = <0x0 0x 2474 reg = <0x0 0xff500000 0x0 0x100000>; 2472 interrupts = 2475 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 2473 dr_mode = "ho 2476 dr_mode = "host"; 2474 snps,dis_u2_s 2477 snps,dis_u2_susphy_quirk; 2475 snps,quirk-fr 2478 snps,quirk-frame-length-adjustment = <0x20>; 2476 snps,parkmode 2479 snps,parkmode-disable-ss-quirk; 2477 }; 2480 }; 2478 }; 2481 }; 2479 2482 2480 mali: gpu@ffe40000 { 2483 mali: gpu@ffe40000 { 2481 compatible = "amlogic 2484 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost"; 2482 reg = <0x0 0xffe40000 2485 reg = <0x0 0xffe40000 0x0 0x40000>; 2483 interrupt-parent = <& 2486 interrupt-parent = <&gic>; 2484 interrupts = <GIC_SPI 2487 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, 2485 <GIC_SPI 2488 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 2486 <GIC_SPI 2489 <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>; 2487 interrupt-names = "jo 2490 interrupt-names = "job", "mmu", "gpu"; 2488 clocks = <&clkc CLKID 2491 clocks = <&clkc CLKID_MALI>; 2489 resets = <&reset RESE 2492 resets = <&reset RESET_DVALIN_CAPB3>, <&reset RESET_DVALIN>; 2490 operating-points-v2 = 2493 operating-points-v2 = <&gpu_opp_table>; 2491 #cooling-cells = <2>; 2494 #cooling-cells = <2>; 2492 }; 2495 }; 2493 }; 2496 }; 2494 2497 2495 thermal-zones { 2498 thermal-zones { 2496 cpu_thermal: cpu-thermal { 2499 cpu_thermal: cpu-thermal { 2497 polling-delay = <1000 2500 polling-delay = <1000>; 2498 polling-delay-passive 2501 polling-delay-passive = <100>; 2499 thermal-sensors = <&c 2502 thermal-sensors = <&cpu_temp>; 2500 2503 2501 trips { 2504 trips { 2502 cpu_passive: 2505 cpu_passive: cpu-passive { 2503 tempe 2506 temperature = <85000>; /* millicelsius */ 2504 hyste 2507 hysteresis = <2000>; /* millicelsius */ 2505 type 2508 type = "passive"; 2506 }; 2509 }; 2507 2510 2508 cpu_hot: cpu- 2511 cpu_hot: cpu-hot { 2509 tempe 2512 temperature = <95000>; /* millicelsius */ 2510 hyste 2513 hysteresis = <2000>; /* millicelsius */ 2511 type 2514 type = "hot"; 2512 }; 2515 }; 2513 2516 2514 cpu_critical: 2517 cpu_critical: cpu-critical { 2515 tempe 2518 temperature = <110000>; /* millicelsius */ 2516 hyste 2519 hysteresis = <2000>; /* millicelsius */ 2517 type 2520 type = "critical"; 2518 }; 2521 }; 2519 }; 2522 }; 2520 }; 2523 }; 2521 2524 2522 ddr_thermal: ddr-thermal { 2525 ddr_thermal: ddr-thermal { 2523 polling-delay = <1000 2526 polling-delay = <1000>; 2524 polling-delay-passive 2527 polling-delay-passive = <100>; 2525 thermal-sensors = <&d 2528 thermal-sensors = <&ddr_temp>; 2526 2529 2527 trips { 2530 trips { 2528 ddr_passive: 2531 ddr_passive: ddr-passive { 2529 tempe 2532 temperature = <85000>; /* millicelsius */ 2530 hyste 2533 hysteresis = <2000>; /* millicelsius */ 2531 type 2534 type = "passive"; 2532 }; 2535 }; 2533 2536 2534 ddr_critical: 2537 ddr_critical: ddr-critical { 2535 tempe 2538 temperature = <110000>; /* millicelsius */ 2536 hyste 2539 hysteresis = <2000>; /* millicelsius */ 2537 type 2540 type = "critical"; 2538 }; 2541 }; 2539 }; 2542 }; 2540 2543 2541 cooling-maps { 2544 cooling-maps { 2542 map { 2545 map { 2543 trip 2546 trip = <&ddr_passive>; 2544 cooli 2547 cooling-device = <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 2545 }; 2548 }; 2546 }; 2549 }; 2547 }; 2550 }; 2548 }; 2551 }; 2549 2552 2550 timer { 2553 timer { 2551 compatible = "arm,armv8-timer 2554 compatible = "arm,armv8-timer"; 2552 interrupts = <GIC_PPI 13 2555 interrupts = <GIC_PPI 13 2553 (GIC_CPU_MASK_RAW(0xf 2556 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 2554 <GIC_PPI 14 2557 <GIC_PPI 14 2555 (GIC_CPU_MASK_RAW(0xf 2558 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 2556 <GIC_PPI 11 2559 <GIC_PPI 11 2557 (GIC_CPU_MASK_RAW(0xf 2560 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 2558 <GIC_PPI 10 2561 <GIC_PPI 10 2559 (GIC_CPU_MASK_RAW(0xf 2562 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>; 2560 arm,no-tick-in-suspend; 2563 arm,no-tick-in-suspend; 2561 }; 2564 }; 2562 2565 2563 xtal: xtal-clk { 2566 xtal: xtal-clk { 2564 compatible = "fixed-clock"; 2567 compatible = "fixed-clock"; 2565 clock-frequency = <24000000>; 2568 clock-frequency = <24000000>; 2566 clock-output-names = "xtal"; 2569 clock-output-names = "xtal"; 2567 #clock-cells = <0>; 2570 #clock-cells = <0>; 2568 }; 2571 }; 2569 2572 2570 npu: npu@ff100000 { 2573 npu: npu@ff100000 { 2571 compatible = "vivante,gc"; 2574 compatible = "vivante,gc"; 2572 reg = <0x0 0xff100000 0x0 0x2 2575 reg = <0x0 0xff100000 0x0 0x20000>; 2573 interrupts = <0 147 4>; 2576 interrupts = <0 147 4>; 2574 clocks = <&clkc CLKID_NNA_COR 2577 clocks = <&clkc CLKID_NNA_CORE_CLK>, 2575 <&clkc CLKID_NNA_AXI 2578 <&clkc CLKID_NNA_AXI_CLK>; 2576 clock-names = "core", "bus"; 2579 clock-names = "core", "bus"; 2577 assigned-clocks = <&clkc CLKI 2580 assigned-clocks = <&clkc CLKID_NNA_CORE_CLK>, 2578 <&clkc CLKI 2581 <&clkc CLKID_NNA_AXI_CLK>; 2579 assigned-clock-rates = <80000 2582 assigned-clock-rates = <800000000>, <800000000>; 2580 resets = <&reset RESET_NNA>; 2583 resets = <&reset RESET_NNA>; 2581 status = "disabled"; 2584 status = "disabled"; 2582 }; 2585 }; 2583 }; 2586 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.