[PATCH 06/10] arm: dts: sun5i: enable one-wire on the CHIP

Kory Maincent kory.maincent at bootlin.com
Thu Feb 18 14:29:34 CET 2021


Add the EEPROM description in the devicetree for the CHIP board.

Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>
---
 arch/arm/dts/sun5i-r8-chip.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/sun5i-r8-chip.dts b/arch/arm/dts/sun5i-r8-chip.dts
index 879a4b0f3b..d915eb3eb7 100644
--- a/arch/arm/dts/sun5i-r8-chip.dts
+++ b/arch/arm/dts/sun5i-r8-chip.dts
@@ -89,6 +89,12 @@
 		gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
 		pinctrl-names = "default";
 		pinctrl-0 = <&chip_w1_pin>;
+
+		w1_eeprom: w1_eeprom at 0 {
+			compatible = "maxim,ds2431";
+			status = "okay";
+		};
+
 	};
 };
 
-- 
2.17.1



More information about the U-Boot mailing list