diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/arm/am335x-bonegreen-gateway.dts | 23 | ||||
| -rw-r--r-- | src/arm/overlays/BB-BBGG-WL1835-00A0.dts | 23 |
2 files changed, 32 insertions, 14 deletions
diff --git a/src/arm/am335x-bonegreen-gateway.dts b/src/arm/am335x-bonegreen-gateway.dts index 59fda0e..370b90a 100644 --- a/src/arm/am335x-bonegreen-gateway.dts +++ b/src/arm/am335x-bonegreen-gateway.dts @@ -22,6 +22,7 @@ chosen { base_dtb = "am335x-bonegreen-gateway.dts"; base_dtb_timestamp = __TIMESTAMP__; + wl1835_bt = "S3-texas-300000"; }; wlan_en_reg: fixedregulator@2 { @@ -38,7 +39,8 @@ leds { pinctrl-names = "default"; - pinctrl-0 = <&user_leds_s0>; + //pinctrl-0 = <&user_leds_s0>; + pinctrl-0 = <&user_leds_s0 &bt_pins>; compatible = "gpio-leds"; @@ -76,6 +78,12 @@ linux,default-trigger = "netdev"; default-state = "off"; }; + + wl18xx_bt_en: led7 { + label = "wl18xx_bt_en"; + gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; }; }; @@ -110,7 +118,7 @@ bt_pins: pinmux_bt_pins { pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLUP, MUX_MODE7) /* gmii1_txd0.gpio0_28 - BT_EN */ + AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gmii1_txd0.gpio0_28 - BT_EN */ >; }; @@ -192,13 +200,14 @@ &uart3 { pinctrl-names = "default"; - pinctrl-0 = <&uart3_pins &bt_pins>; + pinctrl-0 = <&uart3_pins>; + //pinctrl-0 = <&uart3_pins &bt_pins>; status = "okay"; - bluetooth { - compatible = "ti,wl1835-st"; - enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; - }; + //bluetooth { + // compatible = "ti,wl1835-st"; + // enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; + //}; }; &i2c0 { diff --git a/src/arm/overlays/BB-BBGG-WL1835-00A0.dts b/src/arm/overlays/BB-BBGG-WL1835-00A0.dts index 5b2b2d7..0c7873a 100644 --- a/src/arm/overlays/BB-BBGG-WL1835-00A0.dts +++ b/src/arm/overlays/BB-BBGG-WL1835-00A0.dts @@ -16,6 +16,7 @@ &{/chosen} { overlays { BB-BBGG-WL1835-00A0.kernel = __TIMESTAMP__; + wl1835_bt = "S3-texas-300000"; }; }; @@ -42,7 +43,8 @@ leds { pinctrl-names = "default"; - pinctrl-0 = <&user_leds_s0>; + //pinctrl-0 = <&user_leds_s0>; + pinctrl-0 = <&user_leds_s0 &bt_pins>; compatible = "gpio-leds"; @@ -80,6 +82,12 @@ linux,default-trigger = "netdev"; default-state = "off"; }; + + wl18xx_bt_en: led7 { + label = "wl18xx_bt_en"; + gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; }; }; @@ -99,7 +107,7 @@ bt_pins: pinmux_bt_pins { pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLUP, MUX_MODE7) /* gmii1_txd0.gpio0_28 - BT_EN */ + AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gmii1_txd0.gpio0_28 - BT_EN */ >; }; @@ -181,13 +189,14 @@ &uart3 { pinctrl-names = "default"; - pinctrl-0 = <&uart3_pins &bt_pins>; + pinctrl-0 = <&uart3_pins>; + //pinctrl-0 = <&uart3_pins &bt_pins>; status = "okay"; - bluetooth { - compatible = "ti,wl1835-st"; - enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; - }; + //bluetooth { + // compatible = "ti,wl1835-st"; + // enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; + //}; }; &i2c0 { |
