4 #include <dt-bindings/input/input.h>
8 bootargs = "vmalloc=496M psci=enable";
16 compatible = "wlan-platdata";
17 /* wifi_chip_type - wifi chip define
18 * bcmwifi ==> like ap6xxx, rk90x;
19 * rtkwifi ==> like rtl8188xx, rtl8723xx,rtl8812auv;
20 * esp8089 ==> esp8089;
21 * other ==> for other wifi;
23 wifi_chip_type = "bcmwifi";
24 sdio_vref = <1800>; //1800mv or 3300mv
27 power_pmu_regulator = "act_ldo3";
28 power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
30 //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
31 vref_pmu_regulator = "act_ldo3";
32 vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
33 WIFI,poweren_gpio = <&gpio2 GPIO_D2 GPIO_ACTIVE_HIGH>;
34 WIFI,host_wake_irq = <&gpio0 GPIO_D4 GPIO_ACTIVE_HIGH>;
35 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
40 compatible = "bluetooth-platdata";
41 //wifi-bt-power-toggle;
42 //uart_rts_gpios = <&gpio2 GPIO_D5 GPIO_ACTIVE_LOW>;
43 //pinctrl-names = "default","rts_gpio";
44 //pinctrl-0 = <&uart1_rts>;
45 //pinctrl-1 = <&uart1_rts_gpio>;
46 //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
47 BT,reset_gpio = <&gpio2 GPIO_D5 GPIO_ACTIVE_HIGH>;
48 BT,wake_gpio = <&gpio3 GPIO_D3 GPIO_ACTIVE_HIGH>;
49 BT,wake_host_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
54 compatible = "rockchip_pwm_regulator";
55 pwms = <&pwm1 0 2000>;
57 rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
58 rockchip,pwm_voltage= <1100000>;
59 rockchip,pwm_min_voltage= <950000>;
60 rockchip,pwm_max_voltage= <1450000>;
61 rockchip,pwm_suspend_voltage= <950000>;
62 rockchip,pwm_coefficient= <475>;
67 pwm_reg0: regulator@0 {
68 regulator-compatible = "pwm_dcdc1";
69 regulator-name= "vdd_arm";
70 regulator-min-microvolt = <950000>;
71 regulator-max-microvolt = <1450000>;
79 compatible = "rockchip_pwm_regulator";
80 pwms = <&pwm2 0 25000>;
82 rockchip,pwm_voltage_map= <1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000>;
83 rockchip,pwm_voltage= <1200000>;
84 rockchip,pwm_min_voltage= <1000000>;
85 rockchip,pwm_max_voltage= <1300000>;
86 rockchip,pwm_suspend_voltage= <1250000>;
87 rockchip,pwm_coefficient= <475>;
92 pwm_reg1: regulator@1 {
93 regulator-compatible = "pwm_dcdc2";
94 regulator-name= "vdd_logic";
95 regulator-min-microvolt = <1000000>;
96 regulator-max-microvolt = <1300000>;
105 status = "okay"; //used nand set "okay" ,used emmc set "disabled"
109 clock-frequency = <50000000>;
110 clock-freq-min-max = <400000 50000000>;
116 keep-power-in-suspend;
121 clock-frequency = <37500000>;
122 clock-freq-min-max = <400000 37500000>;
126 card-detect-delay = <200>;
128 keep-power-in-suspend;
133 clock-frequency = <37500000>;
134 clock-freq-min-max = <200000 37500000>;
138 keep-power-in-suspend;
145 dma-names = "!tx", "!rx";
146 //pinctrl-0 = <&uart1_xfer &uart1_cts>;
152 compatible = "rtc,hym8563";
154 irq_gpio = <&gpio0 GPIO_A4 IRQ_TYPE_EDGE_FALLING>;
179 * Due to not have the software of PWM for remotectrl.
180 * We can _*HACK*_ do that as the following.
183 compatible = "rockchip,remotectl-pwm";
189 rockchip,usercode = <0x4040>;
199 <0xe3 KEY_VOLUMEDOWN>,
215 rockchip,usercode = <0xff00>;
225 <0xeb KEY_VOLUMEDOWN>,
230 <0xa9 KEY_VOLUMEDOWN>,
231 <0xa8 KEY_VOLUMEDOWN>,
232 <0xe0 KEY_VOLUMEDOWN>,
233 <0xa5 KEY_VOLUMEDOWN>,
238 <0xed KEY_VOLUMEDOWN>,
240 <0xb3 KEY_VOLUMEDOWN>,
241 <0xf1 KEY_VOLUMEDOWN>,
242 <0xf2 KEY_VOLUMEDOWN>,
244 <0xb4 KEY_VOLUMEDOWN>,
248 rockchip,usercode = <0x1dcc>;
258 <0xfd KEY_VOLUMEDOWN>,
276 <0xb5 KEY_BACKSPACE>;
281 clock-frequency = <125000000>;
285 /* pmu_regulator = "act_ldo5"; */
286 /* power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>; */
287 /* reset-gpio = <&gpio3 GPIO_B4 GPIO_ACTIVE_LOW>; */
288 /* phyirq-gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>; */
290 pinctrl-names = "default";
291 pinctrl-0 = <&rmii_pins>;
292 clock_in_out = "input";