0001 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
0002 /*
0003 * Copyright (C) 2019 Corentin LABBE <clabbe@baylibre.com>
0004 */
0005
0006 #include "sun50i-h6-pine-h64.dts"
0007
0008 / {
0009 model = "Pine H64 model B";
0010 compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6";
0011
0012 /delete-node/ reg_gmac_3v3;
0013
0014 wifi_pwrseq: wifi_pwrseq {
0015 compatible = "mmc-pwrseq-simple";
0016 reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
0017 post-power-on-delay-ms = <200>;
0018 };
0019 };
0020
0021 &hdmi_connector {
0022 /delete-property/ ddc-en-gpios;
0023 };
0024
0025 &emac {
0026 phy-supply = <®_aldo2>;
0027 };
0028
0029 &mmc1 {
0030 vmmc-supply = <®_cldo3>;
0031 vqmmc-supply = <®_aldo1>;
0032 mmc-pwrseq = <&wifi_pwrseq>;
0033 bus-width = <4>;
0034 non-removable;
0035 status = "okay";
0036 };
0037
0038 &uart1 {
0039 pinctrl-names = "default";
0040 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
0041 uart-has-rtscts;
0042 status = "okay";
0043
0044 bluetooth {
0045 compatible = "realtek,rtl8723bs-bt";
0046 device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
0047 host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
0048 enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
0049 max-speed = <1500000>;
0050 };
0051 };