mirror of
https://github.com/easytarget/MQ-Pro-IO.git
synced 2025-11-03 01:58:05 +00:00
wip
This commit is contained in:
parent
efb6e422f0
commit
ad5d7ef23f
@ -71,7 +71,7 @@ The onboard (blue) status LED can be controlled via the sys tree:
|
||||
|
||||
`sudo sh -c "echo 0 > /sys/devices/platform/leds/leds/blue\:status/brightness"` to turn off
|
||||
|
||||
You can make it flash as wifi traffic is seen with:
|
||||
You can make it flash as network traffic is seen with:
|
||||
|
||||
`sudo sh -c "echo phy0rx > /sys/devices/platform/leds/leds/blue\:status/trigger"`
|
||||
|
||||
|
||||
@ -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 = <®_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 = <®_vcc>;
|
||||
usb1_vbus-supply = <®_vcc>;
|
||||
status = "okay";
|
||||
};
|
||||
@ -1 +1,2 @@
|
||||
## Download the sources here, see [build-tree README](../build-tree/README.md).
|
||||
## Download the Ubuntu sources here if you are building custom DTB's
|
||||
See [build-tree README](../build-tree/README.md).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user