This commit is contained in:
Owen
2024-08-30 16:23:39 +02:00
parent efb6e422f0
commit ad5d7ef23f
5 changed files with 11 additions and 37 deletions

View File

@@ -1,14 +1,13 @@
// SPDX-License-Identifier: (GPL-2.0+ or MIT)
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
// Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pwm/pwm.h>
/dts-v1/;
#include "sun20i-d1.dtsi"
#include "sun20i-d1-common-regulators.dtsi"
#include "sun20i-common-regulators.dtsi"
/ {
model = "MangoPi MQ Pro";
@@ -16,25 +15,13 @@
aliases {
ethernet0 = &rtl8723ds;
mmc0 = &mmc0;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
hdmi_connector: connector {
compatible = "hdmi-connector";
type = "c";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&hdmi_out_connector>;
};
};
};
leds {
compatible = "gpio-leds";
@@ -79,28 +66,14 @@
cpu-supply = <&reg_vdd_cpu>;
};
&de {
status = "okay";
&dcxo {
clock-frequency = <24000000>;
};
&ehci1 {
status = "okay";
};
&hdmi {
status = "okay";
};
&hdmi_out {
hdmi_out_connector: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
&hdmi_phy {
status = "okay";
};
&mmc0 {
bus-width = <4>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
@@ -226,6 +199,6 @@
};
&usbphy {
usb0_vbus-supply = <&reg_vcc>;
usb1_vbus-supply = <&reg_vcc>;
status = "okay";
};