Andre Przywara | 8780ada | 2023-10-19 15:51:39 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Samuel Holland | 399a01f | 2022-04-27 15:31:31 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2019 Corentin LABBE <clabbe@baylibre.com> |
| 4 | */ |
| 5 | |
| 6 | #include "sun50i-h6-pine-h64.dts" |
| 7 | |
| 8 | / { |
| 9 | model = "Pine H64 model B"; |
| 10 | compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6"; |
| 11 | |
| 12 | /delete-node/ reg_gmac_3v3; |
| 13 | |
| 14 | wifi_pwrseq: wifi_pwrseq { |
| 15 | compatible = "mmc-pwrseq-simple"; |
| 16 | reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */ |
| 17 | post-power-on-delay-ms = <200>; |
| 18 | }; |
| 19 | }; |
| 20 | |
| 21 | &hdmi_connector { |
| 22 | /delete-property/ ddc-en-gpios; |
| 23 | }; |
| 24 | |
| 25 | &emac { |
| 26 | phy-supply = <®_aldo2>; |
| 27 | }; |
| 28 | |
| 29 | &mmc1 { |
| 30 | vmmc-supply = <®_cldo3>; |
| 31 | vqmmc-supply = <®_aldo1>; |
| 32 | mmc-pwrseq = <&wifi_pwrseq>; |
| 33 | bus-width = <4>; |
| 34 | non-removable; |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | &uart1 { |
| 39 | pinctrl-names = "default"; |
| 40 | pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; |
| 41 | uart-has-rtscts; |
| 42 | status = "okay"; |
| 43 | |
| 44 | bluetooth { |
| 45 | compatible = "realtek,rtl8723bs-bt"; |
| 46 | device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ |
| 47 | host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ |
| 48 | enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ |
| 49 | max-speed = <1500000>; |
| 50 | }; |
| 51 | }; |