+/dts-v1/;
+
+#include "rk3128.dtsi"
#include "rk312x-sdk.dtsi"
#include "lcd-box.dtsi"
#include <dt-bindings/input/input.h>
status = "okay";
};
- wireless-bluetooth {
+ wireless-bluetooth {
compatible = "bluetooth-platdata";
//wifi-bt-power-toggle;
BT,wake_gpio = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio0 GPIO_C6 GPIO_ACTIVE_LOW>;
- status = "okay";
- };
+ status = "disabled";
+ };
+
+ power-led {
+ compatible = "gpio-leds";
+ power {
+ gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
+ default-state = "on";
+ };
+ work {
+ gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
rockchip-spdif-card {
compatible = "rockchip-spdif-card";
dais {
dai0 {
audio-codec = <&codec_hdmi_spdif>;
- i2s-controller = <&spdif>;
+ audio-controller = <&spdif>;
};
};
};
+
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
/*0 - Normal, 1 - Force Host, 2 - Force Device*/
rockchip,usb-mode = <1>;
};
- rockchip_suspend {
+
+ rockchip_suspend: rockchip_suspend {
rockchip,ctrbits = <
(0
|RKPM_CTR_PWR_DMNS
|RKPM_CTR_GTCLKS
|RKPM_CTR_PLLS
+ //|RKPM_CTR_ARMOFF_LPMD
+ |RKPM_CTR_DDR
|RKPM_CTR_IDLESRAM_MD
|RKPM_CTR_DDR
- |RKPM_CTR_VOLTS
- |RKPM_CTR_VOL_PWM1
- |RKPM_CTR_VOL_PWM2
+ //|RKPM_CTR_BUS_IDLE
+ //|RKPM_CTR_VOLTS
+ //|RKPM_CTR_VOL_PWM1
+ //|RKPM_CTR_VOL_PWM2
)
>;
+ rockchip,pmic-suspend_gpios = <
+ 0
+ >;
};
};
&fb {
rockchip,disp-mode = <NO_DUAL>;
+ rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
rockchip,uboot-logo-on = <1>;
};