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 { << 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 { 137 csi_ep: endpoint { 125 csi_ep: endpoint { 138 remote-endpoint = <&ov 126 remote-endpoint = <&ov5640_ep>; 139 bus-width = <8>; 127 bus-width = <8>; 140 hsync-active = <1>; /* 128 hsync-active = <1>; /* Active high */ 141 vsync-active = <0>; /* 129 vsync-active = <0>; /* Active low */ 142 data-active = <1>; /* 130 data-active = <1>; /* Active high */ 143 pclk-sample = <1>; /* 131 pclk-sample = <1>; /* Rising */ 144 }; 132 }; 145 }; 133 }; 146 }; 134 }; 147 135 148 &dai { 136 &dai { 149 status = "okay"; 137 status = "okay"; 150 }; 138 }; 151 139 152 &de { 140 &de { 153 status = "okay"; 141 status = "okay"; 154 }; 142 }; 155 143 156 &dphy { 144 &dphy { 157 status = "okay"; 145 status = "okay"; 158 }; 146 }; 159 147 160 &dsi { 148 &dsi { 161 vcc-dsi-supply = <®_dldo1>; 149 vcc-dsi-supply = <®_dldo1>; 162 status = "okay"; 150 status = "okay"; 163 151 164 panel@0 { 152 panel@0 { 165 compatible = "feixin,k101-im2b 153 compatible = "feixin,k101-im2ba02"; 166 reg = <0>; 154 reg = <0>; 167 avdd-supply = <®_dc1sw>; 155 avdd-supply = <®_dc1sw>; 168 dvdd-supply = <®_dc1sw>; 156 dvdd-supply = <®_dc1sw>; 169 cvdd-supply = <®_ldo_io1>; 157 cvdd-supply = <®_ldo_io1>; 170 reset-gpios = <&pio 3 24 GPIO_ 158 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ 171 backlight = <&backlight>; 159 backlight = <&backlight>; 172 }; 160 }; 173 }; 161 }; 174 162 175 &ehci0 { 163 &ehci0 { 176 status = "okay"; 164 status = "okay"; 177 }; 165 }; 178 166 179 &ehci1 { 167 &ehci1 { 180 status = "okay"; 168 status = "okay"; 181 }; 169 }; 182 170 183 &i2c0 { 171 &i2c0 { 184 status = "okay"; 172 status = "okay"; 185 173 186 touchscreen@5d { 174 touchscreen@5d { 187 compatible = "goodix,gt9271"; 175 compatible = "goodix,gt9271"; 188 reg = <0x5d>; 176 reg = <0x5d>; 189 interrupt-parent = <&pio>; 177 interrupt-parent = <&pio>; 190 interrupts = <7 4 IRQ_TYPE_LEV 178 interrupts = <7 4 IRQ_TYPE_LEVEL_HIGH>; /* PH4 */ 191 irq-gpios = <&pio 7 4 GPIO_ACT 179 irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 192 reset-gpios = <&pio 7 8 GPIO_A 180 reset-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */ 193 AVDD28-supply = <®_ldo_io1> 181 AVDD28-supply = <®_ldo_io1>; 194 }; 182 }; 195 }; 183 }; 196 184 197 &i2c0_pins { 185 &i2c0_pins { 198 bias-pull-up; 186 bias-pull-up; 199 }; 187 }; 200 188 201 &i2c1 { 189 &i2c1 { 202 status = "okay"; 190 status = "okay"; 203 191 204 /* TODO: add Bochs BMA223 acceleromete 192 /* TODO: add Bochs BMA223 accelerometer here */ 205 }; 193 }; 206 194 207 &lradc { 195 &lradc { 208 vref-supply = <®_aldo3>; 196 vref-supply = <®_aldo3>; 209 status = "okay"; 197 status = "okay"; 210 198 211 button-200 { 199 button-200 { 212 label = "Volume Up"; 200 label = "Volume Up"; 213 linux,code = <KEY_VOLUMEUP>; 201 linux,code = <KEY_VOLUMEUP>; 214 channel = <0>; 202 channel = <0>; 215 voltage = <200000>; 203 voltage = <200000>; 216 }; 204 }; 217 205 218 button-400 { 206 button-400 { 219 label = "Volume Down"; 207 label = "Volume Down"; 220 linux,code = <KEY_VOLUMEDOWN>; 208 linux,code = <KEY_VOLUMEDOWN>; 221 channel = <0>; 209 channel = <0>; 222 voltage = <400000>; 210 voltage = <400000>; 223 }; 211 }; 224 }; 212 }; 225 213 226 &mixer1 { 214 &mixer1 { 227 status = "okay"; 215 status = "okay"; 228 }; 216 }; 229 217 230 &mmc0 { 218 &mmc0 { 231 pinctrl-names = "default"; 219 pinctrl-names = "default"; 232 pinctrl-0 = <&mmc0_pins>; 220 pinctrl-0 = <&mmc0_pins>; 233 vmmc-supply = <®_dcdc1>; 221 vmmc-supply = <®_dcdc1>; 234 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 222 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 235 disable-wp; 223 disable-wp; 236 bus-width = <4>; 224 bus-width = <4>; 237 status = "okay"; 225 status = "okay"; 238 }; 226 }; 239 227 240 &mmc1 { 228 &mmc1 { 241 pinctrl-names = "default"; 229 pinctrl-names = "default"; 242 pinctrl-0 = <&mmc1_pins>; 230 pinctrl-0 = <&mmc1_pins>; 243 vmmc-supply = <®_dldo4>; 231 vmmc-supply = <®_dldo4>; 244 vqmmc-supply = <®_eldo1>; 232 vqmmc-supply = <®_eldo1>; 245 mmc-pwrseq = <&wifi_pwrseq>; 233 mmc-pwrseq = <&wifi_pwrseq>; 246 bus-width = <4>; 234 bus-width = <4>; 247 non-removable; 235 non-removable; 248 status = "okay"; 236 status = "okay"; 249 237 250 rtl8723cs: wifi@1 { 238 rtl8723cs: wifi@1 { 251 reg = <1>; 239 reg = <1>; 252 }; 240 }; 253 }; 241 }; 254 242 255 &mmc2 { 243 &mmc2 { 256 pinctrl-names = "default"; 244 pinctrl-names = "default"; 257 pinctrl-0 = <&mmc2_pins>; 245 pinctrl-0 = <&mmc2_pins>; 258 vmmc-supply = <®_dcdc1>; 246 vmmc-supply = <®_dcdc1>; 259 vqmmc-supply = <®_dcdc1>; 247 vqmmc-supply = <®_dcdc1>; 260 bus-width = <8>; 248 bus-width = <8>; 261 non-removable; 249 non-removable; 262 cap-mmc-hw-reset; 250 cap-mmc-hw-reset; 263 status = "okay"; 251 status = "okay"; 264 }; 252 }; 265 253 266 &ohci0 { 254 &ohci0 { 267 status = "okay"; 255 status = "okay"; 268 }; 256 }; 269 257 270 &pwm { 258 &pwm { 271 status = "okay"; 259 status = "okay"; 272 }; 260 }; 273 261 274 &r_rsb { 262 &r_rsb { 275 status = "okay"; 263 status = "okay"; 276 264 277 axp803: pmic@3a3 { 265 axp803: pmic@3a3 { 278 compatible = "x-powers,axp803" 266 compatible = "x-powers,axp803"; 279 reg = <0x3a3>; 267 reg = <0x3a3>; 280 interrupt-parent = <&r_intc>; 268 interrupt-parent = <&r_intc>; 281 interrupts = <GIC_SPI 32 IRQ_T !! 269 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 282 x-powers,drive-vbus-en; 270 x-powers,drive-vbus-en; 283 }; 271 }; 284 }; 272 }; 285 273 286 #include "axp803.dtsi" 274 #include "axp803.dtsi" 287 275 288 &ac_power_supply { 276 &ac_power_supply { 289 status = "okay"; 277 status = "okay"; 290 }; 278 }; 291 279 292 &battery_power_supply { 280 &battery_power_supply { 293 status = "okay"; 281 status = "okay"; 294 }; 282 }; 295 283 296 ®_aldo1 { 284 ®_aldo1 { 297 regulator-min-microvolt = <2800000>; 285 regulator-min-microvolt = <2800000>; 298 regulator-max-microvolt = <2800000>; 286 regulator-max-microvolt = <2800000>; 299 regulator-name = "dovdd-csi"; 287 regulator-name = "dovdd-csi"; 300 }; 288 }; 301 289 302 ®_aldo2 { 290 ®_aldo2 { 303 regulator-always-on; 291 regulator-always-on; 304 regulator-min-microvolt = <1800000>; 292 regulator-min-microvolt = <1800000>; 305 regulator-max-microvolt = <3300000>; 293 regulator-max-microvolt = <3300000>; 306 regulator-name = "vcc-pl"; 294 regulator-name = "vcc-pl"; 307 }; 295 }; 308 296 309 ®_aldo3 { 297 ®_aldo3 { 310 regulator-always-on; 298 regulator-always-on; 311 regulator-min-microvolt = <2700000>; 299 regulator-min-microvolt = <2700000>; 312 regulator-max-microvolt = <3300000>; 300 regulator-max-microvolt = <3300000>; 313 regulator-name = "vcc-pll-avcc"; 301 regulator-name = "vcc-pll-avcc"; 314 }; 302 }; 315 303 316 ®_dc1sw { 304 ®_dc1sw { 317 regulator-name = "vcc-lcd"; 305 regulator-name = "vcc-lcd"; 318 }; 306 }; 319 307 320 ®_dcdc1 { 308 ®_dcdc1 { 321 regulator-always-on; 309 regulator-always-on; 322 regulator-min-microvolt = <3300000>; 310 regulator-min-microvolt = <3300000>; 323 regulator-max-microvolt = <3300000>; 311 regulator-max-microvolt = <3300000>; 324 regulator-name = "vcc-3v3"; 312 regulator-name = "vcc-3v3"; 325 }; 313 }; 326 314 327 ®_dcdc2 { 315 ®_dcdc2 { 328 regulator-always-on; 316 regulator-always-on; 329 regulator-min-microvolt = <1000000>; 317 regulator-min-microvolt = <1000000>; 330 regulator-max-microvolt = <1300000>; 318 regulator-max-microvolt = <1300000>; 331 regulator-name = "vdd-cpux"; 319 regulator-name = "vdd-cpux"; 332 }; 320 }; 333 321 334 /* DCDC3 is polyphased with DCDC2 */ 322 /* DCDC3 is polyphased with DCDC2 */ 335 323 336 ®_dcdc5 { 324 ®_dcdc5 { 337 regulator-always-on; 325 regulator-always-on; 338 regulator-min-microvolt = <1200000>; 326 regulator-min-microvolt = <1200000>; 339 regulator-max-microvolt = <1200000>; 327 regulator-max-microvolt = <1200000>; 340 regulator-name = "vcc-dram"; 328 regulator-name = "vcc-dram"; 341 }; 329 }; 342 330 343 ®_dcdc6 { 331 ®_dcdc6 { 344 regulator-always-on; 332 regulator-always-on; 345 regulator-min-microvolt = <1100000>; 333 regulator-min-microvolt = <1100000>; 346 regulator-max-microvolt = <1100000>; 334 regulator-max-microvolt = <1100000>; 347 regulator-name = "vdd-sys"; 335 regulator-name = "vdd-sys"; 348 }; 336 }; 349 337 350 ®_dldo1 { 338 ®_dldo1 { 351 regulator-always-on; 339 regulator-always-on; 352 regulator-min-microvolt = <3300000>; 340 regulator-min-microvolt = <3300000>; 353 regulator-max-microvolt = <3300000>; 341 regulator-max-microvolt = <3300000>; 354 regulator-name = "vcc-hdmi-dsi-sensor" 342 regulator-name = "vcc-hdmi-dsi-sensor"; 355 }; 343 }; 356 344 357 ®_dldo3 { 345 ®_dldo3 { 358 regulator-min-microvolt = <2800000>; 346 regulator-min-microvolt = <2800000>; 359 regulator-max-microvolt = <2800000>; 347 regulator-max-microvolt = <2800000>; 360 regulator-name = "avdd-csi"; 348 regulator-name = "avdd-csi"; 361 }; 349 }; 362 350 363 ®_dldo4 { 351 ®_dldo4 { 364 regulator-min-microvolt = <3300000>; 352 regulator-min-microvolt = <3300000>; 365 regulator-max-microvolt = <3300000>; 353 regulator-max-microvolt = <3300000>; 366 regulator-name = "vcc-wifi"; 354 regulator-name = "vcc-wifi"; 367 }; 355 }; 368 356 369 ®_drivevbus { 357 ®_drivevbus { 370 regulator-name = "usb0-vbus"; 358 regulator-name = "usb0-vbus"; 371 status = "okay"; 359 status = "okay"; 372 }; 360 }; 373 361 374 ®_eldo1 { 362 ®_eldo1 { 375 regulator-always-on; 363 regulator-always-on; 376 regulator-min-microvolt = <1800000>; 364 regulator-min-microvolt = <1800000>; 377 regulator-max-microvolt = <1800000>; 365 regulator-max-microvolt = <1800000>; 378 regulator-name = "cpvdd"; 366 regulator-name = "cpvdd"; 379 }; 367 }; 380 368 381 ®_eldo2 { 369 ®_eldo2 { 382 regulator-min-microvolt = <1800000>; 370 regulator-min-microvolt = <1800000>; 383 regulator-max-microvolt = <1800000>; 371 regulator-max-microvolt = <1800000>; 384 regulator-name = "vcca-1v8"; 372 regulator-name = "vcca-1v8"; 385 }; 373 }; 386 374 387 ®_eldo3 { 375 ®_eldo3 { 388 regulator-min-microvolt = <1800000>; 376 regulator-min-microvolt = <1800000>; 389 regulator-max-microvolt = <1800000>; 377 regulator-max-microvolt = <1800000>; 390 regulator-name = "dvdd-1v8-csi"; 378 regulator-name = "dvdd-1v8-csi"; 391 }; 379 }; 392 380 393 ®_fldo1 { 381 ®_fldo1 { 394 regulator-min-microvolt = <1200000>; 382 regulator-min-microvolt = <1200000>; 395 regulator-max-microvolt = <1200000>; 383 regulator-max-microvolt = <1200000>; 396 regulator-name = "vcc-1v2-hsic"; 384 regulator-name = "vcc-1v2-hsic"; 397 }; 385 }; 398 386 399 ®_fldo2 { 387 ®_fldo2 { 400 regulator-always-on; 388 regulator-always-on; 401 regulator-min-microvolt = <1100000>; 389 regulator-min-microvolt = <1100000>; 402 regulator-max-microvolt = <1100000>; 390 regulator-max-microvolt = <1100000>; 403 regulator-name = "vdd-cpus"; 391 regulator-name = "vdd-cpus"; 404 }; 392 }; 405 393 406 ®_ldo_io0 { 394 ®_ldo_io0 { 407 regulator-min-microvolt = <3300000>; 395 regulator-min-microvolt = <3300000>; 408 regulator-max-microvolt = <3300000>; 396 regulator-max-microvolt = <3300000>; 409 regulator-name = "vcc-usb"; 397 regulator-name = "vcc-usb"; 410 status = "okay"; 398 status = "okay"; 411 }; 399 }; 412 400 413 ®_ldo_io1 { 401 ®_ldo_io1 { 414 regulator-min-microvolt = <3300000>; 402 regulator-min-microvolt = <3300000>; 415 regulator-max-microvolt = <3300000>; 403 regulator-max-microvolt = <3300000>; 416 regulator-enable-ramp-delay = <3500000 404 regulator-enable-ramp-delay = <3500000>; 417 regulator-name = "vcc-touchscreen"; 405 regulator-name = "vcc-touchscreen"; 418 status = "okay"; 406 status = "okay"; 419 }; 407 }; 420 408 421 ®_rtc_ldo { 409 ®_rtc_ldo { 422 regulator-name = "vcc-rtc"; 410 regulator-name = "vcc-rtc"; 423 }; << 424 << 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 }; 411 }; 439 412 440 &sound { 413 &sound { 441 status = "okay"; 414 status = "okay"; 442 simple-audio-card,aux-devs = <&codec_a 415 simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; 443 simple-audio-card,widgets = "Microphon 416 simple-audio-card,widgets = "Microphone", "Internal Microphone Left", 444 "Microphon 417 "Microphone", "Internal Microphone Right", 445 "Headphone 418 "Headphone", "Headphone Jack", 446 "Speaker", 419 "Speaker", "Internal Speaker"; 447 simple-audio-card,routing = 420 simple-audio-card,routing = 448 "Left DAC", "DACL", 421 "Left DAC", "DACL", 449 "Right DAC", "DACR", 422 "Right DAC", "DACR", 450 "Speaker Amp INL", "LI 423 "Speaker Amp INL", "LINEOUT", 451 "Speaker Amp INR", "LI 424 "Speaker Amp INR", "LINEOUT", 452 "Internal Speaker", "S 425 "Internal Speaker", "Speaker Amp OUTL", 453 "Internal Speaker", "S 426 "Internal Speaker", "Speaker Amp OUTR", 454 "Headphone Jack", "HP" 427 "Headphone Jack", "HP", 455 "ADCL", "Left ADC", 428 "ADCL", "Left ADC", 456 "ADCR", "Right ADC", 429 "ADCR", "Right ADC", 457 "Internal Microphone L 430 "Internal Microphone Left", "MBIAS", 458 "MIC1", "Internal Micr 431 "MIC1", "Internal Microphone Left", 459 "Internal Microphone R 432 "Internal Microphone Right", "HBIAS", 460 "MIC2", "Internal Micr 433 "MIC2", "Internal Microphone Right"; 461 }; 434 }; 462 435 463 &uart0 { 436 &uart0 { 464 pinctrl-names = "default"; 437 pinctrl-names = "default"; 465 pinctrl-0 = <&uart0_pb_pins>; 438 pinctrl-0 = <&uart0_pb_pins>; 466 status = "okay"; 439 status = "okay"; 467 }; 440 }; 468 441 469 &usb_otg { 442 &usb_otg { 470 dr_mode = "otg"; 443 dr_mode = "otg"; 471 status = "okay"; 444 status = "okay"; 472 }; 445 }; 473 446 474 &usb_power_supply { 447 &usb_power_supply { 475 status = "okay"; 448 status = "okay"; 476 }; 449 }; 477 450 478 &usbphy { 451 &usbphy { 479 usb0_id_det-gpios = <&pio 7 9 GPIO_ACT 452 usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ 480 usb0_vbus_power-supply = <&usb_power_s 453 usb0_vbus_power-supply = <&usb_power_supply>; 481 usb0_vbus-supply = <®_drivevbus>; 454 usb0_vbus-supply = <®_drivevbus>; 482 usb1_vbus-supply = <®_ldo_io0>; 455 usb1_vbus-supply = <®_ldo_io0>; 483 status = "okay"; 456 status = "okay"; 484 }; 457 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.