projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
boot
/
dts
/
rk3128-box.dts
diff --git
a/arch/arm/boot/dts/rk3128-box.dts
b/arch/arm/boot/dts/rk3128-box.dts
index 14ab4cfbfbab7a5f6a57240bf93d89db5f709418..bcc676e9a6e809f852344c934e8c581a8003b6a1 100755
(executable)
--- a/
arch/arm/boot/dts/rk3128-box.dts
+++ b/
arch/arm/boot/dts/rk3128-box.dts
@@
-1,15
+1,29
@@
+/dts-v1/;
+
+#include "rk3128.dtsi"
#include "rk312x-sdk.dtsi"
#include "lcd-box.dtsi"
#include <dt-bindings/input/input.h>
/ {
compatible = "rockchip,rk3128";
#include "rk312x-sdk.dtsi"
#include "lcd-box.dtsi"
#include <dt-bindings/input/input.h>
/ {
compatible = "rockchip,rk3128";
+ gpio_poweroff {
+ compatible = "gpio-poweroff";
+ gpios = <&gpio1 GPIO_A2 GPIO_ACTIVE_LOW>;
+ };
wireless-wlan {
compatible = "wlan-platdata";
wireless-wlan {
compatible = "wlan-platdata";
+ /* wifi_chip_type - wifi chip define
+ * bcmwifi ==> like ap6xxx, rk90, ...x;
+ * rtkwifi ==> like rtl8188xx, rtl8723xx, ...;
+ * esp8089 ==> esp8089;
+ * other ==> for other wifi;
+ */
wifi_chip_type = "esp8089";
sdio_vref = <0>; //1800mv or 3300mv
wifi_chip_type = "esp8089";
sdio_vref = <0>; //1800mv or 3300mv
+ //keep_wifi_power_on;
//power_ctrl_by_pmu;
//power_pmu_regulator = "act_ldo3";
//power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
//power_ctrl_by_pmu;
//power_pmu_regulator = "act_ldo3";
//power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
@@
-49,11
+63,21
@@
dais {
dai0 {
audio-codec = <&codec_hdmi_spdif>;
dais {
dai0 {
audio-codec = <&codec_hdmi_spdif>;
-
i2s
-controller = <&spdif>;
+
audio
-controller = <&spdif>;
};
};
};
};
};
};
-
+ 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";
+ };
+ };
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
@@
-66,19
+90,26
@@
/*0 - Normal, 1 - Force Host, 2 - Force Device*/
// rockchip,usb-mode = <1>;
};
/*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
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_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
+ >;
};
};
};
};
@@
-185,7
+216,7
@@
&uart1{
status = "okay";
dma-names = "!tx", "!rx";
&uart1{
status = "okay";
dma-names = "!tx", "!rx";
- pinctrl-0 = <&uart1_xfer &uart1_cts>;
+
pinctrl-0 = <&uart1_xfer &uart1_cts>;
};
&pwm2 {
};
&pwm2 {
@@
-202,6
+233,7
@@
&fb {
rockchip,disp-mode = <NO_DUAL>;
&fb {
rockchip,disp-mode = <NO_DUAL>;
+ rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
rockchip,uboot-logo-on = <1>;
};
rockchip,uboot-logo-on = <1>;
};