New paste

Untitled

Pasted by Anonymous on Fri Mar 10 13:31:25 2017 as Text only.
/dts-v1/;
#include "sun7i-a20.dtsi"
#include "sunxi-common-regulators.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>

/ {
	model = "";
	compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";

	fragment@0 {
		target = <&rtp>;
		__overlay__ {
			allwinner,ts-attached;
		};
	};

	aliases {
		serial0 = &uart0;
		serial1 = &uart5;
		serial2 = &uart6;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	reg_gmac_3v3: gmac-3v3 {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&gmac_power_pin_ctl>;
		regulator-name = "gmac-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		startup-delay-us = <100000>;
		enable-active-high;
		gpio = <&pio 7 25 GPIO_ACTIVE_HIGH>;
	};

};