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

Tom Rini trini at konsulko.com
Fri Feb 19 17:54:45 CET 2021


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 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";
> +		};
> +
>  	};
>  };

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

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210219/462a1c43/attachment.sig>


More information about the U-Boot mailing list