1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@ao 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.xyz> 4 * 4 * 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "sun50i-a64.dtsi" 9 #include "sun50i-a64.dtsi" 10 #include "sun50i-a64-cpu-opp.dtsi" 10 #include "sun50i-a64-cpu-opp.dtsi" 11 11 12 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/pwm/pwm.h> 15 15 16 / { 16 / { 17 model = "Pine64 PineTab Developer Samp !! 17 model = "PineTab"; 18 compatible = "pine64,pinetab", "allwin 18 compatible = "pine64,pinetab", "allwinner,sun50i-a64"; 19 chassis-type = "tablet"; << 20 19 21 aliases { 20 aliases { 22 serial0 = &uart0; 21 serial0 = &uart0; 23 ethernet0 = &rtl8723cs; 22 ethernet0 = &rtl8723cs; 24 }; 23 }; 25 24 26 backlight: backlight { 25 backlight: backlight { 27 compatible = "pwm-backlight"; 26 compatible = "pwm-backlight"; 28 pwms = <&pwm 0 50000 PWM_POLAR 27 pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; 29 brightness-levels = <0 16 18 2 28 brightness-levels = <0 16 18 20 22 24 26 29 32 35 38 42 46 51 56 62 68 75 83 91 100>; 30 default-brightness-level = <15 29 default-brightness-level = <15>; 31 enable-gpios = <&pio 3 23 GPIO 30 enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */ 32 power-supply = <&vdd_bl>; 31 power-supply = <&vdd_bl>; 33 }; 32 }; 34 33 35 chosen { 34 chosen { 36 stdout-path = "serial0:115200n 35 stdout-path = "serial0:115200n8"; 37 }; 36 }; 38 37 39 hdmi-connector { << 40 compatible = "hdmi-connector"; << 41 type = "c"; << 42 << 43 port { << 44 hdmi_con_in: endpoint << 45 remote-endpoin << 46 }; << 47 }; << 48 }; << 49 << 50 i2c-csi { 38 i2c-csi { 51 compatible = "i2c-gpio"; 39 compatible = "i2c-gpio"; 52 sda-gpios = <&pio 4 13 GPIO_AC 40 sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* PE13 */ 53 scl-gpios = <&pio 4 12 GPIO_AC 41 scl-gpios = <&pio 4 12 GPIO_ACTIVE_HIGH>; /* PE12 */ 54 i2c-gpio,delay-us = <5>; 42 i2c-gpio,delay-us = <5>; 55 #address-cells = <1>; 43 #address-cells = <1>; 56 #size-cells = <0>; 44 #size-cells = <0>; 57 45 58 /* Rear camera */ 46 /* Rear camera */ 59 ov5640: camera@3c { 47 ov5640: camera@3c { 60 compatible = "ovti,ov5 48 compatible = "ovti,ov5640"; 61 reg = <0x3c>; 49 reg = <0x3c>; 62 pinctrl-names = "defau 50 pinctrl-names = "default"; 63 pinctrl-0 = <&csi_mclk 51 pinctrl-0 = <&csi_mclk_pin>; 64 clocks = <&ccu CLK_CSI 52 clocks = <&ccu CLK_CSI_MCLK>; 65 clock-names = "xclk"; 53 clock-names = "xclk"; 66 54 67 AVDD-supply = <®_dl 55 AVDD-supply = <®_dldo3>; 68 DOVDD-supply = <®_a 56 DOVDD-supply = <®_aldo1>; 69 DVDD-supply = <®_el 57 DVDD-supply = <®_eldo3>; 70 reset-gpios = <&pio 4 58 reset-gpios = <&pio 4 14 GPIO_ACTIVE_LOW>; /* PE14 */ 71 powerdown-gpios = <&pi 59 powerdown-gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */ 72 60 73 port { 61 port { 74 ov5640_ep: end 62 ov5640_ep: endpoint { 75 remote 63 remote-endpoint = <&csi_ep>; 76 bus-wi 64 bus-width = <8>; 77 hsync- 65 hsync-active = <1>; /* Active high */ 78 vsync- 66 vsync-active = <0>; /* Active low */ 79 data-a 67 data-active = <1>; /* Active high */ 80 pclk-s 68 pclk-sample = <1>; /* Rising */ 81 }; 69 }; 82 }; 70 }; 83 }; 71 }; 84 }; 72 }; 85 73 86 speaker_amp: audio-amplifier { 74 speaker_amp: audio-amplifier { 87 compatible = "simple-audio-amp 75 compatible = "simple-audio-amplifier"; 88 enable-gpios = <&pio 7 7 GPIO_ 76 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ 89 sound-name-prefix = "Speaker A 77 sound-name-prefix = "Speaker Amp"; 90 }; 78 }; 91 79 92 vdd_bl: regulator { !! 80 vdd_bl: regulator@0 { 93 compatible = "regulator-fixed" 81 compatible = "regulator-fixed"; 94 regulator-name = "bl-3v3"; 82 regulator-name = "bl-3v3"; 95 regulator-min-microvolt = <330 83 regulator-min-microvolt = <3300000>; 96 regulator-max-microvolt = <330 84 regulator-max-microvolt = <3300000>; 97 gpio = <&pio 7 6 GPIO_ACTIVE_H 85 gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 98 enable-active-high; 86 enable-active-high; 99 }; 87 }; 100 88 101 wifi_pwrseq: pwrseq { !! 89 wifi_pwrseq: wifi_pwrseq { 102 compatible = "mmc-pwrseq-simpl 90 compatible = "mmc-pwrseq-simple"; 103 reset-gpios = <&r_pio 0 2 GPIO 91 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ 104 post-power-on-delay-ms = <200> 92 post-power-on-delay-ms = <200>; 105 }; 93 }; 106 }; 94 }; 107 95 108 &codec { 96 &codec { 109 status = "okay"; 97 status = "okay"; 110 }; 98 }; 111 99 112 &codec_analog { 100 &codec_analog { 113 cpvdd-supply = <®_eldo1>; 101 cpvdd-supply = <®_eldo1>; 114 status = "okay"; 102 status = "okay"; 115 }; 103 }; 116 104 117 &cpu0 { 105 &cpu0 { 118 cpu-supply = <®_dcdc2>; 106 cpu-supply = <®_dcdc2>; 119 }; 107 }; 120 108 121 &cpu1 { 109 &cpu1 { 122 cpu-supply = <®_dcdc2>; 110 cpu-supply = <®_dcdc2>; 123 }; 111 }; 124 112 125 &cpu2 { 113 &cpu2 { 126 cpu-supply = <®_dcdc2>; 114 cpu-supply = <®_dcdc2>; 127 }; 115 }; 128 116 129 &cpu3 { 117 &cpu3 { 130 cpu-supply = <®_dcdc2>; 118 cpu-supply = <®_dcdc2>; 131 }; 119 }; 132 120 133 &csi { 121 &csi { 134 status = "okay"; 122 status = "okay"; 135 123 136 port { 124 port { >> 125 #address-cells = <1>; >> 126 #size-cells = <0>; >> 127 137 csi_ep: endpoint { 128 csi_ep: endpoint { 138 remote-endpoint = <&ov 129 remote-endpoint = <&ov5640_ep>; 139 bus-width = <8>; 130 bus-width = <8>; 140 hsync-active = <1>; /* 131 hsync-active = <1>; /* Active high */ 141 vsync-active = <0>; /* 132 vsync-active = <0>; /* Active low */ 142 data-active = <1>; /* 133 data-active = <1>; /* Active high */ 143 pclk-sample = <1>; /* 134 pclk-sample = <1>; /* Rising */ 144 }; 135 }; 145 }; 136 }; 146 }; 137 }; 147 138 148 &dai { 139 &dai { 149 status = "okay"; 140 status = "okay"; 150 }; 141 }; 151 142 152 &de { 143 &de { 153 status = "okay"; 144 status = "okay"; 154 }; 145 }; 155 146 156 &dphy { 147 &dphy { 157 status = "okay"; 148 status = "okay"; 158 }; 149 }; 159 150 160 &dsi { 151 &dsi { 161 vcc-dsi-supply = <®_dldo1>; 152 vcc-dsi-supply = <®_dldo1>; 162 status = "okay"; 153 status = "okay"; 163 154 164 panel@0 { 155 panel@0 { 165 compatible = "feixin,k101-im2b 156 compatible = "feixin,k101-im2ba02"; 166 reg = <0>; 157 reg = <0>; 167 avdd-supply = <®_dc1sw>; 158 avdd-supply = <®_dc1sw>; 168 dvdd-supply = <®_dc1sw>; 159 dvdd-supply = <®_dc1sw>; 169 cvdd-supply = <®_ldo_io1>; 160 cvdd-supply = <®_ldo_io1>; 170 reset-gpios = <&pio 3 24 GPIO_ 161 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ 171 backlight = <&backlight>; 162 backlight = <&backlight>; 172 }; 163 }; 173 }; 164 }; 174 165 175 &ehci0 { 166 &ehci0 { 176 status = "okay"; 167 status = "okay"; 177 }; 168 }; 178 169 179 &ehci1 { 170 &ehci1 { 180 status = "okay"; 171 status = "okay"; 181 }; 172 }; 182 173 183 &i2c0 { 174 &i2c0 { 184 status = "okay"; 175 status = "okay"; 185 176 186 touchscreen@5d { 177 touchscreen@5d { 187 compatible = "goodix,gt9271"; 178 compatible = "goodix,gt9271"; 188 reg = <0x5d>; 179 reg = <0x5d>; 189 interrupt-parent = <&pio>; 180 interrupt-parent = <&pio>; 190 interrupts = <7 4 IRQ_TYPE_LEV 181 interrupts = <7 4 IRQ_TYPE_LEVEL_HIGH>; /* PH4 */ 191 irq-gpios = <&pio 7 4 GPIO_ACT 182 irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 192 reset-gpios = <&pio 7 8 GPIO_A 183 reset-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */ 193 AVDD28-supply = <®_ldo_io1> 184 AVDD28-supply = <®_ldo_io1>; 194 }; 185 }; 195 }; 186 }; 196 187 197 &i2c0_pins { 188 &i2c0_pins { 198 bias-pull-up; 189 bias-pull-up; 199 }; 190 }; 200 191 201 &i2c1 { 192 &i2c1 { 202 status = "okay"; 193 status = "okay"; 203 194 204 /* TODO: add Bochs BMA223 acceleromete 195 /* TODO: add Bochs BMA223 accelerometer here */ 205 }; 196 }; 206 197 207 &lradc { 198 &lradc { 208 vref-supply = <®_aldo3>; 199 vref-supply = <®_aldo3>; 209 status = "okay"; 200 status = "okay"; 210 201 211 button-200 { 202 button-200 { 212 label = "Volume Up"; 203 label = "Volume Up"; 213 linux,code = <KEY_VOLUMEUP>; 204 linux,code = <KEY_VOLUMEUP>; 214 channel = <0>; 205 channel = <0>; 215 voltage = <200000>; 206 voltage = <200000>; 216 }; 207 }; 217 208 218 button-400 { 209 button-400 { 219 label = "Volume Down"; 210 label = "Volume Down"; 220 linux,code = <KEY_VOLUMEDOWN>; 211 linux,code = <KEY_VOLUMEDOWN>; 221 channel = <0>; 212 channel = <0>; 222 voltage = <400000>; 213 voltage = <400000>; 223 }; 214 }; 224 }; 215 }; 225 216 226 &mixer1 { 217 &mixer1 { 227 status = "okay"; 218 status = "okay"; 228 }; 219 }; 229 220 230 &mmc0 { 221 &mmc0 { 231 pinctrl-names = "default"; 222 pinctrl-names = "default"; 232 pinctrl-0 = <&mmc0_pins>; 223 pinctrl-0 = <&mmc0_pins>; 233 vmmc-supply = <®_dcdc1>; 224 vmmc-supply = <®_dcdc1>; 234 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 225 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 235 disable-wp; 226 disable-wp; 236 bus-width = <4>; 227 bus-width = <4>; 237 status = "okay"; 228 status = "okay"; 238 }; 229 }; 239 230 240 &mmc1 { 231 &mmc1 { 241 pinctrl-names = "default"; 232 pinctrl-names = "default"; 242 pinctrl-0 = <&mmc1_pins>; 233 pinctrl-0 = <&mmc1_pins>; 243 vmmc-supply = <®_dldo4>; 234 vmmc-supply = <®_dldo4>; 244 vqmmc-supply = <®_eldo1>; 235 vqmmc-supply = <®_eldo1>; 245 mmc-pwrseq = <&wifi_pwrseq>; 236 mmc-pwrseq = <&wifi_pwrseq>; 246 bus-width = <4>; 237 bus-width = <4>; 247 non-removable; 238 non-removable; 248 status = "okay"; 239 status = "okay"; 249 240 250 rtl8723cs: wifi@1 { 241 rtl8723cs: wifi@1 { 251 reg = <1>; 242 reg = <1>; 252 }; 243 }; 253 }; 244 }; 254 245 255 &mmc2 { 246 &mmc2 { 256 pinctrl-names = "default"; 247 pinctrl-names = "default"; 257 pinctrl-0 = <&mmc2_pins>; 248 pinctrl-0 = <&mmc2_pins>; 258 vmmc-supply = <®_dcdc1>; 249 vmmc-supply = <®_dcdc1>; 259 vqmmc-supply = <®_dcdc1>; 250 vqmmc-supply = <®_dcdc1>; 260 bus-width = <8>; 251 bus-width = <8>; 261 non-removable; 252 non-removable; 262 cap-mmc-hw-reset; 253 cap-mmc-hw-reset; 263 status = "okay"; 254 status = "okay"; 264 }; 255 }; 265 256 266 &ohci0 { 257 &ohci0 { 267 status = "okay"; 258 status = "okay"; 268 }; 259 }; 269 260 270 &pwm { 261 &pwm { 271 status = "okay"; 262 status = "okay"; 272 }; 263 }; 273 264 274 &r_rsb { 265 &r_rsb { 275 status = "okay"; 266 status = "okay"; 276 267 277 axp803: pmic@3a3 { 268 axp803: pmic@3a3 { 278 compatible = "x-powers,axp803" 269 compatible = "x-powers,axp803"; 279 reg = <0x3a3>; 270 reg = <0x3a3>; 280 interrupt-parent = <&r_intc>; 271 interrupt-parent = <&r_intc>; 281 interrupts = <GIC_SPI 32 IRQ_T !! 272 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 282 x-powers,drive-vbus-en; 273 x-powers,drive-vbus-en; 283 }; 274 }; 284 }; 275 }; 285 276 286 #include "axp803.dtsi" 277 #include "axp803.dtsi" 287 278 288 &ac_power_supply { 279 &ac_power_supply { 289 status = "okay"; 280 status = "okay"; 290 }; 281 }; 291 282 292 &battery_power_supply { 283 &battery_power_supply { 293 status = "okay"; 284 status = "okay"; 294 }; 285 }; 295 286 296 ®_aldo1 { 287 ®_aldo1 { 297 regulator-min-microvolt = <2800000>; 288 regulator-min-microvolt = <2800000>; 298 regulator-max-microvolt = <2800000>; 289 regulator-max-microvolt = <2800000>; 299 regulator-name = "dovdd-csi"; 290 regulator-name = "dovdd-csi"; 300 }; 291 }; 301 292 302 ®_aldo2 { 293 ®_aldo2 { 303 regulator-always-on; 294 regulator-always-on; 304 regulator-min-microvolt = <1800000>; 295 regulator-min-microvolt = <1800000>; 305 regulator-max-microvolt = <3300000>; 296 regulator-max-microvolt = <3300000>; 306 regulator-name = "vcc-pl"; 297 regulator-name = "vcc-pl"; 307 }; 298 }; 308 299 309 ®_aldo3 { 300 ®_aldo3 { 310 regulator-always-on; 301 regulator-always-on; 311 regulator-min-microvolt = <2700000>; 302 regulator-min-microvolt = <2700000>; 312 regulator-max-microvolt = <3300000>; 303 regulator-max-microvolt = <3300000>; 313 regulator-name = "vcc-pll-avcc"; 304 regulator-name = "vcc-pll-avcc"; 314 }; 305 }; 315 306 316 ®_dc1sw { 307 ®_dc1sw { 317 regulator-name = "vcc-lcd"; 308 regulator-name = "vcc-lcd"; 318 }; 309 }; 319 310 320 ®_dcdc1 { 311 ®_dcdc1 { 321 regulator-always-on; 312 regulator-always-on; 322 regulator-min-microvolt = <3300000>; 313 regulator-min-microvolt = <3300000>; 323 regulator-max-microvolt = <3300000>; 314 regulator-max-microvolt = <3300000>; 324 regulator-name = "vcc-3v3"; 315 regulator-name = "vcc-3v3"; 325 }; 316 }; 326 317 327 ®_dcdc2 { 318 ®_dcdc2 { 328 regulator-always-on; 319 regulator-always-on; 329 regulator-min-microvolt = <1000000>; 320 regulator-min-microvolt = <1000000>; 330 regulator-max-microvolt = <1300000>; 321 regulator-max-microvolt = <1300000>; 331 regulator-name = "vdd-cpux"; 322 regulator-name = "vdd-cpux"; 332 }; 323 }; 333 324 334 /* DCDC3 is polyphased with DCDC2 */ 325 /* DCDC3 is polyphased with DCDC2 */ 335 326 336 ®_dcdc5 { 327 ®_dcdc5 { 337 regulator-always-on; 328 regulator-always-on; 338 regulator-min-microvolt = <1200000>; 329 regulator-min-microvolt = <1200000>; 339 regulator-max-microvolt = <1200000>; 330 regulator-max-microvolt = <1200000>; 340 regulator-name = "vcc-dram"; 331 regulator-name = "vcc-dram"; 341 }; 332 }; 342 333 343 ®_dcdc6 { 334 ®_dcdc6 { 344 regulator-always-on; 335 regulator-always-on; 345 regulator-min-microvolt = <1100000>; 336 regulator-min-microvolt = <1100000>; 346 regulator-max-microvolt = <1100000>; 337 regulator-max-microvolt = <1100000>; 347 regulator-name = "vdd-sys"; 338 regulator-name = "vdd-sys"; 348 }; 339 }; 349 340 350 ®_dldo1 { 341 ®_dldo1 { 351 regulator-always-on; 342 regulator-always-on; 352 regulator-min-microvolt = <3300000>; 343 regulator-min-microvolt = <3300000>; 353 regulator-max-microvolt = <3300000>; 344 regulator-max-microvolt = <3300000>; 354 regulator-name = "vcc-hdmi-dsi-sensor" 345 regulator-name = "vcc-hdmi-dsi-sensor"; 355 }; 346 }; 356 347 357 ®_dldo3 { 348 ®_dldo3 { 358 regulator-min-microvolt = <2800000>; 349 regulator-min-microvolt = <2800000>; 359 regulator-max-microvolt = <2800000>; 350 regulator-max-microvolt = <2800000>; 360 regulator-name = "avdd-csi"; 351 regulator-name = "avdd-csi"; 361 }; 352 }; 362 353 363 ®_dldo4 { 354 ®_dldo4 { 364 regulator-min-microvolt = <3300000>; 355 regulator-min-microvolt = <3300000>; 365 regulator-max-microvolt = <3300000>; 356 regulator-max-microvolt = <3300000>; 366 regulator-name = "vcc-wifi"; 357 regulator-name = "vcc-wifi"; 367 }; 358 }; 368 359 369 ®_drivevbus { 360 ®_drivevbus { 370 regulator-name = "usb0-vbus"; 361 regulator-name = "usb0-vbus"; 371 status = "okay"; 362 status = "okay"; 372 }; 363 }; 373 364 374 ®_eldo1 { 365 ®_eldo1 { 375 regulator-always-on; 366 regulator-always-on; 376 regulator-min-microvolt = <1800000>; 367 regulator-min-microvolt = <1800000>; 377 regulator-max-microvolt = <1800000>; 368 regulator-max-microvolt = <1800000>; 378 regulator-name = "cpvdd"; 369 regulator-name = "cpvdd"; 379 }; 370 }; 380 371 381 ®_eldo2 { 372 ®_eldo2 { 382 regulator-min-microvolt = <1800000>; 373 regulator-min-microvolt = <1800000>; 383 regulator-max-microvolt = <1800000>; 374 regulator-max-microvolt = <1800000>; 384 regulator-name = "vcca-1v8"; 375 regulator-name = "vcca-1v8"; 385 }; 376 }; 386 377 387 ®_eldo3 { 378 ®_eldo3 { 388 regulator-min-microvolt = <1800000>; 379 regulator-min-microvolt = <1800000>; 389 regulator-max-microvolt = <1800000>; 380 regulator-max-microvolt = <1800000>; 390 regulator-name = "dvdd-1v8-csi"; 381 regulator-name = "dvdd-1v8-csi"; 391 }; 382 }; 392 383 393 ®_fldo1 { 384 ®_fldo1 { 394 regulator-min-microvolt = <1200000>; 385 regulator-min-microvolt = <1200000>; 395 regulator-max-microvolt = <1200000>; 386 regulator-max-microvolt = <1200000>; 396 regulator-name = "vcc-1v2-hsic"; 387 regulator-name = "vcc-1v2-hsic"; 397 }; 388 }; 398 389 399 ®_fldo2 { 390 ®_fldo2 { 400 regulator-always-on; 391 regulator-always-on; 401 regulator-min-microvolt = <1100000>; 392 regulator-min-microvolt = <1100000>; 402 regulator-max-microvolt = <1100000>; 393 regulator-max-microvolt = <1100000>; 403 regulator-name = "vdd-cpus"; 394 regulator-name = "vdd-cpus"; 404 }; 395 }; 405 396 406 ®_ldo_io0 { 397 ®_ldo_io0 { 407 regulator-min-microvolt = <3300000>; 398 regulator-min-microvolt = <3300000>; 408 regulator-max-microvolt = <3300000>; 399 regulator-max-microvolt = <3300000>; 409 regulator-name = "vcc-usb"; 400 regulator-name = "vcc-usb"; 410 status = "okay"; 401 status = "okay"; 411 }; 402 }; 412 403 413 ®_ldo_io1 { 404 ®_ldo_io1 { 414 regulator-min-microvolt = <3300000>; 405 regulator-min-microvolt = <3300000>; 415 regulator-max-microvolt = <3300000>; 406 regulator-max-microvolt = <3300000>; 416 regulator-enable-ramp-delay = <3500000 407 regulator-enable-ramp-delay = <3500000>; 417 regulator-name = "vcc-touchscreen"; 408 regulator-name = "vcc-touchscreen"; 418 status = "okay"; 409 status = "okay"; 419 }; 410 }; 420 411 421 ®_rtc_ldo { 412 ®_rtc_ldo { 422 regulator-name = "vcc-rtc"; 413 regulator-name = "vcc-rtc"; 423 }; 414 }; 424 415 425 &simplefb_hdmi { << 426 vcc-hdmi-supply = <®_dldo1>; << 427 }; << 428 << 429 &hdmi { << 430 hvcc-supply = <®_dldo1>; << 431 status = "okay"; << 432 }; << 433 << 434 &hdmi_out { << 435 hdmi_out_con: endpoint { << 436 remote-endpoint = <&hdmi_con_i << 437 }; << 438 }; << 439 << 440 &sound { 416 &sound { 441 status = "okay"; 417 status = "okay"; 442 simple-audio-card,aux-devs = <&codec_a 418 simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; 443 simple-audio-card,widgets = "Microphon 419 simple-audio-card,widgets = "Microphone", "Internal Microphone Left", 444 "Microphon 420 "Microphone", "Internal Microphone Right", 445 "Headphone 421 "Headphone", "Headphone Jack", 446 "Speaker", 422 "Speaker", "Internal Speaker"; 447 simple-audio-card,routing = 423 simple-audio-card,routing = 448 "Left DAC", "DACL", !! 424 "Left DAC", "AIF1 Slot 0 Left", 449 "Right DAC", "DACR", !! 425 "Right DAC", "AIF1 Slot 0 Right", 450 "Speaker Amp INL", "LI 426 "Speaker Amp INL", "LINEOUT", 451 "Speaker Amp INR", "LI 427 "Speaker Amp INR", "LINEOUT", 452 "Internal Speaker", "S 428 "Internal Speaker", "Speaker Amp OUTL", 453 "Internal Speaker", "S 429 "Internal Speaker", "Speaker Amp OUTR", 454 "Headphone Jack", "HP" 430 "Headphone Jack", "HP", 455 "ADCL", "Left ADC", !! 431 "AIF1 Slot 0 Left ADC", "Left ADC", 456 "ADCR", "Right ADC", !! 432 "AIF1 Slot 0 Right ADC", "Right ADC", 457 "Internal Microphone L 433 "Internal Microphone Left", "MBIAS", 458 "MIC1", "Internal Micr 434 "MIC1", "Internal Microphone Left", 459 "Internal Microphone R 435 "Internal Microphone Right", "HBIAS", 460 "MIC2", "Internal Micr 436 "MIC2", "Internal Microphone Right"; 461 }; 437 }; 462 438 463 &uart0 { 439 &uart0 { 464 pinctrl-names = "default"; 440 pinctrl-names = "default"; 465 pinctrl-0 = <&uart0_pb_pins>; 441 pinctrl-0 = <&uart0_pb_pins>; 466 status = "okay"; 442 status = "okay"; 467 }; 443 }; 468 444 469 &usb_otg { 445 &usb_otg { 470 dr_mode = "otg"; 446 dr_mode = "otg"; 471 status = "okay"; 447 status = "okay"; 472 }; 448 }; 473 449 474 &usb_power_supply { 450 &usb_power_supply { 475 status = "okay"; 451 status = "okay"; 476 }; 452 }; 477 453 478 &usbphy { 454 &usbphy { 479 usb0_id_det-gpios = <&pio 7 9 GPIO_ACT 455 usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ 480 usb0_vbus_power-supply = <&usb_power_s 456 usb0_vbus_power-supply = <&usb_power_supply>; 481 usb0_vbus-supply = <®_drivevbus>; 457 usb0_vbus-supply = <®_drivevbus>; 482 usb1_vbus-supply = <®_ldo_io0>; 458 usb1_vbus-supply = <®_ldo_io0>; 483 status = "okay"; 459 status = "okay"; 484 }; 460 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.