xref: /freebsd/sys/contrib/device-tree/src/arm64/allwinner/sun50i-h6-pine-h64-model-b.dts (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1// SPDX-License-Identifier: (GPL-2.0+ or MIT)
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 = <&reg_aldo2>;
27};
28
29&mmc1 {
30	vmmc-supply = <&reg_cldo3>;
31	vqmmc-supply = <&reg_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};
52