Message ID | 20230113221058.2355840-1-andreas@kemnade.info |
---|---|
State | Accepted |
Commit | 9151b7670d1ad990d644832a092658016a0ef338 |
Headers | show |
Series | ARM: dts: omap: gta04: add BNO055 IMU chip | expand |
On 13/01/2023 23:10, Andreas Kemnade wrote: > There is finally a driver upstreamed, so add the > device. > > Signed-off-by: Andreas Kemnade <andreas@kemnade.info> > --- > arch/arm/boot/dts/omap3-gta04a5.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts > index 0b5bd7388877..4f56f7fc0d1b 100644 > --- a/arch/arm/boot/dts/omap3-gta04a5.dts > +++ b/arch/arm/boot/dts/omap3-gta04a5.dts > @@ -75,6 +75,11 @@ OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */ > >; > }; > > + bno050_pins: pinmux-bno050-pins { > + pinctrl-single,pins = < > + OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT | MUX_MODE4) /* gpin113 */ > + >; > + }; > }; > > /* > @@ -136,4 +141,13 @@ bme280@76 { > vdda-supply = <&vio>; > vddd-supply = <&vio>; > }; > + > + bno055@29 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "bosch,bno055"; > + reg = <0x29>; Best regards, Krzysztof
diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index 0b5bd7388877..4f56f7fc0d1b 100644 --- a/arch/arm/boot/dts/omap3-gta04a5.dts +++ b/arch/arm/boot/dts/omap3-gta04a5.dts @@ -75,6 +75,11 @@ OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */ >; }; + bno050_pins: pinmux-bno050-pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT | MUX_MODE4) /* gpin113 */ + >; + }; }; /* @@ -136,4 +141,13 @@ bme280@76 { vdda-supply = <&vio>; vddd-supply = <&vio>; }; + + bno055@29 { + compatible = "bosch,bno055"; + reg = <0x29>; + pinctrl-names = "default"; + pinctrl-0 = <&bno050_pins>; + /* interrupt at &gpio4 17 */ + }; + };
There is finally a driver upstreamed, so add the device. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> --- arch/arm/boot/dts/omap3-gta04a5.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)