| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2019 Corentin LABBE <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#include "sun50i-h6-pine-h64.dts" |
| 7 |
|
| 8 |
/delete-node/ ®_gmac_3v3; |
| 9 |
|
| 10 |
/ { |
| 11 |
model = "Pine64 PINE H64 Model B"; |
| 12 |
compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6"; |
| 13 |
|
| 14 |
wifi_pwrseq: 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 |
}; |