summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2017-11-03 11:48:14 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-11-07 07:47:41 +0100
commitf34d13722141b4bbe68ff46d65ef93e360c2acbe (patch)
tree3cc57d9fa718f2fe265a43b9aa1d75d019dbf562
parent9a699780a0ae3abeef93ac615d818f0f4b095619 (diff)
downloadbarebox-f34d13722141b4bbe68ff46d65ef93e360c2acbe.tar.gz
barebox-f34d13722141b4bbe68ff46d65ef93e360c2acbe.tar.xz
ARM: dts: AM335x: Add dummy i2c nodes
These i2c nodes are needed for autoenable of i2c clients, because the autoenable API searches for device tree nodes to get the client address. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/am335x-phytec-phycore-som.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
index dbc64246e5..cf2eef3014 100644
--- a/arch/arm/dts/am335x-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
@@ -164,6 +164,20 @@
pagesize = <32>;
reg = <0x52>;
};
+
+ /* The following i2c nodes are for the autoenable */
+ i2c_tmp102: temp@4b {
+ compatible = "ti,tmp102";
+ reg = <0x4b>;
+ status = "disabled";
+ };
+
+ i2c_rtc: rtc@68 {
+ compatible = "rv4162";
+ reg = <0x68>;
+ status = "disabled";
+ };
+
};
&mmc1 {