Message ID | 20190311095613.11371-8-narmstrong@baylibre.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | arm64: dts: g12a: Add boards peripherals | expand |
Hi Neil, On Mon, Mar 11, 2019 at 10:57 AM Neil Armstrong <narmstrong@baylibre.com> wrote: > > Enable the Bluetooth Module on the X96 Max Set-Top-Box. > > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> I didn't have time to test this yet but it looks sane to me, so: Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > --- > arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > index 21e5de48613e..61606601fb4f 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > @@ -88,6 +88,18 @@ > }; > }; > > +&uart_A { > + status = "okay"; > + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; > + pinctrl-names = "default"; > + uart-has-rtscts; > + > + bluetooth { > + compatible = "brcm,bcm43438-bt"; > + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; you could add: host-wakeup-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; (at least according to the output of /sys/kernel/debug/gpio and the .dtb on my X96 Max) Regards Martin
Le 15/03/2019 22:48, Martin Blumenstingl a écrit : > Hi Neil, > > On Mon, Mar 11, 2019 at 10:57 AM Neil Armstrong <narmstrong@baylibre.com> wrote: >> >> Enable the Bluetooth Module on the X96 Max Set-Top-Box. >> >> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > I didn't have time to test this yet but it looks sane to me, so: > Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > >> --- >> arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts >> index 21e5de48613e..61606601fb4f 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts >> +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts >> @@ -88,6 +88,18 @@ >> }; >> }; >> >> +&uart_A { >> + status = "okay"; >> + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; >> + pinctrl-names = "default"; >> + uart-has-rtscts; >> + >> + bluetooth { >> + compatible = "brcm,bcm43438-bt"; >> + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; > you could add: > host-wakeup-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; > (at least according to the output of /sys/kernel/debug/gpio and the > .dtb on my X96 Max) Will add ! > > > Regards > Martin >
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 21e5de48613e..61606601fb4f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -88,6 +88,18 @@ }; }; +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + }; +}; + &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>;
Enable the Bluetooth Module on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)