| .. | .. |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | /dts-v1/; |
|---|
| 7 | +#include "px30.dtsi" |
|---|
| 8 | +#include "px30-android.dtsi" |
|---|
| 7 | 9 | #include "px30-evb-ddr3-v10.dtsi" |
|---|
| 8 | 10 | |
|---|
| 9 | 11 | / { |
|---|
| 10 | 12 | model = "Rockchip PX30 evb ddr3 board"; |
|---|
| 11 | 13 | compatible = "rockchip,px30-evb-ddr3-v10-avb", "rockchip,px30"; |
|---|
| 12 | | - |
|---|
| 13 | | - rk_headset: rk-headset { |
|---|
| 14 | | - compatible = "rockchip_headset"; |
|---|
| 15 | | - headset_gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>; |
|---|
| 16 | | - pinctrl-names = "default"; |
|---|
| 17 | | - pinctrl-0 = <&hp_det>; |
|---|
| 18 | | - io-channels = <&saradc 1>; |
|---|
| 19 | | - }; |
|---|
| 20 | | - |
|---|
| 21 | | - wireless-bluetooth { |
|---|
| 22 | | - compatible = "bluetooth-platdata"; |
|---|
| 23 | | - clocks = <&rk809 1>; |
|---|
| 24 | | - clock-names = "ext_clock"; |
|---|
| 25 | | - uart_rts_gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>; |
|---|
| 26 | | - pinctrl-names = "default","rts_gpio"; |
|---|
| 27 | | - pinctrl-0 = <&uart1_rts>; |
|---|
| 28 | | - pinctrl-1 = <&uart1_rts_gpio>; |
|---|
| 29 | | - BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 30 | | - BT,wake_gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; |
|---|
| 31 | | - BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; |
|---|
| 32 | | - status = "okay"; |
|---|
| 33 | | - }; |
|---|
| 34 | | -}; |
|---|
| 35 | | - |
|---|
| 36 | | -&chosen { |
|---|
| 37 | | - bootargs_ext = "androidboot.boot_devices=ff390000.dwmmc,ff3b0000.nandc"; |
|---|
| 38 | 14 | }; |
|---|
| 39 | 15 | |
|---|
| 40 | 16 | &dsi { |
|---|
| .. | .. |
|---|
| 292 | 268 | de-active = <0>; |
|---|
| 293 | 269 | pixelclk-active = <0>; |
|---|
| 294 | 270 | }; |
|---|
| 295 | | - }; |
|---|
| 296 | | - }; |
|---|
| 297 | | -}; |
|---|
| 298 | | - |
|---|
| 299 | | -&gmac { |
|---|
| 300 | | - phy-supply = <&vcc_phy>; |
|---|
| 301 | | - clock_in_out = "input"; |
|---|
| 302 | | - assigned-clocks = <&cru SCLK_GMAC>; |
|---|
| 303 | | - assigned-clock-parents = <&gmac_clkin>; |
|---|
| 304 | | - pinctrl-names = "default"; |
|---|
| 305 | | - pinctrl-0 = <&rmii_pins &mac_refclk>; |
|---|
| 306 | | - snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>; |
|---|
| 307 | | - snps,reset-active-low; |
|---|
| 308 | | - snps,reset-delays-us = <0 50000 50000>; |
|---|
| 309 | | - status = "okay"; |
|---|
| 310 | | -}; |
|---|
| 311 | | - |
|---|
| 312 | | -&pinctrl { |
|---|
| 313 | | - headphone { |
|---|
| 314 | | - hp_det: hp-det { |
|---|
| 315 | | - rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 316 | 271 | }; |
|---|
| 317 | 272 | }; |
|---|
| 318 | 273 | }; |
|---|