ARM: dts: msm: Change address-cells to 1 for pm2250

SPMI addressing in msm-5.4 uses one cell (base) and size is set default
to 0x100. So change accordingly for pm2250.

Change-Id: If3c6fe392434d77d3ff16a88a7b1aae6fd45b226
This commit is contained in:
Shyam Kumar Thella 2020-12-23 11:26:42 +05:30
commit 8d76c55ae7

View file

@ -13,17 +13,17 @@
qcom,pm2250@0 {
compatible = "qcom,spmi-pmic";
reg = <0 SPMI_USID>;
#address-cells = <2>;
#address-cells = <1>;
#size-cells = <0>;
pm2250_revid: qcom,revid@100 {
compatible = "qcom,qpnp-revid";
reg = <0x100 0x100>;
reg = <0x100>;
};
qcom,power-on@800 {
compatible = "qcom,qpnp-power-on";
reg = <0x800 0x100>;
reg = <0x800>;
interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "kpdpwr", "resin";
@ -47,7 +47,7 @@
pm2250_tz: qcom,temp-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
reg = <0x2400 0x100>;
reg = <0x2400>;
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
io-channels = <&pm2250_vadc ADC5_DIE_TEMP>;
io-channel-names = "thermal";
@ -57,7 +57,7 @@
pm2250_vadc: vadc@3100 {
compatible = "qcom,spmi-adc5-lite";
reg = <0x3100 0x100>;
reg = <0x3100>;
reg-names = "adc5-usr-base";
#address-cells = <1>;
#size-cells = <0>;
@ -158,7 +158,7 @@
pm2250_gpios: pinctrl@c000 {
compatible = "qcom,spmi-gpio";
reg = <0xc000 0xa00>;
reg = <0xc000>;
interrupts = <0x0 0xc0 0 IRQ_TYPE_NONE>,
<0x0 0xc1 0 IRQ_TYPE_NONE>,
<0x0 0xc2 0 IRQ_TYPE_NONE>,
@ -204,7 +204,7 @@
qcom,qgauge@4800 {
status = "okay";
reg = <0x4800 0x100>;
reg = <0x4800>;
interrupts =
<0x0 0x48 0x2 IRQ_TYPE_EDGE_RISING>,
<0x0 0x48 0x3 IRQ_TYPE_EDGE_RISING>,
@ -216,7 +216,7 @@
qcom,qg-sdam@b600 {
status = "okay";
reg = <0xb600 0x100>;
reg = <0xb600>;
};
};
@ -228,7 +228,7 @@
qcom,pmic-revid = <&pm2250_revid>;
qcom,chgr@1000 {
reg = <0x1000 0x100>;
reg = <0x1000>;
interrupts =
<0x0 0x10 0x1 IRQ_TYPE_EDGE_RISING>,
<0x0 0x10 0x0 IRQ_TYPE_EDGE_RISING>,
@ -242,7 +242,7 @@
};
qcom,dcdc@1100 {
reg = <0x1100 0x100>;
reg = <0x1100>;
interrupts =
<0x0 0x11 0x0 IRQ_TYPE_EDGE_RISING>,
<0x0 0x11 0x1 IRQ_TYPE_EDGE_RISING>,
@ -258,7 +258,7 @@
};
qcom,batif@1200 {
reg = <0x1200 0x100>;
reg = <0x1200>;
interrupts =
<0x0 0x12 0x0 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x12 0x1 IRQ_TYPE_EDGE_BOTH>,
@ -274,7 +274,7 @@
};
qcom,usb@1300 {
reg = <0x1300 0x100>;
reg = <0x1300>;
interrupts =
<0x0 0x13 0x0 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x13 0x1 IRQ_TYPE_EDGE_BOTH>,
@ -292,7 +292,7 @@
};
qcom,typec@1500 {
reg = <0x1500 0x100>;
reg = <0x1500>;
interrupts =
<0x0 0x15 0x0 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x15 0x1 IRQ_TYPE_EDGE_BOTH>,
@ -312,7 +312,7 @@
};
qcom,misc@1600 {
reg = <0x1600 0x100>;
reg = <0x1600>;
interrupts =
<0x0 0x16 0x0 IRQ_TYPE_EDGE_RISING>,
<0x0 0x16 0x1 IRQ_TYPE_EDGE_RISING>,
@ -332,7 +332,7 @@
};
qcom,schgm-flashlite@a600 {
reg = <0xa600 0x100>;
reg = <0xa600>;
interrupts =
<0x0 0xa6 0x2 IRQ_TYPE_EDGE_RISING>,
<0x0 0xa6 0x5 IRQ_TYPE_EDGE_RISING>,
@ -350,19 +350,19 @@
pm2250_1: qcom,pm2250@1 {
compatible = "qcom,spmi-pmic";
reg = <1 SPMI_USID>;
#address-cells = <2>;
#address-cells = <1>;
#size-cells = <0>;
pm2250_vib: qcom,vibrator@5600 {
compatible = "qcom,qpnp-vibrator-ldo";
reg = <0x5600 0x100>;
reg = <0x5600>;
qcom,vib-ldo-volt-uv = <3000000>;
qcom,disable-overdrive;
};
pm2250_pwm1: qcom,pwms@bc00 {
compatible = "qcom,pwm-lpg";
reg = <0xbc00 0x100>;
reg = <0xbc00>;
reg-names = "lpg-base";
qcom,num-lpg-channels = <1>;
#pwm-cells = <2>;
@ -370,7 +370,7 @@
pm2250_pwm2: qcom,pwms@bd00 {
compatible = "qcom,pwm-lpg";
reg = <0xbd00 0x100>;
reg = <0xbd00>;
reg-names = "lpg-base";
qcom,num-lpg-channels = <1>;
#pwm-cells = <2>;
@ -378,7 +378,7 @@
pm2250_pwm3: qcom,pwms@be00 {
compatible = "qcom,pwm-lpg";
reg = <0xbe00 0x100>;
reg = <0xbe00>;
reg-names = "lpg-base";
qcom,num-lpg-channels = <1>;
#pwm-cells = <2>;