1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2023 Theobroma Systems Design 3 * Copyright (c) 2023 Theobroma Systems Design und Consulting GmbH 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/usb/pd.h> 11 #include <dt-bindings/usb/pd.h> 12 #include "rk3588.dtsi" 12 #include "rk3588.dtsi" 13 13 14 / { 14 / { 15 model = "Theobroma Systems RK3588-SBC 15 model = "Theobroma Systems RK3588-SBC Jaguar"; 16 compatible = "tsd,rk3588-jaguar", "roc 16 compatible = "tsd,rk3588-jaguar", "rockchip,rk3588"; 17 17 18 adc-keys { 18 adc-keys { 19 compatible = "adc-keys"; 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; 21 io-channel-names = "buttons"; 22 keyup-threshold-microvolt = <1 22 keyup-threshold-microvolt = <1800000>; 23 poll-interval = <100>; 23 poll-interval = <100>; 24 24 25 /* Can be controlled through S 25 /* Can be controlled through SW2 but also GPIO1 on CP2102 on P20 */ 26 button-bios-disable { 26 button-bios-disable { 27 label = "BIOS_DISABLE" 27 label = "BIOS_DISABLE"; 28 linux,code = <KEY_VEND 28 linux,code = <KEY_VENDOR>; 29 press-threshold-microv 29 press-threshold-microvolt = <0>; 30 }; 30 }; 31 }; 31 }; 32 32 33 aliases { 33 aliases { 34 ethernet0 = &gmac0; 34 ethernet0 = &gmac0; 35 mmc0 = &sdhci; 35 mmc0 = &sdhci; 36 mmc1 = &sdmmc; 36 mmc1 = &sdmmc; 37 rtc0 = &rtc_twi; 37 rtc0 = &rtc_twi; 38 }; 38 }; 39 39 40 chosen { 40 chosen { 41 stdout-path = "serial2:115200n 41 stdout-path = "serial2:115200n8"; 42 }; 42 }; 43 43 44 /* DCIN is 12-24V but standard is 12V 44 /* DCIN is 12-24V but standard is 12V */ 45 dc_12v: dc-12v-regulator { 45 dc_12v: dc-12v-regulator { 46 compatible = "regulator-fixed" 46 compatible = "regulator-fixed"; 47 regulator-name = "dc_12v"; 47 regulator-name = "dc_12v"; 48 regulator-always-on; 48 regulator-always-on; 49 regulator-boot-on; 49 regulator-boot-on; 50 regulator-min-microvolt = <120 50 regulator-min-microvolt = <12000000>; 51 regulator-max-microvolt = <120 51 regulator-max-microvolt = <12000000>; 52 }; 52 }; 53 53 54 emmc_pwrseq: emmc-pwrseq { 54 emmc_pwrseq: emmc-pwrseq { 55 compatible = "mmc-pwrseq-emmc" 55 compatible = "mmc-pwrseq-emmc"; 56 pinctrl-0 = <&emmc_reset>; 56 pinctrl-0 = <&emmc_reset>; 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 reset-gpios = <&gpio2 RK_PA3 G 58 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>; 59 }; 59 }; 60 60 61 leds { 61 leds { 62 compatible = "gpio-leds"; 62 compatible = "gpio-leds"; 63 pinctrl-names = "default"; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&led1_pin>; 64 pinctrl-0 = <&led1_pin>; 65 65 66 /* LED1 on PCB */ 66 /* LED1 on PCB */ 67 led-1 { 67 led-1 { 68 gpios = <&gpio1 RK_PD4 68 gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; 69 function = LED_FUNCTIO 69 function = LED_FUNCTION_HEARTBEAT; 70 linux,default-trigger 70 linux,default-trigger = "heartbeat"; 71 color = <LED_COLOR_ID_ 71 color = <LED_COLOR_ID_AMBER>; 72 }; 72 }; 73 }; 73 }; 74 74 75 /* 75 /* 76 * 100MHz reference clock for PCIe per 76 * 100MHz reference clock for PCIe peripherals from PI6C557-05BLE 77 * clock generator. 77 * clock generator. 78 * The clock output is gated via the O 78 * The clock output is gated via the OE pin on the clock generator. 79 * This is modeled as a fixed-clock pl 79 * This is modeled as a fixed-clock plus a gpio-gate-clock. 80 */ 80 */ 81 pcie_refclk_gen: pcie-refclk-gen-clock 81 pcie_refclk_gen: pcie-refclk-gen-clock { 82 compatible = "fixed-clock"; 82 compatible = "fixed-clock"; 83 #clock-cells = <0>; 83 #clock-cells = <0>; 84 clock-frequency = <100000000>; 84 clock-frequency = <100000000>; 85 }; 85 }; 86 86 87 pcie_refclk: pcie-refclk-clock { 87 pcie_refclk: pcie-refclk-clock { 88 compatible = "gpio-gate-clock" 88 compatible = "gpio-gate-clock"; 89 clocks = <&pcie_refclk_gen>; 89 clocks = <&pcie_refclk_gen>; 90 #clock-cells = <0>; 90 #clock-cells = <0>; 91 enable-gpios = <&gpio0 RK_PC6 91 enable-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>; /* PCIE30X4_CLKREQN_M0 */ 92 pinctrl-names = "default"; 92 pinctrl-names = "default"; 93 pinctrl-0 = <&pcie30x4_clkreqn 93 pinctrl-0 = <&pcie30x4_clkreqn_m0>; 94 }; 94 }; 95 95 96 pps { 96 pps { 97 compatible = "pps-gpio"; 97 compatible = "pps-gpio"; 98 gpios = <&gpio0 RK_PD5 GPIO_AC 98 gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; 99 }; 99 }; 100 100 101 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regul 101 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 102 compatible = "regulator-fixed" 102 compatible = "regulator-fixed"; 103 regulator-name = "vcc_1v1_nldo 103 regulator-name = "vcc_1v1_nldo_s3"; 104 regulator-always-on; 104 regulator-always-on; 105 regulator-boot-on; 105 regulator-boot-on; 106 regulator-min-microvolt = <110 106 regulator-min-microvolt = <1100000>; 107 regulator-max-microvolt = <110 107 regulator-max-microvolt = <1100000>; 108 vin-supply = <&vcc5v0_sys>; 108 vin-supply = <&vcc5v0_sys>; 109 }; 109 }; 110 110 111 vcc_1v2_s3: vcc-1v2-s3-regulator { 111 vcc_1v2_s3: vcc-1v2-s3-regulator { 112 compatible = "regulator-fixed" 112 compatible = "regulator-fixed"; 113 regulator-name = "vcc_1v2_s3"; 113 regulator-name = "vcc_1v2_s3"; 114 regulator-always-on; 114 regulator-always-on; 115 regulator-boot-on; 115 regulator-boot-on; 116 regulator-min-microvolt = <120 116 regulator-min-microvolt = <1200000>; 117 regulator-max-microvolt = <120 117 regulator-max-microvolt = <1200000>; 118 vin-supply = <&vcc5v0_sys>; 118 vin-supply = <&vcc5v0_sys>; 119 }; 119 }; 120 120 121 /* Exposed on P14 and P15 */ 121 /* Exposed on P14 and P15 */ 122 vcc_2v8_s3: vcc-2v8-s3-regulator { 122 vcc_2v8_s3: vcc-2v8-s3-regulator { 123 compatible = "regulator-fixed" 123 compatible = "regulator-fixed"; 124 regulator-name = "vcc_2v8_s3"; 124 regulator-name = "vcc_2v8_s3"; 125 regulator-always-on; 125 regulator-always-on; 126 regulator-boot-on; 126 regulator-boot-on; 127 regulator-min-microvolt = <280 127 regulator-min-microvolt = <2800000>; 128 regulator-max-microvolt = <280 128 regulator-max-microvolt = <2800000>; 129 vin-supply = <&vcc_3v3_s3>; 129 vin-supply = <&vcc_3v3_s3>; 130 }; 130 }; 131 131 132 vcc_5v0_usb_a: vcc-5v0-usb-a-regulator 132 vcc_5v0_usb_a: vcc-5v0-usb-a-regulator { 133 compatible = "regulator-fixed" 133 compatible = "regulator-fixed"; 134 regulator-name = "usb_a_vcc"; 134 regulator-name = "usb_a_vcc"; 135 regulator-min-microvolt = <500 135 regulator-min-microvolt = <5000000>; 136 regulator-max-microvolt = <500 136 regulator-max-microvolt = <5000000>; 137 vin-supply = <&vcc5v0_sys>; 137 vin-supply = <&vcc5v0_sys>; 138 gpio = <&gpio1 RK_PB4 GPIO_ACT 138 gpio = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>; 139 enable-active-high; 139 enable-active-high; 140 }; 140 }; 141 141 142 vcc_5v0_usb_c1: vcc-5v0-usb-c1-regulat 142 vcc_5v0_usb_c1: vcc-5v0-usb-c1-regulator { 143 compatible = "regulator-fixed" 143 compatible = "regulator-fixed"; 144 regulator-name = "5v_usbc1"; 144 regulator-name = "5v_usbc1"; 145 regulator-min-microvolt = <500 145 regulator-min-microvolt = <5000000>; 146 regulator-max-microvolt = <500 146 regulator-max-microvolt = <5000000>; 147 vin-supply = <&vcc5v0_usb>; 147 vin-supply = <&vcc5v0_usb>; 148 gpio = <&gpio4 RK_PB5 GPIO_ACT 148 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 149 enable-active-high; 149 enable-active-high; 150 }; 150 }; 151 151 152 vcc_5v0_usb_c2: vcc-5v0-usb-c2-regulat 152 vcc_5v0_usb_c2: vcc-5v0-usb-c2-regulator { 153 compatible = "regulator-fixed" 153 compatible = "regulator-fixed"; 154 regulator-name = "5v_usbc2"; 154 regulator-name = "5v_usbc2"; 155 regulator-min-microvolt = <500 155 regulator-min-microvolt = <5000000>; 156 regulator-max-microvolt = <500 156 regulator-max-microvolt = <5000000>; 157 vin-supply = <&vcc5v0_usb>; 157 vin-supply = <&vcc5v0_usb>; 158 gpio = <&gpio4 RK_PB6 GPIO_ACT 158 gpio = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; 159 enable-active-high; 159 enable-active-high; 160 }; 160 }; 161 161 162 vcc3v3_mdot2: vcc3v3-mdot2-regulator { 162 vcc3v3_mdot2: vcc3v3-mdot2-regulator { 163 compatible = "regulator-fixed" 163 compatible = "regulator-fixed"; 164 regulator-name = "vcc3v3_mdot2 164 regulator-name = "vcc3v3_mdot2"; 165 regulator-always-on; 165 regulator-always-on; 166 regulator-boot-on; 166 regulator-boot-on; 167 regulator-min-microvolt = <330 167 regulator-min-microvolt = <3300000>; 168 regulator-max-microvolt = <330 168 regulator-max-microvolt = <3300000>; 169 vin-supply = <&dc_12v>; 169 vin-supply = <&dc_12v>; 170 }; 170 }; 171 171 172 vcc5v0_sys: vcc5v0-sys-regulator { 172 vcc5v0_sys: vcc5v0-sys-regulator { 173 compatible = "regulator-fixed" 173 compatible = "regulator-fixed"; 174 regulator-name = "vcc5v0_sys"; 174 regulator-name = "vcc5v0_sys"; 175 regulator-always-on; 175 regulator-always-on; 176 regulator-boot-on; 176 regulator-boot-on; 177 regulator-min-microvolt = <500 177 regulator-min-microvolt = <5000000>; 178 regulator-max-microvolt = <500 178 regulator-max-microvolt = <5000000>; 179 vin-supply = <&dc_12v>; 179 vin-supply = <&dc_12v>; 180 }; 180 }; 181 181 182 vcc5v0_usb: vcc5v0-usb-regulator { 182 vcc5v0_usb: vcc5v0-usb-regulator { 183 compatible = "regulator-fixed" 183 compatible = "regulator-fixed"; 184 regulator-name = "vcc5v0_usb"; 184 regulator-name = "vcc5v0_usb"; 185 regulator-always-on; 185 regulator-always-on; 186 regulator-boot-on; 186 regulator-boot-on; 187 regulator-min-microvolt = <500 187 regulator-min-microvolt = <5000000>; 188 regulator-max-microvolt = <500 188 regulator-max-microvolt = <5000000>; 189 vin-supply = <&vcc5v0_sys>; 189 vin-supply = <&vcc5v0_sys>; 190 }; 190 }; 191 }; 191 }; 192 192 193 &combphy1_ps { 193 &combphy1_ps { 194 status = "okay"; 194 status = "okay"; 195 }; 195 }; 196 196 197 &cpu_b0 { 197 &cpu_b0 { 198 cpu-supply = <&vdd_cpu_big0_s0>; 198 cpu-supply = <&vdd_cpu_big0_s0>; 199 }; 199 }; 200 200 201 &cpu_b1 { 201 &cpu_b1 { 202 cpu-supply = <&vdd_cpu_big0_s0>; 202 cpu-supply = <&vdd_cpu_big0_s0>; 203 }; 203 }; 204 204 205 &cpu_b2 { 205 &cpu_b2 { 206 cpu-supply = <&vdd_cpu_big1_s0>; 206 cpu-supply = <&vdd_cpu_big1_s0>; 207 }; 207 }; 208 208 209 &cpu_b3 { 209 &cpu_b3 { 210 cpu-supply = <&vdd_cpu_big1_s0>; 210 cpu-supply = <&vdd_cpu_big1_s0>; 211 }; 211 }; 212 212 213 &cpu_l0 { 213 &cpu_l0 { 214 cpu-supply = <&vdd_cpu_lit_s0>; 214 cpu-supply = <&vdd_cpu_lit_s0>; 215 }; 215 }; 216 216 217 &cpu_l1 { 217 &cpu_l1 { 218 cpu-supply = <&vdd_cpu_lit_s0>; 218 cpu-supply = <&vdd_cpu_lit_s0>; 219 }; 219 }; 220 220 221 &cpu_l2 { 221 &cpu_l2 { 222 cpu-supply = <&vdd_cpu_lit_s0>; 222 cpu-supply = <&vdd_cpu_lit_s0>; 223 }; 223 }; 224 224 225 &cpu_l3 { 225 &cpu_l3 { 226 cpu-supply = <&vdd_cpu_lit_s0>; 226 cpu-supply = <&vdd_cpu_lit_s0>; 227 }; 227 }; 228 228 229 &gmac0 { 229 &gmac0 { 230 clock_in_out = "output"; 230 clock_in_out = "output"; 231 phy-handle = <&rgmii_phy>; 231 phy-handle = <&rgmii_phy>; 232 phy-mode = "rgmii"; 232 phy-mode = "rgmii"; 233 phy-supply = <&vcc_1v2_s3>; 233 phy-supply = <&vcc_1v2_s3>; 234 pinctrl-names = "default"; 234 pinctrl-names = "default"; 235 pinctrl-0 = <&gmac0_miim 235 pinctrl-0 = <&gmac0_miim 236 &gmac0_rx_bus2 236 &gmac0_rx_bus2 237 &gmac0_tx_bus2 237 &gmac0_tx_bus2 238 &gmac0_rgmii_clk 238 &gmac0_rgmii_clk 239 &gmac0_rgmii_bus 239 &gmac0_rgmii_bus 240 ð0_pins 240 ð0_pins 241 ð_reset>; 241 ð_reset>; 242 tx_delay = <0x10>; 242 tx_delay = <0x10>; 243 rx_delay = <0x10>; 243 rx_delay = <0x10>; 244 snps,reset-gpio = <&gpio4 RK_PC3 GPIO_ 244 snps,reset-gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_LOW>; 245 snps,reset-active-low; 245 snps,reset-active-low; 246 snps,reset-delays-us = <0 10000 100000 246 snps,reset-delays-us = <0 10000 100000>; 247 247 248 status = "okay"; 248 status = "okay"; 249 }; 249 }; 250 250 251 &gpio1 { 251 &gpio1 { 252 mdot2e-w-disable1-n-hog { 252 mdot2e-w-disable1-n-hog { 253 gpios = <RK_PB1 GPIO_ACTIVE_LO 253 gpios = <RK_PB1 GPIO_ACTIVE_LOW>; 254 output-low; 254 output-low; 255 line-name = "m.2 E-key W_DISAB 255 line-name = "m.2 E-key W_DISABLE1#"; 256 gpio-hog; 256 gpio-hog; 257 }; 257 }; 258 }; 258 }; 259 259 260 &gpio4 { 260 &gpio4 { 261 mdot2e-w-disable2-n-hog { 261 mdot2e-w-disable2-n-hog { 262 gpios = <RK_PC1 GPIO_ACTIVE_LO 262 gpios = <RK_PC1 GPIO_ACTIVE_LOW>; 263 output-low; 263 output-low; 264 line-name = "m.2 E-key W_DISAB 264 line-name = "m.2 E-key W_DISABLE2#"; 265 gpio-hog; 265 gpio-hog; 266 }; 266 }; 267 }; 267 }; 268 268 269 &gpu { 269 &gpu { 270 mali-supply = <&vdd_gpu_s0>; 270 mali-supply = <&vdd_gpu_s0>; 271 status = "okay"; 271 status = "okay"; 272 }; 272 }; 273 273 274 &i2c0 { 274 &i2c0 { 275 pinctrl-0 = <&i2c0m2_xfer>; 275 pinctrl-0 = <&i2c0m2_xfer>; 276 status = "okay"; 276 status = "okay"; 277 277 278 fan@18 { 278 fan@18 { 279 compatible = "ti,amc6821"; 279 compatible = "ti,amc6821"; 280 reg = <0x18>; 280 reg = <0x18>; 281 }; 281 }; 282 282 283 vdd_npu_s0: regulator@42 { 283 vdd_npu_s0: regulator@42 { 284 compatible = "rockchip,rk8602" 284 compatible = "rockchip,rk8602"; 285 reg = <0x42>; 285 reg = <0x42>; 286 fcs,suspend-voltage-selector = 286 fcs,suspend-voltage-selector = <1>; 287 regulator-name = "vdd_npu_s0"; 287 regulator-name = "vdd_npu_s0"; 288 regulator-always-on; 288 regulator-always-on; 289 regulator-boot-on; 289 regulator-boot-on; 290 regulator-min-microvolt = <550 290 regulator-min-microvolt = <550000>; 291 regulator-max-microvolt = <950 291 regulator-max-microvolt = <950000>; 292 regulator-ramp-delay = <2300>; 292 regulator-ramp-delay = <2300>; 293 vin-supply = <&vcc5v0_sys>; 293 vin-supply = <&vcc5v0_sys>; 294 294 295 regulator-state-mem { 295 regulator-state-mem { 296 regulator-off-in-suspe 296 regulator-off-in-suspend; 297 }; 297 }; 298 }; 298 }; 299 299 300 vdd_cpu_big1_s0: regulator@43 { 300 vdd_cpu_big1_s0: regulator@43 { 301 compatible = "rockchip,rk8603" 301 compatible = "rockchip,rk8603", "rockchip,rk8602"; 302 reg = <0x43>; 302 reg = <0x43>; 303 fcs,suspend-voltage-selector = 303 fcs,suspend-voltage-selector = <1>; 304 regulator-name = "vdd_cpu_big1 304 regulator-name = "vdd_cpu_big1_s0"; 305 regulator-always-on; 305 regulator-always-on; 306 regulator-boot-on; 306 regulator-boot-on; 307 regulator-min-microvolt = <550 307 regulator-min-microvolt = <550000>; 308 regulator-max-microvolt = <105 308 regulator-max-microvolt = <1050000>; 309 regulator-ramp-delay = <2300>; 309 regulator-ramp-delay = <2300>; 310 vin-supply = <&vcc5v0_sys>; 310 vin-supply = <&vcc5v0_sys>; 311 311 312 regulator-state-mem { 312 regulator-state-mem { 313 regulator-off-in-suspe 313 regulator-off-in-suspend; 314 }; 314 }; 315 }; 315 }; 316 316 317 rtc_twi: rtc@6f { 317 rtc_twi: rtc@6f { 318 compatible = "isil,isl1208"; 318 compatible = "isil,isl1208"; 319 reg = <0x6f>; 319 reg = <0x6f>; 320 }; 320 }; 321 }; 321 }; 322 322 323 &i2c1 { 323 &i2c1 { 324 pinctrl-0 = <&i2c1m4_xfer>; 324 pinctrl-0 = <&i2c1m4_xfer>; 325 }; 325 }; 326 326 327 &i2c6 { 327 &i2c6 { 328 pinctrl-0 = <&i2c6m4_xfer>; 328 pinctrl-0 = <&i2c6m4_xfer>; 329 }; 329 }; 330 330 331 &i2c7 { 331 &i2c7 { 332 status = "okay"; 332 status = "okay"; 333 333 334 /* SE050 Secure Element at 0x48; GPIO1 334 /* SE050 Secure Element at 0x48; GPIO1_A4 for enable pin */ 335 335 336 /* Also on 0x55 */ 336 /* Also on 0x55 */ 337 eeprom@54 { 337 eeprom@54 { 338 compatible = "st,24c04", "atme 338 compatible = "st,24c04", "atmel,24c04"; 339 reg = <0x54>; 339 reg = <0x54>; 340 pagesize = <16>; 340 pagesize = <16>; 341 vcc-supply = <&vcc_3v3_s3>; 341 vcc-supply = <&vcc_3v3_s3>; 342 }; 342 }; 343 }; 343 }; 344 344 345 &i2c8 { 345 &i2c8 { 346 pinctrl-0 = <&i2c8m2_xfer>; 346 pinctrl-0 = <&i2c8m2_xfer>; 347 status = "okay"; 347 status = "okay"; 348 348 349 vdd_cpu_big0_s0: regulator@42 { 349 vdd_cpu_big0_s0: regulator@42 { 350 compatible = "rockchip,rk8602" 350 compatible = "rockchip,rk8602"; 351 reg = <0x42>; 351 reg = <0x42>; 352 fcs,suspend-voltage-selector = 352 fcs,suspend-voltage-selector = <1>; 353 regulator-name = "vdd_cpu_big0 353 regulator-name = "vdd_cpu_big0_s0"; 354 regulator-always-on; 354 regulator-always-on; 355 regulator-boot-on; 355 regulator-boot-on; 356 regulator-min-microvolt = <550 356 regulator-min-microvolt = <550000>; 357 regulator-max-microvolt = <105 357 regulator-max-microvolt = <1050000>; 358 regulator-ramp-delay = <2300>; 358 regulator-ramp-delay = <2300>; 359 vin-supply = <&vcc5v0_sys>; 359 vin-supply = <&vcc5v0_sys>; 360 360 361 regulator-state-mem { 361 regulator-state-mem { 362 regulator-off-in-suspe 362 regulator-off-in-suspend; 363 }; 363 }; 364 }; 364 }; 365 }; 365 }; 366 366 367 &mdio0 { 367 &mdio0 { 368 rgmii_phy: ethernet-phy@6 { 368 rgmii_phy: ethernet-phy@6 { 369 /* KSZ9031 or KSZ9131 */ 369 /* KSZ9031 or KSZ9131 */ 370 compatible = "ethernet-phy-iee 370 compatible = "ethernet-phy-ieee802.3-c22"; 371 reg = <0x6>; 371 reg = <0x6>; 372 clocks = <&cru REFCLKO25M_ETH0 372 clocks = <&cru REFCLKO25M_ETH0_OUT>; 373 }; 373 }; 374 }; 374 }; 375 375 376 &pcie2x1l0 { 376 &pcie2x1l0 { 377 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTI 377 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; /* WIFI_PERST0# */ 378 vpcie3v3-supply = <&vcc3v3_mdot2>; 378 vpcie3v3-supply = <&vcc3v3_mdot2>; 379 status = "okay"; 379 status = "okay"; 380 }; 380 }; 381 381 382 &pcie30phy { 382 &pcie30phy { 383 status = "okay"; 383 status = "okay"; 384 }; 384 }; 385 385 386 &pcie3x4 { 386 &pcie3x4 { 387 /* 387 /* 388 * The board has a gpio-controlled "pc 388 * The board has a gpio-controlled "pcie_refclk" generator, 389 * so add it to the list of clocks. 389 * so add it to the list of clocks. 390 */ 390 */ 391 clocks = <&cru ACLK_PCIE_4L_MSTR>, <&c 391 clocks = <&cru ACLK_PCIE_4L_MSTR>, <&cru ACLK_PCIE_4L_SLV>, 392 <&cru ACLK_PCIE_4L_DBI>, <&cr 392 <&cru ACLK_PCIE_4L_DBI>, <&cru PCLK_PCIE_4L>, 393 <&cru CLK_PCIE_AUX0>, <&cru C 393 <&cru CLK_PCIE_AUX0>, <&cru CLK_PCIE4L_PIPE>, 394 <&pcie_refclk>; 394 <&pcie_refclk>; 395 clock-names = "aclk_mst", "aclk_slv", 395 clock-names = "aclk_mst", "aclk_slv", 396 "aclk_dbi", "pclk", 396 "aclk_dbi", "pclk", 397 "aux", "pipe", 397 "aux", "pipe", 398 "ref"; 398 "ref"; 399 pinctrl-names = "default"; 399 pinctrl-names = "default"; 400 pinctrl-0 = <&pcie30x4_waken_m0 &pcie3 400 pinctrl-0 = <&pcie30x4_waken_m0 &pcie30x4_perstn_m0>; 401 reset-gpios = <&gpio0 RK_PD0 GPIO_ACTI 401 reset-gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; /* PCIE30X4_PERSTN_M0 */ 402 vpcie3v3-supply = <&vcc3v3_mdot2>; 402 vpcie3v3-supply = <&vcc3v3_mdot2>; 403 status = "okay"; 403 status = "okay"; 404 }; 404 }; 405 405 406 &pinctrl { 406 &pinctrl { 407 emmc { 407 emmc { 408 emmc_reset: emmc-reset { 408 emmc_reset: emmc-reset { 409 rockchip,pins = <2 RK_ 409 rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 410 }; 410 }; 411 }; 411 }; 412 412 413 ethernet { 413 ethernet { 414 eth_reset: eth-reset { 414 eth_reset: eth-reset { 415 rockchip,pins = <4 RK_ 415 rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 416 }; 416 }; 417 }; 417 }; 418 418 419 leds { 419 leds { 420 led1_pin: led1-pin { 420 led1_pin: led1-pin { 421 rockchip,pins = <1 RK_ 421 rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 422 }; 422 }; 423 }; 423 }; 424 424 425 pcie30x4 { 425 pcie30x4 { 426 pcie30x4_clkreqn_m0: pcie30x4- 426 pcie30x4_clkreqn_m0: pcie30x4-clkreqn-m0 { 427 rockchip,pins = <0 RK_ 427 rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 428 }; 428 }; 429 429 430 pcie30x4_perstn_m0: pcie30x4-p 430 pcie30x4_perstn_m0: pcie30x4-perstn-m0 { 431 rockchip,pins = <0 RK_ 431 rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 432 }; 432 }; 433 433 434 pcie30x4_waken_m0: pcie30x4-wa 434 pcie30x4_waken_m0: pcie30x4-waken-m0 { 435 rockchip,pins = <0 RK_ 435 rockchip,pins = <0 RK_PC7 12 &pcfg_pull_none>; 436 }; 436 }; 437 }; 437 }; 438 }; 438 }; 439 439 440 &saradc { 440 &saradc { 441 vref-supply = <&vcc_1v8_s0>; 441 vref-supply = <&vcc_1v8_s0>; 442 status = "okay"; 442 status = "okay"; 443 }; 443 }; 444 444 445 &sdhci { 445 &sdhci { 446 bus-width = <8>; 446 bus-width = <8>; 447 cap-mmc-highspeed; 447 cap-mmc-highspeed; 448 mmc-ddr-1_8v; 448 mmc-ddr-1_8v; 449 mmc-hs200-1_8v; 449 mmc-hs200-1_8v; 450 mmc-hs400-1_8v; 450 mmc-hs400-1_8v; 451 mmc-hs400-enhanced-strobe; 451 mmc-hs400-enhanced-strobe; 452 mmc-pwrseq = <&emmc_pwrseq>; 452 mmc-pwrseq = <&emmc_pwrseq>; 453 no-sdio; 453 no-sdio; 454 no-sd; 454 no-sd; 455 non-removable; 455 non-removable; 456 pinctrl-names = "default"; 456 pinctrl-names = "default"; 457 pinctrl-0 = <&emmc_bus8 &emmc_cmd &emm 457 pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk &emmc_data_strobe>; 458 supports-cqe; 458 supports-cqe; 459 vmmc-supply = <&vcc_3v3_s3>; 459 vmmc-supply = <&vcc_3v3_s3>; 460 vqmmc-supply = <&vcc_1v8_s3>; 460 vqmmc-supply = <&vcc_1v8_s3>; 461 status = "okay"; 461 status = "okay"; 462 }; 462 }; 463 463 464 &sdmmc { 464 &sdmmc { 465 broken-cd; 465 broken-cd; 466 bus-width = <4>; 466 bus-width = <4>; 467 cap-sd-highspeed; 467 cap-sd-highspeed; 468 disable-wp; 468 disable-wp; 469 max-frequency = <150000000>; 469 max-frequency = <150000000>; 470 pinctrl-names = "default"; 470 pinctrl-names = "default"; 471 pinctrl-0 = <&sdmmc_bus4 &sdmmc_cmd &s 471 pinctrl-0 = <&sdmmc_bus4 &sdmmc_cmd &sdmmc_clk>; 472 sd-uhs-sdr12; 472 sd-uhs-sdr12; 473 sd-uhs-sdr25; 473 sd-uhs-sdr25; 474 sd-uhs-sdr50; 474 sd-uhs-sdr50; 475 sd-uhs-ddr50; 475 sd-uhs-ddr50; 476 sd-uhs-sdr104; 476 sd-uhs-sdr104; 477 vmmc-supply = <&vcc_3v3_s3>; 477 vmmc-supply = <&vcc_3v3_s3>; 478 vqmmc-supply = <&vccio_sd_s0>; 478 vqmmc-supply = <&vccio_sd_s0>; 479 status = "okay"; 479 status = "okay"; 480 }; 480 }; 481 481 482 &spi2 { 482 &spi2 { 483 assigned-clocks = <&cru CLK_SPI2>; 483 assigned-clocks = <&cru CLK_SPI2>; 484 assigned-clock-rates = <200000000>; 484 assigned-clock-rates = <200000000>; 485 num-cs = <1>; 485 num-cs = <1>; 486 pinctrl-names = "default"; 486 pinctrl-names = "default"; 487 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins> 487 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 488 status = "okay"; 488 status = "okay"; 489 489 490 pmic@0 { 490 pmic@0 { 491 compatible = "rockchip,rk806"; 491 compatible = "rockchip,rk806"; 492 reg = <0x0>; 492 reg = <0x0>; 493 interrupt-parent = <&gpio0>; 493 interrupt-parent = <&gpio0>; 494 interrupts = <7 IRQ_TYPE_LEVEL 494 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 495 gpio-controller; 495 gpio-controller; 496 #gpio-cells = <2>; 496 #gpio-cells = <2>; 497 pinctrl-names = "default"; 497 pinctrl-names = "default"; 498 pinctrl-0 = <&pmic_pins>, <&rk 498 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 499 <&rk806_dvs2_null> 499 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 500 spi-max-frequency = <1000000>; 500 spi-max-frequency = <1000000>; 501 system-power-controller; 501 system-power-controller; 502 vcc1-supply = <&vcc5v0_sys>; 502 vcc1-supply = <&vcc5v0_sys>; 503 vcc2-supply = <&vcc5v0_sys>; 503 vcc2-supply = <&vcc5v0_sys>; 504 vcc3-supply = <&vcc5v0_sys>; 504 vcc3-supply = <&vcc5v0_sys>; 505 vcc4-supply = <&vcc5v0_sys>; 505 vcc4-supply = <&vcc5v0_sys>; 506 vcc5-supply = <&vcc5v0_sys>; 506 vcc5-supply = <&vcc5v0_sys>; 507 vcc6-supply = <&vcc5v0_sys>; 507 vcc6-supply = <&vcc5v0_sys>; 508 vcc7-supply = <&vcc5v0_sys>; 508 vcc7-supply = <&vcc5v0_sys>; 509 vcc8-supply = <&vcc5v0_sys>; 509 vcc8-supply = <&vcc5v0_sys>; 510 vcc9-supply = <&vcc5v0_sys>; 510 vcc9-supply = <&vcc5v0_sys>; 511 vcc10-supply = <&vcc5v0_sys>; 511 vcc10-supply = <&vcc5v0_sys>; 512 vcc11-supply = <&vcc_2v0_pldo_ 512 vcc11-supply = <&vcc_2v0_pldo_s3>; 513 vcc12-supply = <&vcc5v0_sys>; 513 vcc12-supply = <&vcc5v0_sys>; 514 vcc13-supply = <&vcc_1v1_nldo_ 514 vcc13-supply = <&vcc_1v1_nldo_s3>; 515 vcc14-supply = <&vcc_1v1_nldo_ 515 vcc14-supply = <&vcc_1v1_nldo_s3>; 516 vcca-supply = <&vcc5v0_sys>; 516 vcca-supply = <&vcc5v0_sys>; 517 517 518 rk806_dvs1_null: dvs1-null-pin 518 rk806_dvs1_null: dvs1-null-pins { 519 pins = "gpio_pwrctrl1" 519 pins = "gpio_pwrctrl1"; 520 function = "pin_fun0"; 520 function = "pin_fun0"; 521 }; 521 }; 522 522 523 rk806_dvs2_null: dvs2-null-pin 523 rk806_dvs2_null: dvs2-null-pins { 524 pins = "gpio_pwrctrl2" 524 pins = "gpio_pwrctrl2"; 525 function = "pin_fun0"; 525 function = "pin_fun0"; 526 }; 526 }; 527 527 528 rk806_dvs3_null: dvs3-null-pin 528 rk806_dvs3_null: dvs3-null-pins { 529 pins = "gpio_pwrctrl3" 529 pins = "gpio_pwrctrl3"; 530 function = "pin_fun0"; 530 function = "pin_fun0"; 531 }; 531 }; 532 532 533 regulators { 533 regulators { 534 vdd_gpu_s0: dcdc-reg1 534 vdd_gpu_s0: dcdc-reg1 { 535 regulator-boot 535 regulator-boot-on; 536 regulator-min- 536 regulator-min-microvolt = <550000>; 537 regulator-max- 537 regulator-max-microvolt = <950000>; 538 regulator-ramp 538 regulator-ramp-delay = <12500>; 539 regulator-name 539 regulator-name = "vdd_gpu_s0"; 540 regulator-enab 540 regulator-enable-ramp-delay = <400>; 541 541 542 regulator-stat 542 regulator-state-mem { 543 regula 543 regulator-off-in-suspend; 544 }; 544 }; 545 }; 545 }; 546 546 547 vdd_cpu_lit_s0: dcdc-r 547 vdd_cpu_lit_s0: dcdc-reg2 { 548 regulator-name 548 regulator-name = "vdd_cpu_lit_s0"; 549 regulator-alwa 549 regulator-always-on; 550 regulator-boot 550 regulator-boot-on; 551 regulator-min- 551 regulator-min-microvolt = <550000>; 552 regulator-max- 552 regulator-max-microvolt = <950000>; 553 regulator-ramp 553 regulator-ramp-delay = <12500>; 554 554 555 regulator-stat 555 regulator-state-mem { 556 regula 556 regulator-off-in-suspend; 557 }; 557 }; 558 }; 558 }; 559 559 560 vdd_log_s0: dcdc-reg3 560 vdd_log_s0: dcdc-reg3 { 561 regulator-name 561 regulator-name = "vdd_log_s0"; 562 regulator-alwa 562 regulator-always-on; 563 regulator-boot 563 regulator-boot-on; 564 regulator-min- 564 regulator-min-microvolt = <675000>; 565 regulator-max- 565 regulator-max-microvolt = <750000>; 566 regulator-ramp 566 regulator-ramp-delay = <12500>; 567 567 568 regulator-stat 568 regulator-state-mem { 569 regula 569 regulator-off-in-suspend; 570 regula 570 regulator-suspend-microvolt = <750000>; 571 }; 571 }; 572 }; 572 }; 573 573 574 vdd_vdenc_s0: dcdc-reg 574 vdd_vdenc_s0: dcdc-reg4 { 575 regulator-name 575 regulator-name = "vdd_vdenc_s0"; 576 regulator-alwa 576 regulator-always-on; 577 regulator-boot 577 regulator-boot-on; 578 regulator-min- 578 regulator-min-microvolt = <550000>; 579 regulator-max- 579 regulator-max-microvolt = <950000>; 580 regulator-ramp 580 regulator-ramp-delay = <12500>; 581 581 582 regulator-stat 582 regulator-state-mem { 583 regula 583 regulator-off-in-suspend; 584 }; 584 }; 585 }; 585 }; 586 586 587 vdd_ddr_s0: dcdc-reg5 587 vdd_ddr_s0: dcdc-reg5 { 588 regulator-name 588 regulator-name = "vdd_ddr_s0"; 589 regulator-alwa 589 regulator-always-on; 590 regulator-boot 590 regulator-boot-on; 591 regulator-min- 591 regulator-min-microvolt = <675000>; 592 regulator-max- 592 regulator-max-microvolt = <900000>; 593 regulator-ramp 593 regulator-ramp-delay = <12500>; 594 594 595 regulator-stat 595 regulator-state-mem { 596 regula 596 regulator-off-in-suspend; 597 regula 597 regulator-suspend-microvolt = <850000>; 598 }; 598 }; 599 }; 599 }; 600 600 601 vdd2_ddr_s3: dcdc-reg6 601 vdd2_ddr_s3: dcdc-reg6 { 602 regulator-name 602 regulator-name = "vdd2_ddr_s3"; 603 regulator-alwa 603 regulator-always-on; 604 regulator-boot 604 regulator-boot-on; 605 605 606 regulator-stat 606 regulator-state-mem { 607 regula 607 regulator-on-in-suspend; 608 }; 608 }; 609 }; 609 }; 610 610 611 vcc_2v0_pldo_s3: dcdc- 611 vcc_2v0_pldo_s3: dcdc-reg7 { 612 regulator-name 612 regulator-name = "vdd_2v0_pldo_s3"; 613 regulator-alwa 613 regulator-always-on; 614 regulator-boot 614 regulator-boot-on; 615 regulator-min- 615 regulator-min-microvolt = <2000000>; 616 regulator-max- 616 regulator-max-microvolt = <2000000>; 617 regulator-ramp 617 regulator-ramp-delay = <12500>; 618 618 619 regulator-stat 619 regulator-state-mem { 620 regula 620 regulator-on-in-suspend; 621 regula 621 regulator-suspend-microvolt = <2000000>; 622 }; 622 }; 623 }; 623 }; 624 624 625 vcc_3v3_s3: dcdc-reg8 625 vcc_3v3_s3: dcdc-reg8 { 626 regulator-name 626 regulator-name = "vcc_3v3_s3"; 627 regulator-alwa 627 regulator-always-on; 628 regulator-boot 628 regulator-boot-on; 629 regulator-min- 629 regulator-min-microvolt = <3300000>; 630 regulator-max- 630 regulator-max-microvolt = <3300000>; 631 631 632 regulator-stat 632 regulator-state-mem { 633 regula 633 regulator-on-in-suspend; 634 regula 634 regulator-suspend-microvolt = <3300000>; 635 }; 635 }; 636 }; 636 }; 637 637 638 vddq_ddr_s0: dcdc-reg9 638 vddq_ddr_s0: dcdc-reg9 { 639 regulator-name 639 regulator-name = "vddq_ddr_s0"; 640 regulator-alwa 640 regulator-always-on; 641 regulator-boot 641 regulator-boot-on; 642 642 643 regulator-stat 643 regulator-state-mem { 644 regula 644 regulator-off-in-suspend; 645 }; 645 }; 646 }; 646 }; 647 647 648 vcc_1v8_s3: dcdc-reg10 648 vcc_1v8_s3: dcdc-reg10 { 649 regulator-name 649 regulator-name = "vcc_1v8_s3"; 650 regulator-alwa 650 regulator-always-on; 651 regulator-boot 651 regulator-boot-on; 652 regulator-min- 652 regulator-min-microvolt = <1800000>; 653 regulator-max- 653 regulator-max-microvolt = <1800000>; 654 654 655 regulator-stat 655 regulator-state-mem { 656 regula 656 regulator-on-in-suspend; 657 regula 657 regulator-suspend-microvolt = <1800000>; 658 }; 658 }; 659 }; 659 }; 660 660 661 vcca_1v8_s0: pldo-reg1 661 vcca_1v8_s0: pldo-reg1 { 662 regulator-name 662 regulator-name = "vcca_1v8_s0"; 663 regulator-alwa 663 regulator-always-on; 664 regulator-boot 664 regulator-boot-on; 665 regulator-min- 665 regulator-min-microvolt = <1800000>; 666 regulator-max- 666 regulator-max-microvolt = <1800000>; 667 667 668 regulator-stat 668 regulator-state-mem { 669 regula 669 regulator-off-in-suspend; 670 }; 670 }; 671 }; 671 }; 672 672 673 vcc_1v8_s0: pldo-reg2 673 vcc_1v8_s0: pldo-reg2 { 674 regulator-name 674 regulator-name = "vcc_1v8_s0"; 675 regulator-alwa 675 regulator-always-on; 676 regulator-boot 676 regulator-boot-on; 677 regulator-min- 677 regulator-min-microvolt = <1800000>; 678 regulator-max- 678 regulator-max-microvolt = <1800000>; 679 679 680 regulator-stat 680 regulator-state-mem { 681 regula 681 regulator-off-in-suspend; 682 regula 682 regulator-suspend-microvolt = <1800000>; 683 }; 683 }; 684 }; 684 }; 685 685 686 vdda_1v2_s0: pldo-reg3 686 vdda_1v2_s0: pldo-reg3 { 687 regulator-name 687 regulator-name = "vdda_1v2_s0"; 688 regulator-alwa 688 regulator-always-on; 689 regulator-boot 689 regulator-boot-on; 690 regulator-min- 690 regulator-min-microvolt = <1200000>; 691 regulator-max- 691 regulator-max-microvolt = <1200000>; 692 692 693 regulator-stat 693 regulator-state-mem { 694 regula 694 regulator-off-in-suspend; 695 }; 695 }; 696 }; 696 }; 697 697 698 vcca_3v3_s0: pldo-reg4 698 vcca_3v3_s0: pldo-reg4 { 699 regulator-name 699 regulator-name = "vcca_3v3_s0"; 700 regulator-alwa 700 regulator-always-on; 701 regulator-boot 701 regulator-boot-on; 702 regulator-min- 702 regulator-min-microvolt = <3300000>; 703 regulator-max- 703 regulator-max-microvolt = <3300000>; 704 regulator-ramp 704 regulator-ramp-delay = <12500>; 705 705 706 regulator-stat 706 regulator-state-mem { 707 regula 707 regulator-off-in-suspend; 708 }; 708 }; 709 }; 709 }; 710 710 711 vccio_sd_s0: pldo-reg5 711 vccio_sd_s0: pldo-reg5 { 712 regulator-name 712 regulator-name = "vccio_sd_s0"; 713 regulator-alwa 713 regulator-always-on; 714 regulator-boot 714 regulator-boot-on; 715 regulator-min- 715 regulator-min-microvolt = <1800000>; 716 regulator-max- 716 regulator-max-microvolt = <3300000>; 717 regulator-ramp 717 regulator-ramp-delay = <12500>; 718 718 719 regulator-stat 719 regulator-state-mem { 720 regula 720 regulator-off-in-suspend; 721 }; 721 }; 722 }; 722 }; 723 723 724 pldo6_s3: pldo-reg6 { 724 pldo6_s3: pldo-reg6 { 725 regulator-name 725 regulator-name = "pldo6_s3"; 726 regulator-alwa 726 regulator-always-on; 727 regulator-boot 727 regulator-boot-on; 728 regulator-min- 728 regulator-min-microvolt = <1800000>; 729 regulator-max- 729 regulator-max-microvolt = <1800000>; 730 730 731 regulator-stat 731 regulator-state-mem { 732 regula 732 regulator-on-in-suspend; 733 regula 733 regulator-suspend-microvolt = <1800000>; 734 }; 734 }; 735 }; 735 }; 736 736 737 vdd_0v75_s3: nldo-reg1 737 vdd_0v75_s3: nldo-reg1 { 738 regulator-name 738 regulator-name = "vdd_0v75_s3"; 739 regulator-alwa 739 regulator-always-on; 740 regulator-boot 740 regulator-boot-on; 741 regulator-min- 741 regulator-min-microvolt = <750000>; 742 regulator-max- 742 regulator-max-microvolt = <750000>; 743 743 744 regulator-stat 744 regulator-state-mem { 745 regula 745 regulator-on-in-suspend; 746 regula 746 regulator-suspend-microvolt = <750000>; 747 }; 747 }; 748 }; 748 }; 749 749 750 vdda_ddr_pll_s0: nldo- 750 vdda_ddr_pll_s0: nldo-reg2 { 751 regulator-name 751 regulator-name = "vdda_ddr_pll_s0"; 752 regulator-alwa 752 regulator-always-on; 753 regulator-boot 753 regulator-boot-on; 754 regulator-min- 754 regulator-min-microvolt = <850000>; 755 regulator-max- 755 regulator-max-microvolt = <850000>; 756 756 757 regulator-stat 757 regulator-state-mem { 758 regula 758 regulator-off-in-suspend; 759 regula 759 regulator-suspend-microvolt = <850000>; 760 }; 760 }; 761 }; 761 }; 762 762 763 vdda_0v75_s0: nldo-reg 763 vdda_0v75_s0: nldo-reg3 { 764 regulator-name 764 regulator-name = "vdda_0v75_s0"; 765 regulator-alwa 765 regulator-always-on; 766 regulator-boot 766 regulator-boot-on; 767 regulator-min- 767 regulator-min-microvolt = <750000>; 768 regulator-max- 768 regulator-max-microvolt = <750000>; 769 769 770 regulator-stat 770 regulator-state-mem { 771 regula 771 regulator-off-in-suspend; 772 }; 772 }; 773 }; 773 }; 774 774 775 vdda_0v85_s0: nldo-reg 775 vdda_0v85_s0: nldo-reg4 { 776 regulator-name 776 regulator-name = "vdda_0v85_s0"; 777 regulator-alwa 777 regulator-always-on; 778 regulator-boot 778 regulator-boot-on; 779 regulator-min- 779 regulator-min-microvolt = <850000>; 780 regulator-max- 780 regulator-max-microvolt = <850000>; 781 781 782 regulator-stat 782 regulator-state-mem { 783 regula 783 regulator-off-in-suspend; 784 }; 784 }; 785 }; 785 }; 786 786 787 vdd_0v75_s0: nldo-reg5 787 vdd_0v75_s0: nldo-reg5 { 788 regulator-name 788 regulator-name = "vdd_0v75_s0"; 789 regulator-alwa 789 regulator-always-on; 790 regulator-boot 790 regulator-boot-on; 791 regulator-min- 791 regulator-min-microvolt = <750000>; 792 regulator-max- 792 regulator-max-microvolt = <750000>; 793 793 794 regulator-stat 794 regulator-state-mem { 795 regula 795 regulator-off-in-suspend; 796 }; 796 }; 797 }; 797 }; 798 }; 798 }; 799 }; 799 }; 800 }; 800 }; 801 801 802 &tsadc { 802 &tsadc { 803 status = "okay"; 803 status = "okay"; 804 }; 804 }; 805 805 806 &u2phy2 { 806 &u2phy2 { 807 status = "okay"; 807 status = "okay"; 808 }; 808 }; 809 809 810 &u2phy2_host { 810 &u2phy2_host { 811 phy-supply = <&vcc_5v0_usb_a>; 811 phy-supply = <&vcc_5v0_usb_a>; 812 status = "okay"; 812 status = "okay"; 813 }; 813 }; 814 814 815 &u2phy3 { 815 &u2phy3 { 816 status = "okay"; 816 status = "okay"; 817 }; 817 }; 818 818 819 &u2phy3_host { 819 &u2phy3_host { 820 status = "okay"; 820 status = "okay"; 821 }; 821 }; 822 822 823 /* Mule-ATtiny debug UART; typically baudrate 823 /* Mule-ATtiny debug UART; typically baudrate 9600 */ 824 &uart0 { 824 &uart0 { 825 pinctrl-0 = <&uart0m0_xfer>; 825 pinctrl-0 = <&uart0m0_xfer>; 826 status = "okay"; 826 status = "okay"; 827 }; 827 }; 828 828 829 /* Main debug interface on P20 micro-USB B por 829 /* Main debug interface on P20 micro-USB B port and P21 header */ 830 &uart2 { 830 &uart2 { 831 pinctrl-0 = <&uart2m0_xfer>; 831 pinctrl-0 = <&uart2m0_xfer>; 832 status = "okay"; 832 status = "okay"; 833 }; 833 }; 834 834 835 /* RS485 on P19 */ 835 /* RS485 on P19 */ 836 &uart3 { 836 &uart3 { 837 pinctrl-0 = <&uart3m2_xfer &uart3_rtsn 837 pinctrl-0 = <&uart3m2_xfer &uart3_rtsn>; 838 linux,rs485-enabled-at-boot-time; 838 linux,rs485-enabled-at-boot-time; 839 status = "okay"; 839 status = "okay"; 840 }; 840 }; 841 841 842 /* Mule-ATtiny UPDI flashing UART */ 842 /* Mule-ATtiny UPDI flashing UART */ 843 &uart7 { 843 &uart7 { 844 pinctrl-0 = <&uart7m0_xfer>; 844 pinctrl-0 = <&uart7m0_xfer>; 845 status = "okay"; 845 status = "okay"; 846 }; 846 }; 847 847 848 /* host0 on P10 USB-A */ 848 /* host0 on P10 USB-A */ 849 &usb_host0_ehci { 849 &usb_host0_ehci { 850 status = "okay"; 850 status = "okay"; 851 }; 851 }; 852 852 853 /* host0 on P10 USB-A */ 853 /* host0 on P10 USB-A */ 854 &usb_host0_ohci { 854 &usb_host0_ohci { 855 status = "okay"; 855 status = "okay"; 856 }; 856 }; 857 857 858 /* host1 on M.2 E-key */ 858 /* host1 on M.2 E-key */ 859 &usb_host1_ehci { 859 &usb_host1_ehci { 860 status = "okay"; 860 status = "okay"; 861 }; 861 }; 862 862 863 /* host1 on M.2 E-key */ 863 /* host1 on M.2 E-key */ 864 &usb_host1_ohci { 864 &usb_host1_ohci { 865 status = "okay"; 865 status = "okay"; 866 }; 866 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.