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>;
&uart_bt {
status = "okay";
- dma-names = "tx", "rx";
+ dma-names = "!tx", "!rx";
pinctrl-0 = <&uart0_xfer &uart0_cts>;
};
reg = <0x1b>;
status = "okay";
};
-
+ rk818: rk818@1c {
+ reg = <0x1c>;
+ status = "okay";
+ };
+ syb827b: syb827b@40 {
+ compatible = "silergy,syb827";
+ reg = <0x40>;
+ status = "okay";
+ regulators {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ syb827b_dc1: regulator@0 {
+ reg = <0>;
+ regulator-compatible = "syb827_dcdc1";
+ regulator-name = "vdd_arm";
+ regulator-min-microvolt = <712500>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+ };
+ };
+ syb827c: syb827c@41 {
+ compatible = "silergy,syb827";
+ reg = <0x41>;
+ status = "okay";
+ regulators {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ syb827c_dc1: regulator@0 {
+ reg = <0>;
+ regulator-compatible = "syb827_dcdc1";
+ regulator-name = "vdd_gpu";
+ regulator-min-microvolt = <712500>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+ };
+ };
+
+ ricoh619: ricoh619@32 {
+ reg = <0x32>;
+ status = "okay";
+ };
bq24296: bq24296@6b {
compatible = "ti,bq24296";
reg = <0x6b>;
bq24296,chg_current = <1000 2000 3000>;
status = "okay";
};
+
bq27320: bq27320@55 {
compatible = "ti,bq27320";
reg = <0x55>;
label = "volume down";
rockchip,adc_value = <170>;
};
-
+
power-key {
gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
linux,code = <116>;
};
menu-key {
- linux,code = <139>;
+ linux,code = <59>;
label = "menu";
rockchip,adc_value = <355>;
};
&clk_core_dvfs_table {
operating-points = <
/* KHz uV */
+ 126000 850000
+ 216000 850000
312000 850000
- 504000 850000
+ 408000 850000
+ 600000 850000
+ 696000 900000
816000 950000
1008000 1000000
1200000 1050000
1416000 1150000
>;
+ status="okay";
};
&clk_gpu_dvfs_table {
200000 850000
300000 900000
400000 1000000
+ 500000 1100000
600000 1250000
>;
+ status="okay";
};
&clk_ddr_dvfs_table {
operating-points = <
/* KHz uV */
- 200000 1200000
- 300000 1200000
- 400000 1200000
+ 200000 950000
+ 300000 950000
+ 400000 1000000
+ 533000 1050000
>;
freq_table = <
SYS_STATUS_VIDEO 300000
SYS_STATUS_DUALVIEW 500000
>;
+ status="okay";
};
/include/ "rk808.dtsi"
};
};
+/include/ "ricoh619.dtsi"
+&ricoh619 {
+ gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
+ ricoh619,system-power-controller;
+
+ regulators {
+ ricoh619_dcdc1_reg: regulator@0 {
+ regulator-name = "vdd_logic";
+ regulator-min-microvolt = < 700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+ ricoh619_dcdc2_reg: regulator@1 {
+ regulator-name = "ricoh619_dcdc2";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
+ };
+ ricoh619_dcdc3_reg: regulator@2 {
+ regulator-name = "ricoh619_dcdc3";
+ regulator-min-microvolt = < 1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
+ };
+ ricoh619_dcdc4_reg: regulator@3 {
+ regulator-name = "ricoh619_dcdc4";
+ regulator-min-microvolt = < 3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
+ };
+ ricoh619_dcdc5_reg: regulator@4 {
+ regulator-name = "ricoh619_dcdc5";
+ regulator-min-microvolt = < 2000000>;
+ regulator-max-microvolt = <2000000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <2000000>;
+ };
+ };
+ ricoh619_ldo1_reg: regulator@5 {
+ regulator-name = "ricoh619_ldo1";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo2_reg: regulator@6 {
+ regulator-name = "ricoh619_ldo2";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo3_reg: regulator@7 {
+ regulator-name = "ricoh619_ldo3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo4_reg: regulator@8 {
+ regulator-name = "vcc_sd";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo5_reg: regulator@9 {
+ regulator-name = "ricoh619_ldo5";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo6_reg: regulator@10 {
+ regulator-name = "ricoh619_ldo6";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1800000>;
+ };
+ };
+ ricoh619_ldo7_reg: regulator@11 {
+ regulator-name = "ricoh619_ldo7";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo8_reg: regulator@12 {
+ regulator-name = "ricoh619_ldo8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo9_reg: regulator@13 {
+ regulator-name = "ricoh619_ldo9";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldo10_reg: regulator@14 {
+ regulator-name = "ricoh619_ldo10";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ ricoh619_ldortc1_reg: regulator@15 {
+ regulator-name = "ricoh619_ldortc1";
+ regulator-min-microvolt = < 3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+ ricoh619_ldortc2_reg: regulator@16 {
+ regulator-name = "ricoh619_ldortc2";
+ regulator-min-microvolt = < 3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+ };
+};
+/include/ "rk818.dtsi"
+&rk818 {
+ gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
+ rk818,system-power-controller;
+
+ regulators {
+
+ rk818_dcdc1_reg: regulator@0{
+ regulator-name= "vdd_logic";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+
+ rk818_dcdc2_reg: regulator@1 {
+ regulator-name= "rk818_dcdc2";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
+ };
+
+ rk818_dcdc3_reg: regulator@2 {
+ regulator-name= "rk818_dcdc3";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
+ };
+
+ rk818_dcdc4_reg: regulator@3 {
+ regulator-name= "vccio";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
+ };
+
+ rk818_ldo1_reg: regulator@4 {
+ regulator-name= "rk818_ldo1";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+
+ rk818_ldo2_reg: regulator@5 {
+ regulator-name= "rk818_ldo2";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+
+ rk818_ldo3_reg: regulator@6 {
+ regulator-name= "rk818_ldo3";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1000000>;
+ };
+ };
+
+ rk818_ldo4_reg:regulator@7 {
+ regulator-name= "rk818_ldo4";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1800000>;
+ };
+ };
+
+ rk818_ldo5_reg: regulator@8 {
+ regulator-name= "rk818_ldo5";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+
+ rk818_ldo6_reg: regulator@9 {
+ regulator-name= "rk818_ldo6";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1000000>;
+ };
+ };
+
+ rk818_ldo7_reg: regulator@10 {
+ regulator-name= "rk818_ldo7";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1800000>;
+ };
+ };
+
+ rk818_ldo8_reg: regulator@11 {
+ regulator-name= "rk818_ldo8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1800000>;
+ };
+ };
+ rk818_ldo9_reg: regulator@12 {
+ regulator-name= "vcc_sd";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+ rk818_ldo10_reg: regulator@13 {
+ regulator-name= "rk818_ldo10";
+ regulator-state-mem {
+ regulator-state-disabled;
+ };
+ };
+ };
+};
+
&lcdc_vdd_domain {
regulator-name = "vcc30_lcd";
};