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