ARM: shmobile: only enable used I2C interfaces in DT on all Renesas boards

Currently all I2C interfaces in all *.dtsi files for various Renesas SoCs
are enabled by default. Switch them all off and only enable populated I2C
interfaces in board-specific *.dts files.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Guennadi Liakhovetski 2013-09-26 13:06:01 +02:00 committed by Simon Horman
parent 50128df2c0
commit eda3a4fa95
8 changed files with 25 additions and 0 deletions

View File

@ -62,6 +62,7 @@ lbsc {
};
&i2c5 {
status = "okay";
vdd_dvfs: max8973@1b {
compatible = "maxim,max8973";
reg = <0x1b>;

View File

@ -52,6 +52,7 @@ ethernet@8000000 {
};
&i2c5 {
status = "okay";
vdd_dvfs: max8973@1b {
compatible = "maxim,max8973";
reg = <0x1b>;

View File

@ -93,6 +93,7 @@ i2c0: i2c@e6500000 {
reg = <0 0xe6500000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 174 0x4>;
status = "disabled";
};
i2c1: i2c@e6510000 {
@ -102,6 +103,7 @@ i2c1: i2c@e6510000 {
reg = <0 0xe6510000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 175 0x4>;
status = "disabled";
};
i2c2: i2c@e6520000 {
@ -111,6 +113,7 @@ i2c2: i2c@e6520000 {
reg = <0 0xe6520000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 176 0x4>;
status = "disabled";
};
i2c3: i2c@e6530000 {
@ -120,6 +123,7 @@ i2c3: i2c@e6530000 {
reg = <0 0xe6530000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 177 0x4>;
status = "disabled";
};
i2c4: i2c@e6540000 {
@ -129,6 +133,7 @@ i2c4: i2c@e6540000 {
reg = <0 0xe6540000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 178 0x4>;
status = "disabled";
};
i2c5: i2c@e60b0000 {
@ -138,6 +143,7 @@ i2c5: i2c@e60b0000 {
reg = <0 0xe60b0000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 179 0x4>;
status = "disabled";
};
i2c6: i2c@e6550000 {
@ -147,6 +153,7 @@ i2c6: i2c@e6550000 {
reg = <0 0xe6550000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 184 0x4>;
status = "disabled";
};
i2c7: i2c@e6560000 {
@ -156,6 +163,7 @@ i2c7: i2c@e6560000 {
reg = <0 0xe6560000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 185 0x4>;
status = "disabled";
};
i2c8: i2c@e6570000 {
@ -165,6 +173,7 @@ i2c8: i2c@e6570000 {
reg = <0 0xe6570000 0 0x428>;
interrupt-parent = <&gic>;
interrupts = <0 173 0x4>;
status = "disabled";
};
mmcif0: mmcif@ee200000 {

View File

@ -52,6 +52,7 @@ led4 {
};
&i2c0 {
status = "okay";
touchscreen: st1232@55 {
compatible = "sitronix,st1232";
reg = <0x55>;

View File

@ -131,6 +131,7 @@ i2c0: i2c@fff20000 {
0 202 0x4
0 203 0x4
0 204 0x4>;
status = "disabled";
};
i2c1: i2c@e6c20000 {
@ -143,6 +144,7 @@ i2c1: i2c@e6c20000 {
0 71 0x4
0 72 0x4
0 73 0x4>;
status = "disabled";
};
pfc: pfc@e6050000 {

View File

@ -156,6 +156,7 @@ i2c0: i2c@ffc70000 {
reg = <0xffc70000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 79 0x4>;
status = "disabled";
};
i2c1: i2c@ffc71000 {
@ -165,6 +166,7 @@ i2c1: i2c@ffc71000 {
reg = <0xffc71000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 82 0x4>;
status = "disabled";
};
i2c2: i2c@ffc72000 {
@ -174,6 +176,7 @@ i2c2: i2c@ffc72000 {
reg = <0xffc72000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 80 0x4>;
status = "disabled";
};
i2c3: i2c@ffc73000 {
@ -183,6 +186,7 @@ i2c3: i2c@ffc73000 {
reg = <0xffc73000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 81 0x4>;
status = "disabled";
};
pfc: pfc@fffc0000 {

View File

@ -108,6 +108,7 @@ led4 {
};
&i2c0 {
status = "okay";
as3711@40 {
compatible = "ams,as3711";
reg = <0x40>;
@ -183,6 +184,7 @@ ldo8 {
&i2c3 {
pinctrl-0 = <&i2c3_pins>;
pinctrl-names = "default";
status = "okay";
};
&mmcif {

View File

@ -135,6 +135,7 @@ i2c0: i2c@e6820000 {
0 168 0x4
0 169 0x4
0 170 0x4>;
status = "disabled";
};
i2c1: i2c@e6822000 {
@ -147,6 +148,7 @@ i2c1: i2c@e6822000 {
0 52 0x4
0 53 0x4
0 54 0x4>;
status = "disabled";
};
i2c2: i2c@e6824000 {
@ -159,6 +161,7 @@ i2c2: i2c@e6824000 {
0 172 0x4
0 173 0x4
0 174 0x4>;
status = "disabled";
};
i2c3: i2c@e6826000 {
@ -171,6 +174,7 @@ i2c3: i2c@e6826000 {
0 184 0x4
0 185 0x4
0 186 0x4>;
status = "disabled";
};
i2c4: i2c@e6828000 {
@ -183,6 +187,7 @@ i2c4: i2c@e6828000 {
0 188 0x4
0 189 0x4
0 190 0x4>;
status = "disabled";
};
mmcif: mmcif@e6bd0000 {