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