diff mbox series

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

Message ID 20210218132938.2168-7-kory.maincent@bootlin.com
State Superseded
Delegated to: Tom Rini
Headers show
Series Add support for extension boards detection and DT overlays application | expand

Commit Message

Kory Maincent Feb. 18, 2021, 1:29 p.m. UTC
Add the EEPROM description in the devicetree for the CHIP board.

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

Comments

Tom Rini Feb. 19, 2021, 4:54 p.m. UTC | #1
On Thu, Feb 18, 2021 at 02:29:34PM +0100, Kory Maincent wrote:
> Add the EEPROM description in the devicetree for the CHIP board.
> 
> Signed-off-by: Kory Maincent <kory.maincent@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@0 {
> +			compatible = "maxim,ds2431";
> +			status = "okay";
> +		};
> +
>  	};
>  };

This should be in, or re-synced from, the Linux dts file.
diff mbox series

Patch

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@0 {
+			compatible = "maxim,ds2431";
+			status = "okay";
+		};
+
 	};
 };