forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
....@@ -28,7 +28,6 @@
2828
2929 leds {
3030 compatible = "gpio-leds";
31
- pinctrl-names = "default";
3231
3332 pwr_led {
3433 label = "bananapi-m2-zero:red:pwr";
....@@ -39,7 +38,6 @@
3938
4039 gpio_keys {
4140 compatible = "gpio-keys";
42
- pinctrl-names = "default";
4341
4442 sw4 {
4543 label = "power";
....@@ -61,14 +59,14 @@
6159 gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
6260 enable-active-high;
6361 gpios-states = <0x1>;
64
- states = <1100000 0x0
65
- 1300000 0x1>;
62
+ states = <1100000 0>, <1300000 1>;
6663 };
6764
6865 wifi_pwrseq: wifi_pwrseq {
6966 compatible = "mmc-pwrseq-simple";
70
- pinctrl-names = "default";
7167 reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
68
+ clocks = <&rtc 1>;
69
+ clock-names = "ext_clock";
7270 };
7371 };
7472
....@@ -115,14 +113,27 @@
115113
116114 &uart0 {
117115 pinctrl-names = "default";
118
- pinctrl-0 = <&uart0_pins_a>;
116
+ pinctrl-0 = <&uart0_pa_pins>;
119117 status = "okay";
120118 };
121119
122120 &uart1 {
123121 pinctrl-names = "default";
124122 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
123
+ uart-has-rtscts;
125124 status = "okay";
125
+
126
+ bluetooth {
127
+ compatible = "brcm,bcm43438-bt";
128
+ clocks = <&rtc 1>;
129
+ clock-names = "lpo";
130
+ vbat-supply = <&reg_vcc3v3>;
131
+ vddio-supply = <&reg_vcc3v3>;
132
+ device-wakeup-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
133
+ host-wakeup-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
134
+ shutdown-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
135
+ };
136
+
126137 };
127138
128139 &usb_otg {