Commit 9436957f authored by Mis012's avatar Mis012

sm-a300fu: add rt5033 entries to dts

parent 1f9f0136
......@@ -30,21 +30,20 @@
spi1 = &blsp_spi3;
};
chosen {
#address-cells = <1>;
#size-cells = <1>;
ranges;
chosen {
#address-cells = <2>;
#size-cells = <2>;
stdout-path = "serial0";
[email protected] {
status= "okay";
compatible = "simple-framebuffer";
reg = <0x83200000 (540 * 960 * 3)>;
reg = <0x0 0x83200000 0x0 (540 * 960 * 3)>;
width = <540>;
height = <960>;
stride = <(960*3)>;
format = "r8b8g8";
format = "r8g8b8";
//display = <&_dri?_>;
};
......@@ -122,13 +121,13 @@
status = "okay";
};
i2c_sm5502: i2c-gpio {
i2c_sm5502: i2c_sm5502 {
status="okay";
compatible = "i2c-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&msmgpio 105 GPIO_ACTIVE_HIGH
&msmgpio 106 GPIO_ACTIVE_HIGH>;
gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
[email protected]{
compatible = "siliconmitus,sm5502-muic";
......@@ -138,6 +137,59 @@
};
};
i2c_rt5033_mfd: i2c_rt5033_mfd {
status="okay";
compatible = "i2c-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&msmgpio 22 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
&msmgpio 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
[email protected] {
compatible = "richtek,rt5033";
reg = <0x34>;
interrupt-parent = <&msmgpio>;
interrupts = <62 0>;
regulators {
safe_ldo: safe_ldo {
regulator-name = "SAFE_LDO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <4950000>;
regulator-always-on;
};
cam_sensor_a2_8V: cam_sensor_a2_8V {
regulator-name = "LDO";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
cam_sensor_core_1_8V: cam_sensor_core_1_8V {
regulator-name = "BUCK";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
};
};
};
i2c_rt5033_battery: i2c_rt5033_battery {
status="okay";
compatible = "i2c-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&msmgpio 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
&msmgpio 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
[email protected] {
compatible = "richtek,rt5033-battery";
interrupt-parent = <&msmgpio>;
interrupts = <121 1>;
reg = <0x35>;
};
};
[email protected] {
extcon = <&usb_id>;
status = "okay";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment