summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nelson <robertcnelson@gmail.com>2021-12-23 16:43:28 -0600
committerRobert Nelson <robertcnelson@gmail.com>2021-12-23 16:43:28 -0600
commit8cdbf11687263f83cbff969d79a19ce8b52aae37 (patch)
tree49a06d79b576da57a6bf939cb065617378219e9d
parentffcabc2269d70f1057a9689bdb80a3302746dc71 (diff)
am335x-bonegreen-gateway.dts: use fixup for blev5.4.xv4.19.x-ti-overlays
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
-rw-r--r--src/arm/am335x-bonegreen-gateway.dts23
-rw-r--r--src/arm/overlays/BB-BBGG-WL1835-00A0.dts23
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 {