1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (C) 2019 Corentin LABBE <clabbe@baylibre.com>
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot#include "sun50i-h6-pine-h64.dts"
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot/ {
9c66ec88fSEmmanuel Vadot	model = "Pine H64 model B";
10c66ec88fSEmmanuel Vadot	compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6";
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadot	/delete-node/ reg_gmac_3v3;
135def4c47SEmmanuel Vadot
145def4c47SEmmanuel Vadot	wifi_pwrseq: wifi_pwrseq {
155def4c47SEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
165def4c47SEmmanuel Vadot		reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
175def4c47SEmmanuel Vadot		post-power-on-delay-ms = <200>;
185def4c47SEmmanuel Vadot	};
19c66ec88fSEmmanuel Vadot};
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot&hdmi_connector {
22c66ec88fSEmmanuel Vadot	/delete-property/ ddc-en-gpios;
23c66ec88fSEmmanuel Vadot};
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot&emac {
26c66ec88fSEmmanuel Vadot	phy-supply = <&reg_aldo2>;
27c66ec88fSEmmanuel Vadot};
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot&mmc1 {
305def4c47SEmmanuel Vadot	vmmc-supply = <&reg_cldo3>;
315def4c47SEmmanuel Vadot	vqmmc-supply = <&reg_aldo1>;
325def4c47SEmmanuel Vadot	mmc-pwrseq = <&wifi_pwrseq>;
335def4c47SEmmanuel Vadot	bus-width = <4>;
345def4c47SEmmanuel Vadot	non-removable;
355def4c47SEmmanuel Vadot	status = "okay";
365def4c47SEmmanuel Vadot};
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadot&uart1 {
395def4c47SEmmanuel Vadot	pinctrl-names = "default";
405def4c47SEmmanuel Vadot	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
415def4c47SEmmanuel Vadot	uart-has-rtscts;
425def4c47SEmmanuel Vadot	status = "okay";
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel Vadot	bluetooth {
455def4c47SEmmanuel Vadot		compatible = "realtek,rtl8723bs-bt";
465def4c47SEmmanuel Vadot		device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
475def4c47SEmmanuel Vadot		host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
485def4c47SEmmanuel Vadot		enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
495def4c47SEmmanuel Vadot		max-speed = <1500000>;
505def4c47SEmmanuel Vadot	};
515def4c47SEmmanuel Vadot};
52