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