This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65217: tps65217.dtsi : slave address

Part Number: TPS65217

Hi,

I see the regulator address in tps65217.dts, and I have questions as below,

1. Why the address-cell and size-cell are <1> and <0> ?

2. Why the regulator address of dcdc1_reg is 0 ? 

Thanks.

#address-cells = <1>;
#size-cells = <0>;

dcdc1_reg: regulator@0 {
reg = <0>;
regulator-compatible = "dcdc1";
};

dcdc2_reg: regulator@1 {
reg = <1>;
regulator-compatible = "dcdc2";
};

dcdc3_reg: regulator@2 {
reg = <2>;
regulator-compatible = "dcdc3";
};

ldo1_reg: regulator@3 {
reg = <3>;
regulator-compatible = "ldo1";
};