};
};
- wireless-wlan {
- compatible = "wlan-platdata";
+ wireless-wlan {
+ compatible = "wlan-platdata";
+ /* wifi_chip_type - wifi chip define
+ * bcmwifi ==> like ap6xxx, rk90x, ...;
+ * rtkwifi ==> like rtl8188xx, rtl8723xx, ...;
+ * esp8089 ==> esp8089;
+ * other ==> for other wifi;
+ */
+ wifi_chip_type = "esp8089";
+ sdio_vref = <1800>; //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
+
+ //vref_ctrl_enable;
+ //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
+ //vref_pmu_regulator = "act_ldo3";
+ //vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
+
+ //WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
+ //WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
+ //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
- wifi_chip_type = "";
- sdio_vref = <1800>; //1800mv or 3300mv
-
- //power_ctrl_by_pmu;
- //power_pmu_regulator = "act_ldo3";
- //power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
-
- //vref_ctrl_enable;
- //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
- //vref_pmu_regulator = "act_ldo3";
- //vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
-
- //WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
- //WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
- //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
-
- status = "okay";
+ status = "okay";
};
- wireless-bluetooth {
- compatible = "bluetooth-platdata";
+/* wireless-bluetooth {
+ compatible = "bluetooth-platdata";
+ //wifi-bt-power-toggle;
- //wifi-bt-power-toggle;
+ uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default","rts_gpio";
+ pinctrl-0 = <&uart0_rts>;
+ pinctrl-1 = <&uart0_rts_gpio>;
- //uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
- //pinctrl-names = "default","rts_gpio";
- //pinctrl-0 = <&uart0_rts>;
- //pinctrl-1 = <&uart0_rts_gpio>;
+ //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
+ BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
+ BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
+ BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
- //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
- //BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
- //BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
- //BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
+ status = "okay";
- status = "okay";
+ };*/
- };
-};
&nandc {
status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
};
&uart0 {
- status = "okay";
- dma-names = "!tx", "!rx";
- //pinctrl-0 = <&uart0_xfer &uart0_cts>;
+ status = "okay";
+ dma-names = "!tx", "!rx";
+ //pinctrl-0 = <&uart0_xfer &uart0_cts>;
};
&rk_screen {
wireless-wlan {
compatible = "wlan-platdata";
+ /* wifi_chip_type - wifi chip define
+ * bcmwifi ==> like ap6xxx, rk90x;
+ * rtkwifi ==> like rtl8188xx, rtl8723xx,rtl8812auv;
+ * esp8089 ==> esp8089;
+ * other ==> for other wifi;
+ */
wifi_chip_type = "esp8089";
sdio_vref = <0>; //1800mv or 3300mv
//power_ctrl_by_pmu;
+ //keep_wifi_power_on;
//power_pmu_regulator = "act_ldo3";
//power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
status = "okay";
};
+ /* wireless-bluetooth {
+ compatible = "bluetooth-platdata";
+ //wifi-bt-power-toggle;
+
+ uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default","rts_gpio";
+ pinctrl-0 = <&uart0_rts>;
+ pinctrl-1 = <&uart0_rts_gpio>;
+
+ //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
+ BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
+ BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
+ BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
+
+ status = "okay";
+
+ };*/
+
usb_control {
compatible = "rockchip,rk3036-usb-control";
host_drv_gpio = <&gpio2 GPIO_C7 GPIO_ACTIVE_LOW>;
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
+ //keep_wifi_power_on;
//power_ctrl_by_pmu;
//power_pmu_regulator = "act_ldo3";
//power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
&uart1{
status = "okay";
dma-names = "!tx", "!rx";
- pinctrl-0 = <&uart1_xfer &uart1_cts>;
+ pinctrl-0 = <&uart1_xfer &uart1_cts>;
};
&pwm2 {