update to last uboot dtbs

This commit is contained in:
Owen
2024-04-29 20:41:43 +00:00
parent 7e22e92e22
commit 00a8d48a06
5 changed files with 1258 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) // SPDX-License-Identifier: (GPL-2.0+ or MIT)
// Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org> // Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org>
/ { / {
@@ -18,6 +18,19 @@
}; };
}; };
&codec {
avcc-supply = <&reg_aldo>;
hpvcc-supply = <&reg_hpldo>;
};
&hdmi {
hvcc-supply = <&reg_ldoa>;
};
&lradc {
vref-supply = <&reg_aldo>;
};
&pio { &pio {
vcc-pb-supply = <&reg_vcc_3v3>; vcc-pb-supply = <&reg_vcc_3v3>;
vcc-pc-supply = <&reg_vcc_3v3>; vcc-pc-supply = <&reg_vcc_3v3>;
@@ -26,3 +39,26 @@
vcc-pf-supply = <&reg_vcc_3v3>; vcc-pf-supply = <&reg_vcc_3v3>;
vcc-pg-supply = <&reg_vcc_3v3>; vcc-pg-supply = <&reg_vcc_3v3>;
}; };
&reg_aldo {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vdd33-supply = <&reg_vcc_3v3>;
};
&reg_hpldo {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
hpldoin-supply = <&reg_vcc_3v3>;
};
&reg_ldoa {
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
ldo-in-supply = <&reg_vcc_3v3>;
};
&ths {
vref-supply = <&reg_aldo>;
};

View File

@@ -1,13 +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> // Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
/dts-v1/;
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
/dts-v1/;
#include "sun20i-d1.dtsi" #include "sun20i-d1.dtsi"
#include "sun20i-common-regulators.dtsi" #include "sun20i-d1-common-regulators.dtsi"
/ { / {
model = "MangoPi MQ Pro"; model = "MangoPi MQ Pro";
@@ -15,6 +15,7 @@
aliases { aliases {
ethernet0 = &rtl8723ds; ethernet0 = &rtl8723ds;
mmc0 = &mmc0;
serial0 = &uart0; serial0 = &uart0;
}; };
@@ -22,13 +23,25 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
leds { hdmi_connector: connector {
compatible = "gpio-leds"; compatible = "hdmi-connector";
type = "c";
led-0 { port {
hdmi_connector_in: endpoint {
remote-endpoint = <&hdmi_out_connector>;
};
};
};
leds {
compatible = "pwm-leds";
led {
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_STATUS; function = LED_FUNCTION_STATUS;
gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */ max-brightness = <255>;
pwms = <&pwm 2 50000 0>;
}; };
}; };
@@ -66,14 +79,28 @@
cpu-supply = <&reg_vdd_cpu>; cpu-supply = <&reg_vdd_cpu>;
}; };
&dcxo { &de {
clock-frequency = <24000000>; status = "okay";
}; };
&ehci1 { &ehci1 {
status = "okay"; status = "okay";
}; };
&hdmi {
status = "okay";
};
&hdmi_out {
hdmi_out_connector: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
&hdmi_phy {
status = "okay";
};
&mmc0 { &mmc0 {
bus-width = <4>; bus-width = <4>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */ cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
@@ -137,6 +164,6 @@
}; };
&usbphy { &usbphy {
usb1_vbus-supply = <&reg_vcc>; usb0_vbus-supply = <&reg_vcc>;
status = "okay"; status = "okay";
}; };

File diff suppressed because it is too large Load Diff