.. | .. |
---|
28 | 28 | |
---|
29 | 29 | leds { |
---|
30 | 30 | compatible = "gpio-leds"; |
---|
31 | | - pinctrl-names = "default"; |
---|
32 | 31 | |
---|
33 | 32 | pwr_led { |
---|
34 | 33 | label = "bananapi-m2-zero:red:pwr"; |
---|
.. | .. |
---|
39 | 38 | |
---|
40 | 39 | gpio_keys { |
---|
41 | 40 | compatible = "gpio-keys"; |
---|
42 | | - pinctrl-names = "default"; |
---|
43 | 41 | |
---|
44 | 42 | sw4 { |
---|
45 | 43 | label = "power"; |
---|
.. | .. |
---|
61 | 59 | gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ |
---|
62 | 60 | enable-active-high; |
---|
63 | 61 | gpios-states = <0x1>; |
---|
64 | | - states = <1100000 0x0 |
---|
65 | | - 1300000 0x1>; |
---|
| 62 | + states = <1100000 0>, <1300000 1>; |
---|
66 | 63 | }; |
---|
67 | 64 | |
---|
68 | 65 | wifi_pwrseq: wifi_pwrseq { |
---|
69 | 66 | compatible = "mmc-pwrseq-simple"; |
---|
70 | | - pinctrl-names = "default"; |
---|
71 | 67 | reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ |
---|
| 68 | + clocks = <&rtc 1>; |
---|
| 69 | + clock-names = "ext_clock"; |
---|
72 | 70 | }; |
---|
73 | 71 | }; |
---|
74 | 72 | |
---|
.. | .. |
---|
115 | 113 | |
---|
116 | 114 | &uart0 { |
---|
117 | 115 | pinctrl-names = "default"; |
---|
118 | | - pinctrl-0 = <&uart0_pins_a>; |
---|
| 116 | + pinctrl-0 = <&uart0_pa_pins>; |
---|
119 | 117 | status = "okay"; |
---|
120 | 118 | }; |
---|
121 | 119 | |
---|
122 | 120 | &uart1 { |
---|
123 | 121 | pinctrl-names = "default"; |
---|
124 | 122 | pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; |
---|
| 123 | + uart-has-rtscts; |
---|
125 | 124 | status = "okay"; |
---|
| 125 | + |
---|
| 126 | + bluetooth { |
---|
| 127 | + compatible = "brcm,bcm43438-bt"; |
---|
| 128 | + clocks = <&rtc 1>; |
---|
| 129 | + clock-names = "lpo"; |
---|
| 130 | + vbat-supply = <®_vcc3v3>; |
---|
| 131 | + vddio-supply = <®_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 | + |
---|
126 | 137 | }; |
---|
127 | 138 | |
---|
128 | 139 | &usb_otg { |
---|