2018-05-06 22:27:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2015-04-23 15:04:19 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
|
|
*
|
|
|
|
* Minimal dts file for the Mixtile LOFT-Q for u-boot only
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2023-01-22 23:50:19 +00:00
|
|
|
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
2015-04-23 15:04:19 +00:00
|
|
|
#include "sun6i-a31.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Mixtile LOFT-Q";
|
|
|
|
compatible = "mixtile,loft-q", "allwinner,sun6i-a31";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
2023-01-22 23:50:19 +00:00
|
|
|
|
|
|
|
reg_usb1_vbus: usb1-vbus {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "usb1-vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
|
|
|
gpio = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */
|
|
|
|
};
|
2015-04-23 15:04:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&ehci0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ehci1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gmac {
|
|
|
|
pinctrl-names = "default";
|
2022-04-27 20:31:24 +00:00
|
|
|
pinctrl-0 = <&gmac_rgmii_pins>;
|
2015-04-23 15:04:19 +00:00
|
|
|
phy = <&phy1>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
status = "okay";
|
2022-04-27 20:31:24 +00:00
|
|
|
};
|
2015-04-23 15:04:19 +00:00
|
|
|
|
2022-04-27 20:31:24 +00:00
|
|
|
&mdio {
|
2015-04-23 15:04:19 +00:00
|
|
|
phy1: ethernet-phy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
pinctrl-names = "default";
|
2022-04-27 20:31:24 +00:00
|
|
|
pinctrl-0 = <&uart0_ph_pins>;
|
2015-04-23 15:04:19 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2023-01-22 23:50:19 +00:00
|
|
|
|
|
|
|
&usbphy {
|
|
|
|
usb1_vbus-supply = <®_usb1_vbus>;
|
|
|
|
status = "okay";
|
|
|
|
};
|