ARM64: dts: rk3399-evb: add gsl3673 node for rk3399-evb
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-evb.dtsi
index 0b67e7a0d75f56d3ad6e54bb05342ee9129ea48d..6c3cae823d34d98f1d5006bf8eea82b1393ef0ae 100644 (file)
                BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
                status = "okay";
        };
+
+       test-power {
+               status = "okay";
+       };
 };
 
 &cpu_l0 {
                tp-size = <911>;
                tp-supply = <&vcc3v0_tp>;
        };
+
+       gsl3673: gsl3673@40 {
+               compatible = "GSL,GSL3673";
+               reg = <0x40>;
+               screen_max_x = <1536>;
+               screen_max_y = <2048>;
+               irq_gpio_number = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
+               rst_gpio_number = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &pcie0 {
        status = "okay";
 };
 
+&tcphy0 {
+       extcon = <&fusb0>;
+       status = "okay";
+};
+
+&tcphy1 {
+       extcon = <&fusb1>;
+       status = "okay";
+};
+
 &tsadc {
        rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
        rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
 
 &u2phy0 {
        status = "okay";
+       extcon = <&fusb0>;
 
        u2phy0_otg: otg-port {
                status = "okay";
 
 &u2phy1 {
        status = "okay";
+       extcon = <&fusb1>;
 
        u2phy1_otg: otg-port {
                status = "okay";
 };
 
 &usbdrd3_0 {
+       extcon = <&fusb0>;
        status = "okay";
 };
 
 };
 
 &usbdrd3_1 {
+       extcon = <&fusb1>;
        status = "okay";
 };