1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 BayLibre SAS. All rights 3 * Copyright (c) 2019 BayLibre SAS. All rights reserved. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "meson-sm1.dtsi" 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmit << 13 12 14 / { 13 / { 15 compatible = "seirobotics,sei610", "am 14 compatible = "seirobotics,sei610", "amlogic,sm1"; 16 model = "SEI Robotics SEI610"; 15 model = "SEI Robotics SEI610"; 17 16 18 aliases { 17 aliases { 19 serial0 = &uart_AO; 18 serial0 = &uart_AO; 20 ethernet0 = ðmac; 19 ethernet0 = ðmac; 21 }; 20 }; 22 21 23 mono_dac: audio-codec-0 { << 24 compatible = "maxim,max98357a" << 25 #sound-dai-cells = <0>; << 26 sound-name-prefix = "U16"; << 27 sdmode-gpios = <&gpio GPIOX_8 << 28 }; << 29 << 30 dmics: audio-codec-1 { << 31 #sound-dai-cells = <0>; << 32 compatible = "dmic-codec"; << 33 num-channels = <2>; << 34 wakeup-delay-ms = <50>; << 35 sound-name-prefix = "MIC"; << 36 }; << 37 << 38 chosen { 22 chosen { 39 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 40 }; 24 }; 41 25 42 emmc_pwrseq: emmc-pwrseq { 26 emmc_pwrseq: emmc-pwrseq { 43 compatible = "mmc-pwrseq-emmc" 27 compatible = "mmc-pwrseq-emmc"; 44 reset-gpios = <&gpio BOOT_12 G 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 45 }; 29 }; 46 30 47 gpio-keys { 31 gpio-keys { 48 compatible = "gpio-keys"; !! 32 compatible = "gpio-keys-polled"; >> 33 poll-interval = <100>; 49 34 50 key-1 { !! 35 key1 { 51 label = "A"; 36 label = "A"; 52 linux,code = <BTN_0>; 37 linux,code = <BTN_0>; 53 gpios = <&gpio GPIOH_6 38 gpios = <&gpio GPIOH_6 GPIO_ACTIVE_LOW>; 54 interrupt-parent = <&g << 55 interrupts = <IRQID_GP << 56 }; 39 }; 57 40 58 key-2 { !! 41 key2 { 59 label = "B"; 42 label = "B"; 60 linux,code = <BTN_1>; 43 linux,code = <BTN_1>; 61 gpios = <&gpio GPIOH_7 44 gpios = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>; 62 interrupt-parent = <&g << 63 interrupts = <IRQID_GP << 64 }; 45 }; 65 46 66 key-3 { !! 47 key3 { 67 label = "C"; 48 label = "C"; 68 linux,code = <BTN_2>; 49 linux,code = <BTN_2>; 69 gpios = <&gpio_ao GPIO 50 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; 70 interrupt-parent = <&g << 71 interrupts = <IRQID_GP << 72 }; << 73 << 74 key-mic-mute { << 75 label = "MicMute"; << 76 linux,code = <SW_MUTE_ << 77 linux,input-type = <EV << 78 gpios = <&gpio_ao GPIO << 79 interrupt-parent = <&g << 80 interrupts = <IRQID_GP << 81 }; << 82 << 83 key-power { << 84 label = "PowerKey"; << 85 linux,code = <KEY_POWE << 86 gpios = <&gpio_ao GPIO << 87 interrupt-parent = <&g << 88 interrupts = <IRQID_GP << 89 }; 51 }; 90 }; 52 }; 91 53 92 hdmi-connector { 54 hdmi-connector { 93 compatible = "hdmi-connector"; 55 compatible = "hdmi-connector"; 94 type = "a"; 56 type = "a"; 95 57 96 port { 58 port { 97 hdmi_connector_in: end 59 hdmi_connector_in: endpoint { 98 remote-endpoin 60 remote-endpoint = <&hdmi_tx_tmds_out>; 99 }; 61 }; 100 }; 62 }; 101 }; 63 }; 102 64 103 led-controller-1 { !! 65 leds { 104 compatible = "gpio-leds"; 66 compatible = "gpio-leds"; 105 67 106 led-1 { !! 68 bluetooth { 107 label = "sei610:blue:b 69 label = "sei610:blue:bt"; 108 gpios = <&gpio GPIOC_7 70 gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; 109 default-state = "off"; 71 default-state = "off"; 110 }; 72 }; 111 }; 73 }; 112 74 113 led-controller-2 { !! 75 pwmleds { 114 compatible = "pwm-leds"; 76 compatible = "pwm-leds"; 115 77 116 led-2 { !! 78 power { 117 label = "sei610:red:po 79 label = "sei610:red:power"; 118 pwms = <&pwm_AO_ab 0 3 80 pwms = <&pwm_AO_ab 0 30518 0>; 119 max-brightness = <255> 81 max-brightness = <255>; 120 linux,default-trigger 82 linux,default-trigger = "default-on"; 121 active-low; 83 active-low; 122 }; 84 }; 123 }; 85 }; 124 86 125 memory@0 { 87 memory@0 { 126 device_type = "memory"; 88 device_type = "memory"; 127 reg = <0x0 0x0 0x0 0x40000000> 89 reg = <0x0 0x0 0x0 0x40000000>; 128 }; 90 }; 129 91 130 ao_5v: regulator-ao-5v { !! 92 ao_5v: regulator-ao_5v { 131 compatible = "regulator-fixed" 93 compatible = "regulator-fixed"; 132 regulator-name = "AO_5V"; 94 regulator-name = "AO_5V"; 133 regulator-min-microvolt = <500 95 regulator-min-microvolt = <5000000>; 134 regulator-max-microvolt = <500 96 regulator-max-microvolt = <5000000>; 135 vin-supply = <&dc_in>; 97 vin-supply = <&dc_in>; 136 regulator-always-on; 98 regulator-always-on; 137 }; 99 }; 138 100 139 dc_in: regulator-dc-in { !! 101 dc_in: regulator-dc_in { 140 compatible = "regulator-fixed" 102 compatible = "regulator-fixed"; 141 regulator-name = "DC_IN"; 103 regulator-name = "DC_IN"; 142 regulator-min-microvolt = <500 104 regulator-min-microvolt = <5000000>; 143 regulator-max-microvolt = <500 105 regulator-max-microvolt = <5000000>; 144 regulator-always-on; 106 regulator-always-on; 145 }; 107 }; 146 108 147 emmc_1v8: regulator-emmc-1v8 { !! 109 emmc_1v8: regulator-emmc_1v8 { 148 compatible = "regulator-fixed" 110 compatible = "regulator-fixed"; 149 regulator-name = "EMMC_1V8"; 111 regulator-name = "EMMC_1V8"; 150 regulator-min-microvolt = <180 112 regulator-min-microvolt = <1800000>; 151 regulator-max-microvolt = <180 113 regulator-max-microvolt = <1800000>; 152 vin-supply = <&vddao_3v3>; 114 vin-supply = <&vddao_3v3>; 153 regulator-always-on; 115 regulator-always-on; 154 }; 116 }; 155 117 156 vddao_3v3: regulator-vddao-3v3 { !! 118 vddao_3v3: regulator-vddao_3v3 { 157 compatible = "regulator-fixed" 119 compatible = "regulator-fixed"; 158 regulator-name = "VDDAO_3V3"; 120 regulator-name = "VDDAO_3V3"; 159 regulator-min-microvolt = <330 121 regulator-min-microvolt = <3300000>; 160 regulator-max-microvolt = <330 122 regulator-max-microvolt = <3300000>; 161 vin-supply = <&dc_in>; 123 vin-supply = <&dc_in>; 162 regulator-always-on; 124 regulator-always-on; 163 }; 125 }; 164 126 165 /* Used by Tuner, RGB Led & IR Emitter 127 /* Used by Tuner, RGB Led & IR Emitter LED array */ 166 vddao_3v3_t: regulator-vddao-3v3-t { !! 128 vddao_3v3_t: regulator-vddao_3v3_t { 167 compatible = "regulator-fixed" 129 compatible = "regulator-fixed"; 168 regulator-name = "VDDAO_3V3_T" 130 regulator-name = "VDDAO_3V3_T"; 169 regulator-min-microvolt = <330 131 regulator-min-microvolt = <3300000>; 170 regulator-max-microvolt = <330 132 regulator-max-microvolt = <3300000>; 171 vin-supply = <&vddao_3v3>; 133 vin-supply = <&vddao_3v3>; 172 gpio = <&gpio GPIOH_8 GPIO_OPE 134 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; >> 135 enable-active-low; 173 regulator-always-on; 136 regulator-always-on; 174 }; 137 }; 175 138 176 vddcpu: regulator-vddcpu { 139 vddcpu: regulator-vddcpu { 177 /* 140 /* 178 * SY8120B1ABC DC/DC Regulator 141 * SY8120B1ABC DC/DC Regulator. 179 */ 142 */ 180 compatible = "pwm-regulator"; 143 compatible = "pwm-regulator"; 181 144 182 regulator-name = "VDDCPU"; 145 regulator-name = "VDDCPU"; 183 regulator-min-microvolt = <690 146 regulator-min-microvolt = <690000>; 184 regulator-max-microvolt = <105 147 regulator-max-microvolt = <1050000>; 185 148 186 pwm-supply = <&dc_in>; !! 149 vin-supply = <&dc_in>; 187 150 188 pwms = <&pwm_AO_cd 1 1500 0>; 151 pwms = <&pwm_AO_cd 1 1500 0>; 189 pwm-dutycycle-range = <100 0>; 152 pwm-dutycycle-range = <100 0>; 190 153 191 regulator-boot-on; 154 regulator-boot-on; 192 regulator-always-on; 155 regulator-always-on; 193 }; 156 }; 194 157 195 vddio_ao1v8: regulator-vddio-ao1v8 { !! 158 vddio_ao1v8: regulator-vddio_ao1v8 { 196 compatible = "regulator-fixed" 159 compatible = "regulator-fixed"; 197 regulator-name = "VDDIO_AO1V8" 160 regulator-name = "VDDIO_AO1V8"; 198 regulator-min-microvolt = <180 161 regulator-min-microvolt = <1800000>; 199 regulator-max-microvolt = <180 162 regulator-max-microvolt = <1800000>; 200 vin-supply = <&vddao_3v3>; 163 vin-supply = <&vddao_3v3>; 201 regulator-always-on; 164 regulator-always-on; 202 }; 165 }; 203 166 204 sdio_pwrseq: sdio-pwrseq { 167 sdio_pwrseq: sdio-pwrseq { 205 compatible = "mmc-pwrseq-simpl 168 compatible = "mmc-pwrseq-simple"; 206 reset-gpios = <&gpio GPIOX_6 G 169 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; 207 clocks = <&wifi32k>; 170 clocks = <&wifi32k>; 208 clock-names = "ext_clock"; 171 clock-names = "ext_clock"; 209 }; 172 }; 210 173 211 sound { << 212 compatible = "amlogic,axg-soun << 213 model = "SEI610"; << 214 audio-aux-devs = <&tdmout_a>, << 215 <&tdmin_a>, < << 216 audio-routing = "TDMOUT_A IN 0 << 217 "TDMOUT_A IN 1 << 218 "TDMOUT_A IN 2 << 219 "TDM_A Playbac << 220 "TDMOUT_B IN 0 << 221 "TDMOUT_B IN 1 << 222 "TDMOUT_B IN 2 << 223 "TDM_B Playbac << 224 "TODDR_A IN 4" << 225 "TODDR_B IN 4" << 226 "TODDR_C IN 4" << 227 "TDMIN_A IN 0" << 228 "TDMIN_A IN 3" << 229 "TDMIN_B IN 0" << 230 "TDMIN_B IN 3" << 231 "TDMIN_A IN 1" << 232 "TDMIN_A IN 4" << 233 "TDMIN_B IN 1" << 234 "TDMIN_B IN 4" << 235 "TODDR_A IN 0" << 236 "TODDR_B IN 0" << 237 "TODDR_C IN 0" << 238 "TODDR_A IN 1" << 239 "TODDR_B IN 1" << 240 "TODDR_C IN 1" << 241 << 242 clocks = <&clkc CLKID_MPLL2>, << 243 <&clkc CLKID_MPLL0>, << 244 <&clkc CLKID_MPLL1>; << 245 << 246 assigned-clocks = <&clkc CLKID << 247 <&clkc CLKID << 248 <&clkc CLKID << 249 assigned-clock-parents = <0>, << 250 assigned-clock-rates = <294912 << 251 <270950 << 252 <393216 << 253 << 254 dai-link-0 { << 255 sound-dai = <&frddr_a> << 256 }; << 257 << 258 dai-link-1 { << 259 sound-dai = <&frddr_b> << 260 }; << 261 << 262 dai-link-2 { << 263 sound-dai = <&frddr_c> << 264 }; << 265 << 266 dai-link-3 { << 267 sound-dai = <&toddr_a> << 268 }; << 269 << 270 dai-link-4 { << 271 sound-dai = <&toddr_b> << 272 }; << 273 << 274 dai-link-5 { << 275 sound-dai = <&toddr_c> << 276 }; << 277 << 278 /* internal speaker interface << 279 dai-link-6 { << 280 sound-dai = <&tdmif_a> << 281 dai-format = "i2s"; << 282 dai-tdm-slot-tx-mask-0 << 283 mclk-fs = <256>; << 284 << 285 codec-0 { << 286 sound-dai = <& << 287 }; << 288 << 289 codec-1 { << 290 sound-dai = <& << 291 }; << 292 }; << 293 << 294 /* 8ch hdmi interface */ << 295 dai-link-7 { << 296 sound-dai = <&tdmif_b> << 297 dai-format = "i2s"; << 298 dai-tdm-slot-tx-mask-0 << 299 dai-tdm-slot-tx-mask-1 << 300 dai-tdm-slot-tx-mask-2 << 301 dai-tdm-slot-tx-mask-3 << 302 mclk-fs = <256>; << 303 << 304 codec { << 305 sound-dai = <& << 306 }; << 307 }; << 308 << 309 /* internal digital mics */ << 310 dai-link-8 { << 311 sound-dai = <&pdm>; << 312 << 313 codec { << 314 sound-dai = <& << 315 }; << 316 }; << 317 << 318 /* hdmi glue */ << 319 dai-link-9 { << 320 sound-dai = <&tohdmitx << 321 << 322 codec { << 323 sound-dai = <& << 324 }; << 325 }; << 326 }; << 327 << 328 wifi32k: wifi32k { 174 wifi32k: wifi32k { 329 compatible = "pwm-clock"; 175 compatible = "pwm-clock"; 330 #clock-cells = <0>; 176 #clock-cells = <0>; 331 clock-frequency = <32768>; 177 clock-frequency = <32768>; 332 pwms = <&pwm_ef 0 30518 0>; /* 178 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ 333 }; 179 }; 334 }; 180 }; 335 181 336 &arb { << 337 status = "okay"; << 338 }; << 339 << 340 &cec_AO { 182 &cec_AO { 341 pinctrl-0 = <&cec_ao_a_h_pins>; 183 pinctrl-0 = <&cec_ao_a_h_pins>; 342 pinctrl-names = "default"; 184 pinctrl-names = "default"; 343 status = "disabled"; 185 status = "disabled"; 344 hdmi-phandle = <&hdmi_tx>; 186 hdmi-phandle = <&hdmi_tx>; 345 }; 187 }; 346 188 347 &cecb_AO { 189 &cecb_AO { 348 pinctrl-0 = <&cec_ao_b_h_pins>; 190 pinctrl-0 = <&cec_ao_b_h_pins>; 349 pinctrl-names = "default"; 191 pinctrl-names = "default"; 350 status = "okay"; 192 status = "okay"; 351 hdmi-phandle = <&hdmi_tx>; 193 hdmi-phandle = <&hdmi_tx>; 352 }; 194 }; 353 195 354 &clkc_audio { << 355 status = "okay"; << 356 }; << 357 << 358 &cpu0 { 196 &cpu0 { 359 cpu-supply = <&vddcpu>; 197 cpu-supply = <&vddcpu>; 360 operating-points-v2 = <&cpu_opp_table> 198 operating-points-v2 = <&cpu_opp_table>; 361 clocks = <&clkc CLKID_CPU_CLK>; 199 clocks = <&clkc CLKID_CPU_CLK>; 362 clock-latency = <50000>; 200 clock-latency = <50000>; 363 }; 201 }; 364 202 365 &cpu1 { 203 &cpu1 { 366 cpu-supply = <&vddcpu>; 204 cpu-supply = <&vddcpu>; 367 operating-points-v2 = <&cpu_opp_table> 205 operating-points-v2 = <&cpu_opp_table>; 368 clocks = <&clkc CLKID_CPU1_CLK>; 206 clocks = <&clkc CLKID_CPU1_CLK>; 369 clock-latency = <50000>; 207 clock-latency = <50000>; 370 }; 208 }; 371 209 372 &cpu2 { 210 &cpu2 { 373 cpu-supply = <&vddcpu>; 211 cpu-supply = <&vddcpu>; 374 operating-points-v2 = <&cpu_opp_table> 212 operating-points-v2 = <&cpu_opp_table>; 375 clocks = <&clkc CLKID_CPU2_CLK>; 213 clocks = <&clkc CLKID_CPU2_CLK>; 376 clock-latency = <50000>; 214 clock-latency = <50000>; 377 }; 215 }; 378 216 379 &cpu3 { 217 &cpu3 { 380 cpu-supply = <&vddcpu>; 218 cpu-supply = <&vddcpu>; 381 operating-points-v2 = <&cpu_opp_table> 219 operating-points-v2 = <&cpu_opp_table>; 382 clocks = <&clkc CLKID_CPU3_CLK>; 220 clocks = <&clkc CLKID_CPU3_CLK>; 383 clock-latency = <50000>; 221 clock-latency = <50000>; 384 }; 222 }; 385 223 386 ðmac { 224 ðmac { 387 status = "okay"; 225 status = "okay"; 388 phy-handle = <&internal_ephy>; 226 phy-handle = <&internal_ephy>; 389 phy-mode = "rmii"; 227 phy-mode = "rmii"; 390 }; 228 }; 391 229 392 &frddr_a { << 393 status = "okay"; << 394 }; << 395 << 396 &frddr_b { << 397 status = "okay"; << 398 }; << 399 << 400 &frddr_c { << 401 status = "okay"; << 402 }; << 403 << 404 &hdmi_tx { 230 &hdmi_tx { 405 status = "okay"; 231 status = "okay"; 406 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmi 232 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; 407 pinctrl-names = "default"; 233 pinctrl-names = "default"; 408 }; 234 }; 409 235 410 &hdmi_tx_tmds_port { 236 &hdmi_tx_tmds_port { 411 hdmi_tx_tmds_out: endpoint { 237 hdmi_tx_tmds_out: endpoint { 412 remote-endpoint = <&hdmi_conne 238 remote-endpoint = <&hdmi_connector_in>; 413 }; 239 }; 414 }; 240 }; 415 241 416 &i2c3 { 242 &i2c3 { 417 status = "okay"; 243 status = "okay"; 418 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3 244 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; 419 pinctrl-names = "default"; 245 pinctrl-names = "default"; 420 }; 246 }; 421 247 422 &ir { 248 &ir { 423 status = "okay"; 249 status = "okay"; 424 pinctrl-0 = <&remote_input_ao_pins>; 250 pinctrl-0 = <&remote_input_ao_pins>; 425 pinctrl-names = "default"; 251 pinctrl-names = "default"; 426 }; 252 }; 427 253 428 &pdm { << 429 pinctrl-0 = <&pdm_din0_z_pins>, <&pdm_ << 430 pinctrl-names = "default"; << 431 status = "okay"; << 432 }; << 433 << 434 &pwm_AO_ab { 254 &pwm_AO_ab { 435 status = "okay"; 255 status = "okay"; 436 pinctrl-0 = <&pwm_ao_a_pins>; 256 pinctrl-0 = <&pwm_ao_a_pins>; 437 pinctrl-names = "default"; 257 pinctrl-names = "default"; 438 clocks = <&xtal>; 258 clocks = <&xtal>; 439 clock-names = "clkin0"; 259 clock-names = "clkin0"; 440 }; 260 }; 441 261 442 &pwm_AO_cd { 262 &pwm_AO_cd { 443 pinctrl-0 = <&pwm_ao_d_e_pins>; 263 pinctrl-0 = <&pwm_ao_d_e_pins>; 444 pinctrl-names = "default"; 264 pinctrl-names = "default"; 445 clocks = <&xtal>; 265 clocks = <&xtal>; 446 clock-names = "clkin1"; 266 clock-names = "clkin1"; 447 status = "okay"; 267 status = "okay"; 448 }; 268 }; 449 269 450 &pwm_ef { 270 &pwm_ef { 451 status = "okay"; 271 status = "okay"; 452 pinctrl-0 = <&pwm_e_pins>; 272 pinctrl-0 = <&pwm_e_pins>; 453 pinctrl-names = "default"; 273 pinctrl-names = "default"; 454 clocks = <&xtal>; 274 clocks = <&xtal>; 455 clock-names = "clkin0"; 275 clock-names = "clkin0"; 456 }; 276 }; 457 277 458 &saradc { 278 &saradc { 459 status = "okay"; 279 status = "okay"; 460 vref-supply = <&vddio_ao1v8>; 280 vref-supply = <&vddio_ao1v8>; 461 }; 281 }; 462 282 463 /* SDIO */ 283 /* SDIO */ 464 &sd_emmc_a { 284 &sd_emmc_a { 465 status = "okay"; 285 status = "okay"; 466 pinctrl-0 = <&sdio_pins>; 286 pinctrl-0 = <&sdio_pins>; 467 pinctrl-1 = <&sdio_clk_gate_pins>; 287 pinctrl-1 = <&sdio_clk_gate_pins>; 468 pinctrl-names = "default", "clk-gate"; 288 pinctrl-names = "default", "clk-gate"; 469 #address-cells = <1>; 289 #address-cells = <1>; 470 #size-cells = <0>; 290 #size-cells = <0>; 471 291 472 bus-width = <4>; 292 bus-width = <4>; 473 cap-sd-highspeed; 293 cap-sd-highspeed; 474 sd-uhs-sdr50; 294 sd-uhs-sdr50; 475 max-frequency = <100000000>; 295 max-frequency = <100000000>; 476 296 477 non-removable; 297 non-removable; 478 disable-wp; 298 disable-wp; 479 299 480 /* WiFi firmware requires power to be << 481 keep-power-in-suspend; << 482 << 483 mmc-pwrseq = <&sdio_pwrseq>; 300 mmc-pwrseq = <&sdio_pwrseq>; 484 301 485 vmmc-supply = <&vddao_3v3>; 302 vmmc-supply = <&vddao_3v3>; 486 vqmmc-supply = <&vddio_ao1v8>; 303 vqmmc-supply = <&vddio_ao1v8>; 487 304 488 brcmf: wifi@1 { 305 brcmf: wifi@1 { 489 reg = <1>; 306 reg = <1>; 490 compatible = "brcm,bcm4329-fma 307 compatible = "brcm,bcm4329-fmac"; 491 }; 308 }; 492 }; 309 }; 493 310 494 /* SD card */ 311 /* SD card */ 495 &sd_emmc_b { 312 &sd_emmc_b { 496 status = "okay"; 313 status = "okay"; 497 pinctrl-0 = <&sdcard_c_pins>; 314 pinctrl-0 = <&sdcard_c_pins>; 498 pinctrl-1 = <&sdcard_clk_gate_c_pins>; 315 pinctrl-1 = <&sdcard_clk_gate_c_pins>; 499 pinctrl-names = "default", "clk-gate"; 316 pinctrl-names = "default", "clk-gate"; 500 317 501 bus-width = <4>; 318 bus-width = <4>; 502 cap-sd-highspeed; 319 cap-sd-highspeed; 503 max-frequency = <50000000>; 320 max-frequency = <50000000>; 504 disable-wp; 321 disable-wp; 505 322 506 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_ 323 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; 507 vmmc-supply = <&vddao_3v3>; 324 vmmc-supply = <&vddao_3v3>; 508 vqmmc-supply = <&vddao_3v3>; 325 vqmmc-supply = <&vddao_3v3>; 509 }; 326 }; 510 327 511 /* eMMC */ 328 /* eMMC */ 512 &sd_emmc_c { 329 &sd_emmc_c { 513 status = "okay"; 330 status = "okay"; 514 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_ !! 331 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; 515 pinctrl-1 = <&emmc_clk_gate_pins>; 332 pinctrl-1 = <&emmc_clk_gate_pins>; 516 pinctrl-names = "default", "clk-gate"; 333 pinctrl-names = "default", "clk-gate"; 517 334 518 bus-width = <8>; 335 bus-width = <8>; 519 cap-mmc-highspeed; 336 cap-mmc-highspeed; 520 mmc-ddr-1_8v; 337 mmc-ddr-1_8v; 521 mmc-hs200-1_8v; 338 mmc-hs200-1_8v; 522 max-frequency = <200000000>; 339 max-frequency = <200000000>; 523 non-removable; 340 non-removable; 524 disable-wp; 341 disable-wp; 525 342 526 mmc-pwrseq = <&emmc_pwrseq>; 343 mmc-pwrseq = <&emmc_pwrseq>; 527 vmmc-supply = <&vddao_3v3>; 344 vmmc-supply = <&vddao_3v3>; 528 vqmmc-supply = <&emmc_1v8>; 345 vqmmc-supply = <&emmc_1v8>; 529 }; 346 }; 530 347 531 &tdmif_a { << 532 pinctrl-0 = <&tdm_a_dout0_pins>, <&tdm << 533 pinctrl-names = "default"; << 534 status = "okay"; << 535 << 536 assigned-clocks = <&clkc_audio AUD_CLK << 537 <&clkc_audio AUD_CLK << 538 assigned-clock-parents = <&clkc_audio << 539 <&clkc_audio << 540 assigned-clock-rates = <0>, <0>; << 541 }; << 542 << 543 &tdmif_b { << 544 status = "okay"; << 545 }; << 546 << 547 &tdmin_a { << 548 status = "okay"; << 549 }; << 550 << 551 &tdmin_b { << 552 status = "okay"; << 553 }; << 554 << 555 &tdmout_a { << 556 status = "okay"; << 557 }; << 558 << 559 &tdmout_b { << 560 status = "okay"; << 561 }; << 562 << 563 &toddr_a { << 564 status = "okay"; << 565 }; << 566 << 567 &toddr_b { << 568 status = "okay"; << 569 }; << 570 << 571 &toddr_c { << 572 status = "okay"; << 573 }; << 574 << 575 &tohdmitx { << 576 status = "okay"; << 577 }; << 578 << 579 &uart_A { 348 &uart_A { 580 status = "okay"; 349 status = "okay"; 581 pinctrl-0 = <&uart_a_pins>, <&uart_a_c 350 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; 582 pinctrl-names = "default"; 351 pinctrl-names = "default"; 583 uart-has-rtscts; 352 uart-has-rtscts; 584 353 585 bluetooth { 354 bluetooth { 586 compatible = "brcm,bcm43438-bt 355 compatible = "brcm,bcm43438-bt"; 587 interrupt-parent = <&gpio_intc 356 interrupt-parent = <&gpio_intc>; 588 interrupts = <IRQID_GPIOX_18 I !! 357 interrupts = <95 IRQ_TYPE_LEVEL_HIGH>; 589 interrupt-names = "host-wakeup 358 interrupt-names = "host-wakeup"; 590 shutdown-gpios = <&gpio GPIOX_ 359 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; 591 max-speed = <2000000>; 360 max-speed = <2000000>; 592 clocks = <&wifi32k>; 361 clocks = <&wifi32k>; 593 clock-names = "lpo"; 362 clock-names = "lpo"; 594 vbat-supply = <&vddao_3v3>; 363 vbat-supply = <&vddao_3v3>; 595 vddio-supply = <&vddio_ao1v8>; 364 vddio-supply = <&vddio_ao1v8>; 596 }; 365 }; 597 }; 366 }; 598 367 599 /* Exposed via the on-board USB to Serial FT23 368 /* Exposed via the on-board USB to Serial FT232RL IC */ 600 &uart_AO { 369 &uart_AO { 601 status = "okay"; 370 status = "okay"; 602 pinctrl-0 = <&uart_ao_a_pins>; 371 pinctrl-0 = <&uart_ao_a_pins>; 603 pinctrl-names = "default"; 372 pinctrl-names = "default"; 604 }; 373 }; 605 374 606 &usb { 375 &usb { 607 status = "okay"; 376 status = "okay"; 608 dr_mode = "otg"; 377 dr_mode = "otg"; 609 }; 378 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.