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