Jump to content

How to use microusb port on OrangePi Lite?


Christian_
Go to solution Solved by martinayotte,

Recommended Posts

Hi.

 

I'm trying to use microusb port as additional usb port on OrangePi Lite.

uname -a
Linux orangepilite 5.4.31-sunxi #20.02.11 SMP Thu Apr 9 21:47:57 CEST 2020 armv7l armv7l armv7l GNU/Linux

I've tried enabling usbhost0 in armbian-config and modify sun8i-h3-orangepi-lite.dtb as described here:

In both cases I have no power on microusb port.

What am I missing?

 

Thanks

Christian

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

17 minutes ago, Christian_ said:

What am I missing?

You should have it working already since DTS sources contains the following :

&reg_usb0_vbus {
        gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
        status = "okay";
};

&usb_otg {
        dr_mode = "host";
        status = "okay";
};

&usbphy {
        /* USB VBUS is always on */
        usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
        usb0_vbus-supply = <&reg_usb0_vbus>;
        status = "okay";
};

Maybe it is a cable problem ?

I'm using a microusb-2-usb-otg such as this one : https://www.ebay.ca/itm/Micro-USB-Cable-Male-Host-to-USB-Female-OTG-Adapter-Android-Tablet-Phone-PDA-PC/122327249468

And it is working as is under Armbian sunxi-dev 5.6.2 ...

Link to comment
Share on other sites

Unfortunately cable is ok, also it worked before with this board on old Armbian version.

I cannot find those sections in decompiled dtb file:

Spoiler

/dts-v1/;

/ {
	interrupt-parent = <0x1>;
	#address-cells = <0x1>;
	#size-cells = <0x1>;
	model = "Xunlong Orange Pi Lite";
	compatible = "xunlong,orangepi-lite", "allwinner,sun8i-h3";

	chosen {
		#address-cells = <0x1>;
		#size-cells = <0x1>;
		ranges;
		stdout-path = "serial0:115200n8";

		framebuffer-hdmi {
			compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
			allwinner,pipeline = "mixer0-lcd0-hdmi";
			clocks = <0x2 0x6 0x3 0x66 0x3 0x6f>;
			status = "disabled";
		};

		framebuffer-tve {
			compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
			allwinner,pipeline = "mixer1-lcd1-tve";
			clocks = <0x2 0x7 0x3 0x67>;
			status = "disabled";
		};
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,format = "i2s";
		simple-audio-card,name = "allwinner-hdmi";
		simple-audio-card,mclk-fs = <0x100>;
		phandle = <0x2e>;

		simple-audio-card,codec {
			sound-dai = <0x4>;
		};

		simple-audio-card,cpu {
			sound-dai = <0x5>;
			dai-tdm-slot-num = <0x2>;
			dai-tdm-slot-width = <0x20>;
		};
	};

	clocks {
		#address-cells = <0x1>;
		#size-cells = <0x1>;
		ranges;

		osc24M_clk {
			#clock-cells = <0x0>;
			compatible = "fixed-clock";
			clock-frequency = <0x16e3600>;
			clock-accuracy = <0xc350>;
			clock-output-names = "osc24M";
			phandle = <0xf>;
		};

		osc32k_clk {
			#clock-cells = <0x0>;
			compatible = "fixed-clock";
			clock-frequency = <0x8000>;
			clock-accuracy = <0xc350>;
			clock-output-names = "ext_osc32k";
			phandle = <0x1f>;
		};
	};

	opp_table0 {
		compatible = "operating-points-v2";
		opp-shared;
		phandle = <0x25>;

		opp-480000000 {
			opp-hz = <0x0 0x1c9c3800>;
			opp-microvolt = <0xfde80 0xfde80 0x13d620>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-648000000 {
			opp-hz = <0x0 0x269fb200>;
			opp-microvolt = <0xfde80 0xfde80 0x13d620>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-816000000 {
			opp-hz = <0x0 0x30a32c00>;
			opp-microvolt = <0x10c8e0 0x10c8e0 0x13d620>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-960000000 {
			opp-hz = <0x0 0x39387000>;
			opp-microvolt = <0x124f80 0x124f80 0x13d620>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-1008000000 {
			opp-hz = <0x0 0x3c14dc00>;
			opp-microvolt = <0x124f80 0x124f80 0x13d620>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-1104000000 {
			opp-hz = <0x0 0x41cdb400>;
			opp-microvolt = <0x142440 0x142440 0x142440>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-1200000000 {
			opp-hz = <0x0 0x47868c00>;
			opp-microvolt = <0x142440 0x142440 0x142440>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-1296000000 {
			opp-hz = <0x0 0x4d3f6400>;
			opp-microvolt = <0x147260 0x147260 0x147260>;
			clock-latency-ns = <0x3b9b0>;
		};

		opp-1368000000 {
			opp-hz = <0x0 0x518a0600>;
			opp-microvolt = <0x155cc0 0x155cc0 0x155cc0>;
			clock-latency-ns = <0x3b9b0>;
		};
	};

	display-engine {
		compatible = "allwinner,sun8i-h3-display-engine";
		allwinner,pipelines = <0x6>;
		status = "okay";
		phandle = <0x2f>;
	};

	soc {
		compatible = "simple-bus";
		#address-cells = <0x1>;
		#size-cells = <0x1>;
		ranges;

		clock@1000000 {
			reg = <0x1000000 0x100000>;
			clocks = <0x3 0x30 0x3 0x65>;
			clock-names = "bus", "mod";
			resets = <0x3 0x22>;
			#clock-cells = <0x1>;
			#reset-cells = <0x1>;
			compatible = "allwinner,sun8i-h3-de2-clk";
			phandle = <0x2>;
		};

		mixer@1100000 {
			compatible = "allwinner,sun8i-h3-de2-mixer-0";
			reg = <0x1100000 0x100000>;
			clocks = <0x2 0x0 0x2 0x6>;
			clock-names = "bus", "mod";
			resets = <0x2 0x0>;
			phandle = <0x6>;

			ports {
				#address-cells = <0x1>;
				#size-cells = <0x0>;

				port@1 {
					reg = <0x1>;
					phandle = <0x30>;

					endpoint {
						remote-endpoint = <0x7>;
						phandle = <0x8>;
					};
				};
			};
		};

		dma-controller@1c02000 {
			compatible = "allwinner,sun8i-h3-dma";
			reg = <0x1c02000 0x1000>;
			interrupts = <0x0 0x32 0x4>;
			clocks = <0x3 0x15>;
			resets = <0x3 0x6>;
			#dma-cells = <0x1>;
			phandle = <0x13>;
		};

		lcd-controller@1c0c000 {
			compatible = "allwinner,sun8i-h3-tcon-tv", "allwinner,sun8i-a83t-tcon-tv";
			reg = <0x1c0c000 0x1000>;
			interrupts = <0x0 0x56 0x4>;
			clocks = <0x3 0x2a 0x3 0x66>;
			clock-names = "ahb", "tcon-ch1";
			resets = <0x3 0x1b>;
			reset-names = "lcd";
			phandle = <0x31>;

			ports {
				#address-cells = <0x1>;
				#size-cells = <0x0>;

				port@0 {
					reg = <0x0>;
					phandle = <0x32>;

					endpoint {
						remote-endpoint = <0x8>;
						phandle = <0x7>;
					};
				};

				port@1 {
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x1>;
					phandle = <0x33>;

					endpoint@1 {
						reg = <0x1>;
						remote-endpoint = <0x9>;
						phandle = <0x1d>;
					};
				};
			};
		};

		mmc@1c0f000 {
			reg = <0x1c0f000 0x1000>;
			pinctrl-names = "default";
			pinctrl-0 = <0xa>;
			resets = <0x3 0x7>;
			reset-names = "ahb";
			interrupts = <0x0 0x3c 0x4>;
			bus-width = <0x4>;
			status = "okay";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			compatible = "allwinner,sun7i-a20-mmc";
			clocks = <0x3 0x16 0x3 0x47 0x3 0x49 0x3 0x48>;
			clock-names = "ahb", "mmc", "output", "sample";
			vmmc-supply = <0xb>;
			cd-gpios = <0xc 0x5 0x6 0x1>;
			phandle = <0x34>;
		};

		mmc@1c10000 {
			reg = <0x1c10000 0x1000>;
			pinctrl-names = "default";
			pinctrl-0 = <0xd>;
			resets = <0x3 0x8>;
			reset-names = "ahb";
			interrupts = <0x0 0x3d 0x4>;
			status = "okay";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			compatible = "allwinner,sun7i-a20-mmc";
			clocks = <0x3 0x17 0x3 0x4a 0x3 0x4c 0x3 0x4b>;
			clock-names = "ahb", "mmc", "output", "sample";
			vmmc-supply = <0xb>;
			bus-width = <0x4>;
			non-removable;
			phandle = <0x35>;

			sdio_wifi@1 {
				reg = <0x1>;
				phandle = <0x36>;
			};
		};

		mmc@1c11000 {
			reg = <0x1c11000 0x1000>;
			resets = <0x3 0x9>;
			reset-names = "ahb";
			interrupts = <0x0 0x3e 0x4>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			compatible = "allwinner,sun7i-a20-mmc";
			clocks = <0x3 0x18 0x3 0x4d 0x3 0x4f 0x3 0x4e>;
			clock-names = "ahb", "mmc", "output", "sample";
			phandle = <0x37>;
		};

		eeprom@1c14000 {
			reg = <0x1c14000 0x400>;
			compatible = "allwinner,sun8i-h3-sid";
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			phandle = <0x38>;

			thermal-sensor-calibration@34 {
				reg = <0x34 0x4>;
				phandle = <0x24>;
			};
		};

		usb@1c19000 {
			compatible = "allwinner,sun8i-h3-musb";
			reg = <0x1c19000 0x400>;
			clocks = <0x3 0x20>;
			resets = <0x3 0x11>;
			interrupts = <0x0 0x47 0x4>;
			interrupt-names = "mc";
			phys = <0xe 0x0>;
			phy-names = "usb";
			extcon = <0xe 0x0>;
			dr_mode = "host";
			status = "okay";
			phandle = <0x39>;
		};

		phy@1c19400 {
			compatible = "allwinner,sun8i-h3-usb-phy";
			reg = <0x1c19400 0x2c 0x1c1a800 0x4 0x1c1b800 0x4 0x1c1c800 0x4 0x1c1d800 0x4>;
			reg-names = "phy_ctrl", "pmu0", "pmu1", "pmu2", "pmu3";
			clocks = <0x3 0x58 0x3 0x59 0x3 0x5a 0x3 0x5b>;
			clock-names = "usb0_phy", "usb1_phy", "usb2_phy", "usb3_phy";
			resets = <0x3 0x0 0x3 0x1 0x3 0x2 0x3 0x3>;
			reset-names = "usb0_reset", "usb1_reset", "usb2_reset", "usb3_reset";
			status = "okay";
			#phy-cells = <0x1>;
			phandle = <0xe>;
		};

		usb@1c1a000 {
			compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
			reg = <0x1c1a000 0x100>;
			interrupts = <0x0 0x48 0x4>;
			clocks = <0x3 0x21 0x3 0x25>;
			resets = <0x3 0x12 0x3 0x16>;
			status = "disabled";
			phandle = <0x3a>;
		};

		usb@1c1a400 {
			compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
			reg = <0x1c1a400 0x100>;
			interrupts = <0x0 0x49 0x4>;
			clocks = <0x3 0x21 0x3 0x25 0x3 0x5c>;
			resets = <0x3 0x12 0x3 0x16>;
			status = "disabled";
			phandle = <0x3b>;
		};

		usb@1c1b000 {
			compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
			reg = <0x1c1b000 0x100>;
			interrupts = <0x0 0x4a 0x4>;
			clocks = <0x3 0x22 0x3 0x26>;
			resets = <0x3 0x13 0x3 0x17>;
			phys = <0xe 0x1>;
			phy-names = "usb";
			status = "okay";
			phandle = <0x3c>;
		};

		usb@1c1b400 {
			compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
			reg = <0x1c1b400 0x100>;
			interrupts = <0x0 0x4b 0x4>;
			clocks = <0x3 0x22 0x3 0x26 0x3 0x5d>;
			resets = <0x3 0x13 0x3 0x17>;
			phys = <0xe 0x1>;
			phy-names = "usb";
			status = "okay";
			phandle = <0x3d>;
		};

		usb@1c1c000 {
			compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
			reg = <0x1c1c000 0x100>;
			interrupts = <0x0 0x4c 0x4>;
			clocks = <0x3 0x23 0x3 0x27>;
			resets = <0x3 0x14 0x3 0x18>;
			phys = <0xe 0x2>;
			phy-names = "usb";
			status = "okay";
			phandle = <0x3e>;
		};

		usb@1c1c400 {
			compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
			reg = <0x1c1c400 0x100>;
			interrupts = <0x0 0x4d 0x4>;
			clocks = <0x3 0x23 0x3 0x27 0x3 0x5e>;
			resets = <0x3 0x14 0x3 0x18>;
			phys = <0xe 0x2>;
			phy-names = "usb";
			status = "okay";
			phandle = <0x3f>;
		};

		usb@1c1d000 {
			compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
			reg = <0x1c1d000 0x100>;
			interrupts = <0x0 0x4e 0x4>;
			clocks = <0x3 0x24 0x3 0x28>;
			resets = <0x3 0x15 0x3 0x19>;
			phys = <0xe 0x3>;
			phy-names = "usb";
			status = "disabled";
			phandle = <0x40>;
		};

		usb@1c1d400 {
			compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
			reg = <0x1c1d400 0x100>;
			interrupts = <0x0 0x4f 0x4>;
			clocks = <0x3 0x24 0x3 0x28 0x3 0x5f>;
			resets = <0x3 0x15 0x3 0x19>;
			phys = <0xe 0x3>;
			phy-names = "usb";
			status = "disabled";
			phandle = <0x41>;
		};

		clock@1c20000 {
			reg = <0x1c20000 0x400>;
			clocks = <0xf 0x10 0x0>;
			clock-names = "hosc", "losc";
			#clock-cells = <0x1>;
			#reset-cells = <0x1>;
			compatible = "allwinner,sun8i-h3-ccu";
			phandle = <0x3>;
		};

		pinctrl@1c20800 {
			reg = <0x1c20800 0x400>;
			interrupts = <0x0 0xb 0x4 0x0 0x11 0x4>;
			clocks = <0x3 0x36 0xf 0x10 0x0>;
			clock-names = "apb", "hosc", "losc";
			gpio-controller;
			#gpio-cells = <0x3>;
			interrupt-controller;
			#interrupt-cells = <0x3>;
			compatible = "allwinner,sun8i-h3-pinctrl";
			phandle = <0xc>;

			csi-pins {
				pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11";
				function = "csi";
				phandle = <0x1b>;
			};

			emac-rgmii-pins {
				pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD7", "PD8", "PD9", "PD10", "PD12", "PD13", "PD15", "PD16", "PD17";
				function = "emac";
				drive-strength = <0x28>;
				phandle = <0x42>;
			};

			i2c0-pins {
				pins = "PA11", "PA12";
				function = "i2c0";
				phandle = <0x18>;
			};

			i2c1-pins {
				pins = "PA18", "PA19";
				function = "i2c1";
				phandle = <0x19>;
			};

			i2c2-pins {
				pins = "PE12", "PE13";
				function = "i2c2";
				phandle = <0x1a>;
			};

			i2s0-pins {
				pins = "PA18", "PA19", "PA20", "PA21";
				function = "i2s0";
				phandle = <0x43>;
			};

			i2s1-pins {
				pins = "PG10", "PG11", "PG12", "PG13";
				function = "i2s1";
				phandle = <0x44>;
			};

			mmc0-pins {
				pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
				function = "mmc0";
				drive-strength = <0x1e>;
				bias-pull-up;
				phandle = <0xa>;
			};

			mmc1-pins {
				pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5";
				function = "mmc1";
				drive-strength = <0x1e>;
				bias-pull-up;
				phandle = <0xd>;
			};

			mmc2-8bit-pins {
				pins = "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16";
				function = "mmc2";
				drive-strength = <0x1e>;
				bias-pull-up;
				phandle = <0x45>;
			};

			spdif-tx-pin {
				pins = "PA17";
				function = "spdif";
				phandle = <0x46>;
			};

			spi0-pins {
				pins = "PC0", "PC1", "PC2", "PC3";
				function = "spi0";
				phandle = <0x14>;
			};

			spi1-pins {
				pins = "PA15", "PA16", "PA14", "PA13";
				function = "spi1";
				phandle = <0x15>;
			};

			uart0-pa-pins {
				pins = "PA4", "PA5";
				function = "uart0";
				phandle = <0x17>;
			};

			uart1-pins {
				pins = "PG6", "PG7";
				function = "uart1";
				phandle = <0x47>;
			};

			uart1-rts-cts-pins {
				pins = "PG8", "PG9";
				function = "uart1";
				phandle = <0x48>;
			};

			uart2-pins {
				pins = "PA0", "PA1";
				function = "uart2";
				phandle = <0x49>;
			};

			uart2-rts-cts-pins {
				pins = "PA2", "PA3";
				function = "uart2";
				phandle = <0x4a>;
			};

			uart3-pins {
				pins = "PA13", "PA14";
				function = "uart3";
				phandle = <0x4b>;
			};

			uart3-rts-cts-pins {
				pins = "PA15", "PA16";
				function = "uart3";
				phandle = <0x4c>;
			};
		};

		timer@1c20c00 {
			compatible = "allwinner,sun8i-a23-timer";
			reg = <0x1c20c00 0xa0>;
			interrupts = <0x0 0x12 0x4 0x0 0x13 0x4>;
			clocks = <0xf>;
		};

		ethernet@1c30000 {
			compatible = "allwinner,sun8i-h3-emac";
			syscon = <0x11>;
			reg = <0x1c30000 0x10000>;
			interrupts = <0x0 0x52 0x4>;
			interrupt-names = "macirq";
			resets = <0x3 0xc>;
			reset-names = "stmmaceth";
			clocks = <0x3 0x1b>;
			clock-names = "stmmaceth";
			status = "disabled";
			phandle = <0x4d>;

			mdio {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				compatible = "snps,dwmac-mdio";
				phandle = <0x12>;
			};

			mdio-mux {
				compatible = "allwinner,sun8i-h3-mdio-mux";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				mdio-parent-bus = <0x12>;

				mdio@1 {
					compatible = "allwinner,sun8i-h3-mdio-internal";
					reg = <0x1>;
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					phandle = <0x4e>;

					ethernet-phy@1 {
						compatible = "ethernet-phy-ieee802.3-c22";
						reg = <0x1>;
						clocks = <0x3 0x43>;
						resets = <0x3 0x27>;
						phandle = <0x4f>;
					};
				};

				mdio@2 {
					reg = <0x2>;
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					phandle = <0x50>;
				};
			};
		};

		spi@1c68000 {
			compatible = "allwinner,sun8i-h3-spi";
			reg = <0x1c68000 0x1000>;
			interrupts = <0x0 0x41 0x4>;
			clocks = <0x3 0x1e 0x3 0x52>;
			clock-names = "ahb", "mod";
			dmas = <0x13 0x17 0x13 0x17>;
			dma-names = "rx", "tx";
			pinctrl-names = "default";
			pinctrl-0 = <0x14>;
			resets = <0x3 0xf>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x51>;
		};

		spi@1c69000 {
			compatible = "allwinner,sun8i-h3-spi";
			reg = <0x1c69000 0x1000>;
			interrupts = <0x0 0x42 0x4>;
			clocks = <0x3 0x1f 0x3 0x53>;
			clock-names = "ahb", "mod";
			dmas = <0x13 0x18 0x13 0x18>;
			dma-names = "rx", "tx";
			pinctrl-names = "default";
			pinctrl-0 = <0x15>;
			resets = <0x3 0x10>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x52>;
		};

		watchdog@1c20ca0 {
			compatible = "allwinner,sun6i-a31-wdt";
			reg = <0x1c20ca0 0x20>;
			interrupts = <0x0 0x19 0x4>;
			clocks = <0xf>;
			phandle = <0x53>;
		};

		spdif@1c21000 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-spdif";
			reg = <0x1c21000 0x400>;
			interrupts = <0x0 0xc 0x4>;
			clocks = <0x3 0x35 0x3 0x57>;
			resets = <0x3 0x29>;
			clock-names = "apb", "spdif";
			dmas = <0x13 0x2>;
			dma-names = "tx";
			status = "disabled";
			phandle = <0x54>;
		};

		pwm@1c21400 {
			compatible = "allwinner,sun8i-h3-pwm";
			reg = <0x1c21400 0x8>;
			clocks = <0xf>;
			#pwm-cells = <0x3>;
			status = "disabled";
			phandle = <0x55>;
		};

		i2s@1c22000 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-i2s";
			reg = <0x1c22000 0x400>;
			interrupts = <0x0 0xd 0x4>;
			clocks = <0x3 0x38 0x3 0x54>;
			clock-names = "apb", "mod";
			dmas = <0x13 0x3 0x13 0x3>;
			resets = <0x3 0x2b>;
			dma-names = "rx", "tx";
			status = "disabled";
			phandle = <0x56>;
		};

		i2s@1c22400 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-i2s";
			reg = <0x1c22400 0x400>;
			interrupts = <0x0 0xe 0x4>;
			clocks = <0x3 0x39 0x3 0x55>;
			clock-names = "apb", "mod";
			dmas = <0x13 0x4 0x13 0x4>;
			resets = <0x3 0x2c>;
			dma-names = "rx", "tx";
			status = "disabled";
			phandle = <0x57>;
		};

		i2s@1c22800 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-i2s";
			reg = <0x1c22800 0x400>;
			interrupts = <0x0 0xf 0x4>;
			clocks = <0x3 0x3a 0x3 0x56>;
			clock-names = "apb", "mod";
			dmas = <0x13 0x1b>;
			resets = <0x3 0x2d>;
			dma-names = "tx";
			allwinner,playback-channels = <0x8>;
			phandle = <0x5>;
		};

		codec@1c22c00 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-codec";
			reg = <0x1c22c00 0x400>;
			interrupts = <0x0 0x1d 0x4>;
			clocks = <0x3 0x34 0x3 0x6d>;
			clock-names = "apb", "codec";
			resets = <0x3 0x28>;
			dmas = <0x13 0xf 0x13 0xf>;
			dma-names = "rx", "tx";
			allwinner,codec-analog-controls = <0x16>;
			status = "disabled";
			phandle = <0x58>;
		};

		serial@1c28000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x1c28000 0x400>;
			interrupts = <0x0 0x0 0x4>;
			reg-shift = <0x2>;
			reg-io-width = <0x4>;
			clocks = <0x3 0x3e>;
			resets = <0x3 0x31>;
			dmas = <0x13 0x6 0x13 0x6>;
			dma-names = "rx", "tx";
			status = "okay";
			pinctrl-names = "default";
			pinctrl-0 = <0x17>;
			phandle = <0x59>;
		};

		serial@1c28400 {
			compatible = "snps,dw-apb-uart";
			reg = <0x1c28400 0x400>;
			interrupts = <0x0 0x1 0x4>;
			reg-shift = <0x2>;
			reg-io-width = <0x4>;
			clocks = <0x3 0x3f>;
			resets = <0x3 0x32>;
			dmas = <0x13 0x7 0x13 0x7>;
			dma-names = "rx", "tx";
			status = "disabled";
			phandle = <0x5a>;
		};

		serial@1c28800 {
			compatible = "snps,dw-apb-uart";
			reg = <0x1c28800 0x400>;
			interrupts = <0x0 0x2 0x4>;
			reg-shift = <0x2>;
			reg-io-width = <0x4>;
			clocks = <0x3 0x40>;
			resets = <0x3 0x33>;
			dmas = <0x13 0x8 0x13 0x8>;
			dma-names = "rx", "tx";
			status = "disabled";
			phandle = <0x5b>;
		};

		serial@1c28c00 {
			compatible = "snps,dw-apb-uart";
			reg = <0x1c28c00 0x400>;
			interrupts = <0x0 0x3 0x4>;
			reg-shift = <0x2>;
			reg-io-width = <0x4>;
			clocks = <0x3 0x41>;
			resets = <0x3 0x34>;
			dmas = <0x13 0x9 0x13 0x9>;
			dma-names = "rx", "tx";
			status = "disabled";
			phandle = <0x5c>;
		};

		i2c@1c2ac00 {
			compatible = "allwinner,sun6i-a31-i2c";
			reg = <0x1c2ac00 0x400>;
			interrupts = <0x0 0x6 0x4>;
			clocks = <0x3 0x3b>;
			resets = <0x3 0x2e>;
			pinctrl-names = "default";
			pinctrl-0 = <0x18>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x5d>;
		};

		i2c@1c2b000 {
			compatible = "allwinner,sun6i-a31-i2c";
			reg = <0x1c2b000 0x400>;
			interrupts = <0x0 0x7 0x4>;
			clocks = <0x3 0x3c>;
			resets = <0x3 0x2f>;
			pinctrl-names = "default";
			pinctrl-0 = <0x19>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x5e>;
		};

		i2c@1c2b400 {
			compatible = "allwinner,sun6i-a31-i2c";
			reg = <0x1c2b400 0x400>;
			interrupts = <0x0 0x8 0x4>;
			clocks = <0x3 0x3d>;
			resets = <0x3 0x30>;
			pinctrl-names = "default";
			pinctrl-0 = <0x1a>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x5f>;
		};

		interrupt-controller@1c81000 {
			compatible = "arm,gic-400";
			reg = <0x1c81000 0x1000 0x1c82000 0x2000 0x1c84000 0x2000 0x1c86000 0x2000>;
			interrupt-controller;
			#interrupt-cells = <0x3>;
			interrupts = <0x1 0x9 0xf04>;
			phandle = <0x1>;
		};

		camera@1cb0000 {
			compatible = "allwinner,sun8i-h3-csi";
			reg = <0x1cb0000 0x1000>;
			interrupts = <0x0 0x54 0x4>;
			clocks = <0x3 0x2d 0x3 0x6a 0x3 0x62>;
			clock-names = "bus", "mod", "ram";
			resets = <0x3 0x1e>;
			pinctrl-names = "default";
			pinctrl-0 = <0x1b>;
			status = "disabled";
			phandle = <0x60>;
		};

		hdmi@1ee0000 {
			#sound-dai-cells = <0x0>;
			compatible = "allwinner,sun8i-h3-dw-hdmi", "allwinner,sun8i-a83t-dw-hdmi";
			reg = <0x1ee0000 0x10000>;
			reg-io-width = <0x1>;
			interrupts = <0x0 0x58 0x4>;
			clocks = <0x3 0x2f 0x3 0x70 0x3 0x6f>;
			clock-names = "iahb", "isfr", "tmds";
			resets = <0x3 0x21>;
			reset-names = "ctrl";
			phys = <0x1c>;
			phy-names = "phy";
			status = "okay";
			phandle = <0x4>;

			ports {
				#address-cells = <0x1>;
				#size-cells = <0x0>;

				port@0 {
					reg = <0x0>;
					phandle = <0x61>;

					endpoint {
						remote-endpoint = <0x1d>;
						phandle = <0x9>;
					};
				};

				port@1 {
					reg = <0x1>;
					phandle = <0x62>;

					endpoint {
						remote-endpoint = <0x1e>;
						phandle = <0x2c>;
					};
				};
			};
		};

		hdmi-phy@1ef0000 {
			compatible = "allwinner,sun8i-h3-hdmi-phy";
			reg = <0x1ef0000 0x10000>;
			clocks = <0x3 0x2f 0x3 0x70 0x3 0x6>;
			clock-names = "bus", "mod", "pll-0";
			resets = <0x3 0x20>;
			reset-names = "phy";
			#phy-cells = <0x0>;
			phandle = <0x1c>;
		};

		rtc@1f00000 {
			reg = <0x1f00000 0x400>;
			interrupts = <0x0 0x28 0x4 0x0 0x29 0x4>;
			clock-output-names = "osc32k", "osc32k-out", "iosc";
			clocks = <0x1f>;
			#clock-cells = <0x1>;
			compatible = "allwinner,sun8i-h3-rtc";
			phandle = <0x10>;
		};

		clock@1f01400 {
			compatible = "allwinner,sun8i-h3-r-ccu";
			reg = <0x1f01400 0x100>;
			clocks = <0xf 0x10 0x0 0x10 0x2 0x3 0x9>;
			clock-names = "hosc", "losc", "iosc", "pll-periph";
			#clock-cells = <0x1>;
			#reset-cells = <0x1>;
			phandle = <0x20>;
		};

		codec-analog@1f015c0 {
			compatible = "allwinner,sun8i-h3-codec-analog";
			reg = <0x1f015c0 0x4>;
			phandle = <0x16>;
		};

		ir@1f02000 {
			compatible = "allwinner,sun6i-a31-ir";
			clocks = <0x20 0x4 0x20 0xb>;
			clock-names = "apb", "ir";
			resets = <0x20 0x0>;
			interrupts = <0x0 0x25 0x4>;
			reg = <0x1f02000 0x400>;
			status = "okay";
			pinctrl-names = "default";
			pinctrl-0 = <0x21>;
			phandle = <0x63>;
		};

		i2c@1f02400 {
			compatible = "allwinner,sun6i-a31-i2c";
			reg = <0x1f02400 0x400>;
			interrupts = <0x0 0x2c 0x4>;
			pinctrl-names = "default";
			pinctrl-0 = <0x22>;
			clocks = <0x20 0x9>;
			resets = <0x20 0x5>;
			status = "disabled";
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			phandle = <0x64>;
		};

		pinctrl@1f02c00 {
			compatible = "allwinner,sun8i-h3-r-pinctrl";
			reg = <0x1f02c00 0x400>;
			interrupts = <0x0 0x2d 0x4>;
			clocks = <0x20 0x3 0xf 0x10 0x0>;
			clock-names = "apb", "hosc", "losc";
			gpio-controller;
			#gpio-cells = <0x3>;
			interrupt-controller;
			#interrupt-cells = <0x3>;
			phandle = <0x2d>;

			r-ir-rx-pin {
				pins = "PL11";
				function = "s_cir_rx";
				phandle = <0x21>;
			};

			r-i2c-pins {
				pins = "PL0", "PL1";
				function = "s_i2c";
				phandle = <0x22>;
			};
		};

		system-control@1c00000 {
			compatible = "allwinner,sun8i-h3-system-control";
			reg = <0x1c00000 0x1000>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			ranges;
			phandle = <0x11>;

			sram@1d00000 {
				compatible = "mmio-sram";
				reg = <0x1d00000 0x80000>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				ranges = <0x0 0x1d00000 0x80000>;
				phandle = <0x65>;

				sram-section@0 {
					compatible = "allwinner,sun8i-h3-sram-c1", "allwinner,sun4i-a10-sram-c1";
					reg = <0x0 0x80000>;
					phandle = <0x23>;
				};
			};
		};

		video-codec@1c0e000 {
			compatible = "allwinner,sun8i-h3-video-engine";
			reg = <0x1c0e000 0x1000>;
			clocks = <0x3 0x29 0x3 0x6c 0x3 0x61>;
			clock-names = "ahb", "mod", "ram";
			resets = <0x3 0x1a>;
			interrupts = <0x0 0x3a 0x4>;
			allwinner,sram = <0x23 0x1>;
		};

		gpu@1c40000 {
			compatible = "allwinner,sun8i-h3-mali", "arm,mali-400";
			reg = <0x1c40000 0x10000>;
			interrupts = <0x0 0x61 0x4 0x0 0x62 0x4 0x0 0x63 0x4 0x0 0x64 0x4 0x0 0x66 0x4 0x0 0x67 0x4 0x0 0x65 0x4>;
			interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", "ppmmu1", "pmu";
			clocks = <0x3 0x31 0x3 0x72>;
			clock-names = "bus", "core";
			resets = <0x3 0x23>;
			assigned-clocks = <0x3 0x72>;
			assigned-clock-rates = <0x16e36000>;
			phandle = <0x66>;
		};

		ths@1c25000 {
			compatible = "allwinner,sun8i-h3-ths";
			reg = <0x1c25000 0x400>;
			interrupts = <0x0 0x1f 0x4>;
			resets = <0x3 0x2a>;
			clocks = <0x3 0x37 0x3 0x45>;
			clock-names = "bus", "mod";
			nvmem-cells = <0x24>;
			nvmem-cell-names = "calibration";
			#thermal-sensor-cells = <0x0>;
			phandle = <0x26>;
		};
	};

	cpus {
		#address-cells = <0x1>;
		#size-cells = <0x0>;

		cpu@0 {
			compatible = "arm,cortex-a7";
			device_type = "cpu";
			reg = <0x0>;
			clocks = <0x3 0xe>;
			clock-names = "cpu";
			operating-points-v2 = <0x25>;
			#cooling-cells = <0x2>;
			phandle = <0x28>;
		};

		cpu@1 {
			compatible = "arm,cortex-a7";
			device_type = "cpu";
			reg = <0x1>;
			clocks = <0x3 0xe>;
			clock-names = "cpu";
			operating-points-v2 = <0x25>;
			#cooling-cells = <0x2>;
			phandle = <0x29>;
		};

		cpu@2 {
			compatible = "arm,cortex-a7";
			device_type = "cpu";
			reg = <0x2>;
			clocks = <0x3 0xe>;
			clock-names = "cpu";
			operating-points-v2 = <0x25>;
			#cooling-cells = <0x2>;
			phandle = <0x2a>;
		};

		cpu@3 {
			compatible = "arm,cortex-a7";
			device_type = "cpu";
			reg = <0x3>;
			clocks = <0x3 0xe>;
			clock-names = "cpu";
			operating-points-v2 = <0x25>;
			#cooling-cells = <0x2>;
			phandle = <0x2b>;
		};
	};

	thermal-zones {

		cpu-thermal {
			polling-delay-passive = <0x0>;
			polling-delay = <0x0>;
			thermal-sensors = <0x26 0x0>;
			phandle = <0x67>;

			trips {

				cpu-hot {
					temperature = <0x13880>;
					hysteresis = <0x7d0>;
					type = "passive";
					phandle = <0x27>;
				};

				cpu-very-hot {
					temperature = <0x186a0>;
					hysteresis = <0x0>;
					type = "critical";
					phandle = <0x68>;
				};
			};

			cooling-maps {

				cpu-hot-limit {
					trip = <0x27>;
					cooling-device = <0x28 0xffffffff 0xffffffff 0x29 0xffffffff 0xffffffff 0x2a 0xffffffff 0xffffffff 0x2b 0xffffffff 0xffffffff>;
				};
			};
		};
	};

	pmu {
		compatible = "arm,cortex-a7-pmu";
		interrupts = <0x0 0x78 0x4 0x0 0x79 0x4 0x0 0x7a 0x4 0x0 0x7b 0x4>;
		interrupt-affinity = <0x28 0x29 0x2a 0x2b>;
	};

	timer {
		compatible = "arm,armv7-timer";
		interrupts = <0x1 0xd 0xf08 0x1 0xe 0xf08 0x1 0xb 0xf08 0x1 0xa 0xf08>;
	};

	ahci-5v {
		compatible = "regulator-fixed";
		regulator-name = "ahci-5v";
		regulator-min-microvolt = <0x4c4b40>;
		regulator-max-microvolt = <0x4c4b40>;
		regulator-boot-on;
		enable-active-high;
		gpio = <0xc 0x1 0x8 0x0>;
		status = "disabled";
		phandle = <0x69>;
	};

	usb0-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb0-vbus";
		regulator-min-microvolt = <0x4c4b40>;
		regulator-max-microvolt = <0x4c4b40>;
		enable-active-high;
		gpio = <0xc 0x1 0x9 0x0>;
		status = "disabled";
		phandle = <0x6a>;
	};

	usb1-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb1-vbus";
		regulator-min-microvolt = <0x4c4b40>;
		regulator-max-microvolt = <0x4c4b40>;
		regulator-boot-on;
		enable-active-high;
		gpio = <0xc 0x7 0x6 0x0>;
		status = "disabled";
		phandle = <0x6b>;
	};

	usb2-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb2-vbus";
		regulator-min-microvolt = <0x4c4b40>;
		regulator-max-microvolt = <0x4c4b40>;
		regulator-boot-on;
		enable-active-high;
		gpio = <0xc 0x7 0x3 0x0>;
		status = "disabled";
		phandle = <0x6c>;
	};

	vcc3v0 {
		compatible = "regulator-fixed";
		regulator-name = "vcc3v0";
		regulator-min-microvolt = <0x2dc6c0>;
		regulator-max-microvolt = <0x2dc6c0>;
		phandle = <0x6d>;
	};

	vcc3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vcc3v3";
		regulator-min-microvolt = <0x325aa0>;
		regulator-max-microvolt = <0x325aa0>;
		phandle = <0xb>;
	};

	vcc5v0 {
		compatible = "regulator-fixed";
		regulator-name = "vcc5v0";
		regulator-min-microvolt = <0x4c4b40>;
		regulator-max-microvolt = <0x4c4b40>;
		phandle = <0x6e>;
	};

	aliases {
		ethernet0 = "/soc/mmc@1c10000/sdio_wifi@1";
		serial0 = "/soc/serial@1c28000";
	};

	connector {
		compatible = "hdmi-connector";
		type = [61 00];

		port {

			endpoint {
				remote-endpoint = <0x2c>;
				phandle = <0x1e>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";

		pwr_led {
			label = "orangepi:green:pwr";
			gpios = <0x2d 0x0 0xa 0x0>;
			default-state = "on";
		};

		status_led {
			label = "orangepi:red:status";
			gpios = <0xc 0x0 0xf 0x0>;
		};
	};

	r_gpio_keys {
		compatible = "gpio-keys";

		sw4 {
			label = "sw4";
			linux,code = <0x100>;
			gpios = <0x2d 0x0 0x3 0x1>;
		};
	};

	__symbols__ {
		sound_hdmi = "/sound";
		osc24M = "/clocks/osc24M_clk";
		osc32k = "/clocks/osc32k_clk";
		cpu0_opp_table = "/opp_table0";
		de = "/display-engine";
		display_clocks = "/soc/clock@1000000";
		mixer0 = "/soc/mixer@1100000";
		mixer0_out = "/soc/mixer@1100000/ports/port@1";
		mixer0_out_tcon0 = "/soc/mixer@1100000/ports/port@1/endpoint";
		dma = "/soc/dma-controller@1c02000";
		tcon0 = "/soc/lcd-controller@1c0c000";
		tcon0_in = "/soc/lcd-controller@1c0c000/ports/port@0";
		tcon0_in_mixer0 = "/soc/lcd-controller@1c0c000/ports/port@0/endpoint";
		tcon0_out = "/soc/lcd-controller@1c0c000/ports/port@1";
		tcon0_out_hdmi = "/soc/lcd-controller@1c0c000/ports/port@1/endpoint@1";
		mmc0 = "/soc/mmc@1c0f000";
		mmc1 = "/soc/mmc@1c10000";
		rtl8189ftv = "/soc/mmc@1c10000/sdio_wifi@1";
		mmc2 = "/soc/mmc@1c11000";
		sid = "/soc/eeprom@1c14000";
		ths_calibration = "/soc/eeprom@1c14000/thermal-sensor-calibration@34";
		usb_otg = "/soc/usb@1c19000";
		usbphy = "/soc/phy@1c19400";
		ehci0 = "/soc/usb@1c1a000";
		ohci0 = "/soc/usb@1c1a400";
		ehci1 = "/soc/usb@1c1b000";
		ohci1 = "/soc/usb@1c1b400";
		ehci2 = "/soc/usb@1c1c000";
		ohci2 = "/soc/usb@1c1c400";
		ehci3 = "/soc/usb@1c1d000";
		ohci3 = "/soc/usb@1c1d400";
		ccu = "/soc/clock@1c20000";
		pio = "/soc/pinctrl@1c20800";
		csi_pins = "/soc/pinctrl@1c20800/csi-pins";
		emac_rgmii_pins = "/soc/pinctrl@1c20800/emac-rgmii-pins";
		i2c0_pins = "/soc/pinctrl@1c20800/i2c0-pins";
		i2c1_pins = "/soc/pinctrl@1c20800/i2c1-pins";
		i2c2_pins = "/soc/pinctrl@1c20800/i2c2-pins";
		i2s0_pins = "/soc/pinctrl@1c20800/i2s0-pins";
		i2s1_pins = "/soc/pinctrl@1c20800/i2s1-pins";
		mmc0_pins = "/soc/pinctrl@1c20800/mmc0-pins";
		mmc1_pins = "/soc/pinctrl@1c20800/mmc1-pins";
		mmc2_8bit_pins = "/soc/pinctrl@1c20800/mmc2-8bit-pins";
		spdif_tx_pin = "/soc/pinctrl@1c20800/spdif-tx-pin";
		spi0_pins = "/soc/pinctrl@1c20800/spi0-pins";
		spi1_pins = "/soc/pinctrl@1c20800/spi1-pins";
		uart0_pa_pins = "/soc/pinctrl@1c20800/uart0-pa-pins";
		uart1_pins = "/soc/pinctrl@1c20800/uart1-pins";
		uart1_rts_cts_pins = "/soc/pinctrl@1c20800/uart1-rts-cts-pins";
		uart2_pins = "/soc/pinctrl@1c20800/uart2-pins";
		uart2_rts_cts_pins = "/soc/pinctrl@1c20800/uart2-rts-cts-pins";
		uart3_pins = "/soc/pinctrl@1c20800/uart3-pins";
		uart3_rts_cts_pins = "/soc/pinctrl@1c20800/uart3-rts-cts-pins";
		emac = "/soc/ethernet@1c30000";
		mdio = "/soc/ethernet@1c30000/mdio";
		internal_mdio = "/soc/ethernet@1c30000/mdio-mux/mdio@1";
		int_mii_phy = "/soc/ethernet@1c30000/mdio-mux/mdio@1/ethernet-phy@1";
		external_mdio = "/soc/ethernet@1c30000/mdio-mux/mdio@2";
		spi0 = "/soc/spi@1c68000";
		spi1 = "/soc/spi@1c69000";
		wdt0 = "/soc/watchdog@1c20ca0";
		spdif = "/soc/spdif@1c21000";
		pwm = "/soc/pwm@1c21400";
		i2s0 = "/soc/i2s@1c22000";
		i2s1 = "/soc/i2s@1c22400";
		i2s2 = "/soc/i2s@1c22800";
		codec = "/soc/codec@1c22c00";
		uart0 = "/soc/serial@1c28000";
		uart1 = "/soc/serial@1c28400";
		uart2 = "/soc/serial@1c28800";
		uart3 = "/soc/serial@1c28c00";
		i2c0 = "/soc/i2c@1c2ac00";
		i2c1 = "/soc/i2c@1c2b000";
		i2c2 = "/soc/i2c@1c2b400";
		gic = "/soc/interrupt-controller@1c81000";
		csi = "/soc/camera@1cb0000";
		hdmi = "/soc/hdmi@1ee0000";
		hdmi_in = "/soc/hdmi@1ee0000/ports/port@0";
		hdmi_in_tcon0 = "/soc/hdmi@1ee0000/ports/port@0/endpoint";
		hdmi_out = "/soc/hdmi@1ee0000/ports/port@1";
		hdmi_out_con = "/soc/hdmi@1ee0000/ports/port@1/endpoint";
		hdmi_phy = "/soc/hdmi-phy@1ef0000";
		rtc = "/soc/rtc@1f00000";
		r_ccu = "/soc/clock@1f01400";
		codec_analog = "/soc/codec-analog@1f015c0";
		ir = "/soc/ir@1f02000";
		r_i2c = "/soc/i2c@1f02400";
		r_pio = "/soc/pinctrl@1f02c00";
		r_ir_rx_pin = "/soc/pinctrl@1f02c00/r-ir-rx-pin";
		r_i2c_pins = "/soc/pinctrl@1f02c00/r-i2c-pins";
		syscon = "/soc/system-control@1c00000";
		sram_c = "/soc/system-control@1c00000/sram@1d00000";
		ve_sram = "/soc/system-control@1c00000/sram@1d00000/sram-section@0";
		mali = "/soc/gpu@1c40000";
		ths = "/soc/ths@1c25000";
		cpu0 = "/cpus/cpu@0";
		cpu1 = "/cpus/cpu@1";
		cpu2 = "/cpus/cpu@2";
		cpu3 = "/cpus/cpu@3";
		cpu_thermal = "/thermal-zones/cpu-thermal";
		cpu_hot_trip = "/thermal-zones/cpu-thermal/trips/cpu-hot";
		cpu_very_hot_trip = "/thermal-zones/cpu-thermal/trips/cpu-very-hot";
		reg_ahci_5v = "/ahci-5v";
		reg_usb0_vbus = "/usb0-vbus";
		reg_usb1_vbus = "/usb1-vbus";
		reg_usb2_vbus = "/usb2-vbus";
		reg_vcc3v0 = "/vcc3v0";
		reg_vcc3v3 = "/vcc3v3";
		reg_vcc5v0 = "/vcc5v0";
		hdmi_con_in = "/connector/port/endpoint";
	};
};

 

 

Link to comment
Share on other sites

Adding dmesg output

Spoiler

[dom apr 12 17:51:42 2020] Booting Linux on physical CPU 0x0
[dom apr 12 17:51:42 2020] Linux version 5.4.31-sunxi (root@builder) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #20.02.11 SMP Thu Apr 9 21:47:57 CEST 2020
[dom apr 12 17:51:42 2020] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[dom apr 12 17:51:42 2020] CPU: div instructions available: patching division code
[dom apr 12 17:51:42 2020] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[dom apr 12 17:51:42 2020] OF: fdt: Machine model: Xunlong Orange Pi Lite
[dom apr 12 17:51:42 2020] Memory policy: Data cache writealloc
[dom apr 12 17:51:42 2020] cma: Reserved 128 MiB at 0x55c00000
[dom apr 12 17:51:42 2020] On node 0 totalpages: 131072
[dom apr 12 17:51:42 2020]   Normal zone: 1152 pages used for memmap
[dom apr 12 17:51:42 2020]   Normal zone: 0 pages reserved
[dom apr 12 17:51:42 2020]   Normal zone: 131072 pages, LIFO batch:31
[dom apr 12 17:51:42 2020] psci: probing for conduit method from DT.
[dom apr 12 17:51:42 2020] psci: Using PSCI v0.1 Function IDs from DT
[dom apr 12 17:51:42 2020] percpu: Embedded 20 pages/cpu s49868 r8192 d23860 u81920
[dom apr 12 17:51:42 2020] pcpu-alloc: s49868 r8192 d23860 u81920 alloc=20*4096
[dom apr 12 17:51:42 2020] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[dom apr 12 17:51:42 2020] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[dom apr 12 17:51:42 2020] Kernel command line: root=UUID=9754417e-30f6-43ee-8c0e-45bf1f1705cc rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=e25d4e67-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[dom apr 12 17:51:42 2020] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[dom apr 12 17:51:42 2020] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[dom apr 12 17:51:42 2020] allocated 524288 bytes of page_ext
[dom apr 12 17:51:42 2020] mem auto-init: stack:off, heap alloc:off, heap free:off
[dom apr 12 17:51:42 2020] Memory: 362780K/524288K available (9216K kernel code, 1053K rwdata, 2880K rodata, 1024K init, 316K bss, 30436K reserved, 131072K cma-reserved, 0K highmem)
[dom apr 12 17:51:42 2020] random: get_random_u32 called from __kmem_cache_create+0x2b/0x3ac with crng_init=0
[dom apr 12 17:51:42 2020] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[dom apr 12 17:51:42 2020] ftrace: allocating 41306 entries in 81 pages
[dom apr 12 17:51:42 2020] rcu: Hierarchical RCU implementation.
[dom apr 12 17:51:42 2020] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[dom apr 12 17:51:42 2020] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[dom apr 12 17:51:42 2020] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[dom apr 12 17:51:42 2020] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[dom apr 12 17:51:42 2020] GIC: Using split EOI/Deactivate mode
[dom apr 12 17:51:42 2020] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[dom apr 12 17:51:42 2020] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[dom apr 12 17:51:42 2020] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[dom apr 12 17:51:42 2020] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[dom apr 12 17:51:42 2020] Switching to timer-based delay loop, resolution 41ns
[dom apr 12 17:51:42 2020] Console: colour dummy device 80x30
[dom apr 12 17:51:42 2020] printk: console [tty1] enabled
[dom apr 12 17:51:42 2020] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[dom apr 12 17:51:42 2020] pid_max: default: 32768 minimum: 301
[dom apr 12 17:51:42 2020] LSM: Security Framework initializing
[dom apr 12 17:51:42 2020] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[dom apr 12 17:51:42 2020] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[dom apr 12 17:51:42 2020] *** VALIDATE tmpfs ***
[dom apr 12 17:51:42 2020] *** VALIDATE proc ***
[dom apr 12 17:51:42 2020] *** VALIDATE cgroup1 ***
[dom apr 12 17:51:42 2020] *** VALIDATE cgroup2 ***
[dom apr 12 17:51:42 2020] CPU: Testing write buffer coherency: ok
[dom apr 12 17:51:42 2020] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[dom apr 12 17:51:42 2020] Setting up static identity map for 0x40100000 - 0x40100054
[dom apr 12 17:51:42 2020] rcu: Hierarchical SRCU implementation.
[dom apr 12 17:51:42 2020] smp: Bringing up secondary CPUs ...
[dom apr 12 17:51:42 2020] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[dom apr 12 17:51:42 2020] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[dom apr 12 17:51:42 2020] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[dom apr 12 17:51:42 2020] smp: Brought up 1 node, 4 CPUs
[dom apr 12 17:51:42 2020] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[dom apr 12 17:51:42 2020] CPU: All CPU(s) started in HYP mode.
[dom apr 12 17:51:42 2020] CPU: Virtualization extensions available.
[dom apr 12 17:51:42 2020] devtmpfs: initialized
[dom apr 12 17:51:42 2020] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[dom apr 12 17:51:42 2020] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[dom apr 12 17:51:42 2020] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[dom apr 12 17:51:42 2020] xor: measuring software checksum speed
[dom apr 12 17:51:42 2020]    arm4regs  :  1255.000 MB/sec
[dom apr 12 17:51:42 2020]    8regs     :   874.000 MB/sec
[dom apr 12 17:51:42 2020]    32regs    :   826.000 MB/sec
[dom apr 12 17:51:42 2020]    neon      :  1270.000 MB/sec
[dom apr 12 17:51:42 2020] xor: using function: neon (1270.000 MB/sec)
[dom apr 12 17:51:42 2020] pinctrl core: initialized pinctrl subsystem
[dom apr 12 17:51:42 2020] NET: Registered protocol family 16
[dom apr 12 17:51:42 2020] DMA: preallocated 256 KiB pool for atomic coherent allocations
[dom apr 12 17:51:42 2020] audit: initializing netlink subsys (disabled)
[dom apr 12 17:51:42 2020] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
[dom apr 12 17:51:42 2020] cpuidle: using governor ladder
[dom apr 12 17:51:42 2020] cpuidle: using governor menu
[dom apr 12 17:51:42 2020] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[dom apr 12 17:51:42 2020] hw-breakpoint: maximum watchpoint size is 8 bytes.
[dom apr 12 17:51:42 2020] raid6: neonx8   gen()   707 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx8   xor()   590 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx4   gen()   727 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx4   xor()   616 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx2   gen()   663 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx2   xor()   584 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx1   gen()   495 MB/s
[dom apr 12 17:51:42 2020] raid6: neonx1   xor()   467 MB/s
[dom apr 12 17:51:42 2020] raid6: int32x8  gen()   267 MB/s
[dom apr 12 17:51:42 2020] raid6: int32x8  xor()   175 MB/s
[dom apr 12 17:51:42 2020] raid6: int32x4  gen()   285 MB/s
[dom apr 12 17:51:43 2020] raid6: int32x4  xor()   195 MB/s
[dom apr 12 17:51:43 2020] raid6: int32x2  gen()   255 MB/s
[dom apr 12 17:51:43 2020] raid6: int32x2  xor()   206 MB/s
[dom apr 12 17:51:43 2020] raid6: int32x1  gen()   200 MB/s
[dom apr 12 17:51:43 2020] raid6: int32x1  xor()   176 MB/s
[dom apr 12 17:51:43 2020] raid6: using algorithm neonx4 gen() 727 MB/s
[dom apr 12 17:51:43 2020] raid6: .... xor() 616 MB/s, rmw enabled
[dom apr 12 17:51:43 2020] raid6: using neon recovery algorithm
[dom apr 12 17:51:43 2020] iommu: Default domain type: Translated 
[dom apr 12 17:51:43 2020] SCSI subsystem initialized
[dom apr 12 17:51:43 2020] libata version 3.00 loaded.
[dom apr 12 17:51:43 2020] usbcore: registered new interface driver usbfs
[dom apr 12 17:51:43 2020] usbcore: registered new interface driver hub
[dom apr 12 17:51:43 2020] usbcore: registered new device driver usb
[dom apr 12 17:51:43 2020] mc: Linux media interface: v0.10
[dom apr 12 17:51:43 2020] videodev: Linux video capture interface: v2.00
[dom apr 12 17:51:43 2020] pps_core: LinuxPPS API ver. 1 registered
[dom apr 12 17:51:43 2020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[dom apr 12 17:51:43 2020] PTP clock support registered
[dom apr 12 17:51:43 2020] clocksource: Switched to clocksource arch_sys_counter
[dom apr 12 17:51:44 2020] *** VALIDATE bpf ***
[dom apr 12 17:51:44 2020] VFS: Disk quotas dquot_6.6.0
[dom apr 12 17:51:44 2020] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[dom apr 12 17:51:44 2020] *** VALIDATE ramfs ***
[dom apr 12 17:51:44 2020] thermal_sys: Registered thermal governor 'fair_share'
[dom apr 12 17:51:44 2020] thermal_sys: Registered thermal governor 'bang_bang'
[dom apr 12 17:51:44 2020] thermal_sys: Registered thermal governor 'step_wise'
[dom apr 12 17:51:44 2020] thermal_sys: Registered thermal governor 'power_allocator'
[dom apr 12 17:51:44 2020] NET: Registered protocol family 2
[dom apr 12 17:51:44 2020] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[dom apr 12 17:51:44 2020] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[dom apr 12 17:51:44 2020] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[dom apr 12 17:51:44 2020] TCP: Hash tables configured (established 4096 bind 4096)
[dom apr 12 17:51:44 2020] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[dom apr 12 17:51:44 2020] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[dom apr 12 17:51:44 2020] NET: Registered protocol family 1
[dom apr 12 17:51:44 2020] RPC: Registered named UNIX socket transport module.
[dom apr 12 17:51:44 2020] RPC: Registered udp transport module.
[dom apr 12 17:51:44 2020] RPC: Registered tcp transport module.
[dom apr 12 17:51:44 2020] RPC: Registered tcp NFSv4.1 backchannel transport module.
[dom apr 12 17:51:44 2020] Trying to unpack rootfs image as initramfs...
[dom apr 12 17:51:44 2020] Freeing initrd memory: 8480K
[dom apr 12 17:51:44 2020] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[dom apr 12 17:51:44 2020] Initialise system trusted keyrings
[dom apr 12 17:51:44 2020] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[dom apr 12 17:51:44 2020] zbud: loaded
[dom apr 12 17:51:44 2020] NFS: Registering the id_resolver key type
[dom apr 12 17:51:44 2020] Key type id_resolver registered
[dom apr 12 17:51:44 2020] Key type id_legacy registered
[dom apr 12 17:51:44 2020] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[dom apr 12 17:51:44 2020] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[dom apr 12 17:51:44 2020] JFS: nTxBlock = 3924, nTxLock = 31395
[dom apr 12 17:51:44 2020] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[dom apr 12 17:51:44 2020] Key type asymmetric registered
[dom apr 12 17:51:44 2020] Asymmetric key parser 'x509' registered
[dom apr 12 17:51:44 2020] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[dom apr 12 17:51:44 2020] io scheduler mq-deadline registered
[dom apr 12 17:51:44 2020] io scheduler kyber registered
[dom apr 12 17:51:44 2020] io scheduler bfq registered
[dom apr 12 17:51:44 2020] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[dom apr 12 17:51:44 2020] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[dom apr 12 17:51:44 2020] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[dom apr 12 17:51:44 2020] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[dom apr 12 17:51:44 2020] printk: console [ttyS0] disabled
[dom apr 12 17:51:44 2020] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 38, base_baud = 1500000) is a U6_16550A
[dom apr 12 17:51:44 2020] printk: console [ttyS0] enabled
[dom apr 12 17:51:44 2020] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0a8f2b8)
[dom apr 12 17:51:44 2020] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0a8bea4)
[dom apr 12 17:51:44 2020] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[dom apr 12 17:51:44 2020] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[dom apr 12 17:51:44 2020] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[dom apr 12 17:51:44 2020] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0a8e8a4)
[dom apr 12 17:51:44 2020] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[dom apr 12 17:51:44 2020] [drm] No driver support for vblank timestamp query.
[dom apr 12 17:51:44 2020] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[dom apr 12 17:51:44 2020] [drm] Cannot find any crtc or sizes
[dom apr 12 17:51:44 2020] [drm] Cannot find any crtc or sizes
[dom apr 12 17:51:44 2020] brd: module loaded
[dom apr 12 17:51:44 2020] loop: module loaded
[dom apr 12 17:51:44 2020] libphy: Fixed MDIO Bus: probed
[dom apr 12 17:51:44 2020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[dom apr 12 17:51:44 2020] ehci-platform: EHCI generic platform driver
[dom apr 12 17:51:44 2020] ehci-platform 1c1a000.usb: EHCI Host Controller
[dom apr 12 17:51:44 2020] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[dom apr 12 17:51:44 2020] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[dom apr 12 17:51:44 2020] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[dom apr 12 17:51:44 2020] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[dom apr 12 17:51:44 2020] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:44 2020] usb usb1: Product: EHCI Host Controller
[dom apr 12 17:51:44 2020] usb usb1: Manufacturer: Linux 5.4.31-sunxi ehci_hcd
[dom apr 12 17:51:44 2020] usb usb1: SerialNumber: 1c1a000.usb
[dom apr 12 17:51:44 2020] hub 1-0:1.0: USB hub found
[dom apr 12 17:51:44 2020] hub 1-0:1.0: 1 port detected
[dom apr 12 17:51:44 2020] ehci-platform 1c1b000.usb: EHCI Host Controller
[dom apr 12 17:51:44 2020] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2
[dom apr 12 17:51:44 2020] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[dom apr 12 17:51:44 2020] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[dom apr 12 17:51:44 2020] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[dom apr 12 17:51:44 2020] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:44 2020] usb usb2: Product: EHCI Host Controller
[dom apr 12 17:51:44 2020] usb usb2: Manufacturer: Linux 5.4.31-sunxi ehci_hcd
[dom apr 12 17:51:44 2020] usb usb2: SerialNumber: 1c1b000.usb
[dom apr 12 17:51:44 2020] hub 2-0:1.0: USB hub found
[dom apr 12 17:51:44 2020] hub 2-0:1.0: 1 port detected
[dom apr 12 17:51:44 2020] ehci-platform 1c1c000.usb: EHCI Host Controller
[dom apr 12 17:51:44 2020] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 3
[dom apr 12 17:51:44 2020] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[dom apr 12 17:51:44 2020] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[dom apr 12 17:51:44 2020] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[dom apr 12 17:51:44 2020] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:44 2020] usb usb3: Product: EHCI Host Controller
[dom apr 12 17:51:44 2020] usb usb3: Manufacturer: Linux 5.4.31-sunxi ehci_hcd
[dom apr 12 17:51:44 2020] usb usb3: SerialNumber: 1c1c000.usb
[dom apr 12 17:51:44 2020] hub 3-0:1.0: USB hub found
[dom apr 12 17:51:44 2020] hub 3-0:1.0: 1 port detected
[dom apr 12 17:51:44 2020] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[dom apr 12 17:51:44 2020] ohci-platform: OHCI generic platform driver
[dom apr 12 17:51:44 2020] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[dom apr 12 17:51:44 2020] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 4
[dom apr 12 17:51:44 2020] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[dom apr 12 17:51:44 2020] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[dom apr 12 17:51:44 2020] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:44 2020] usb usb4: Product: Generic Platform OHCI controller
[dom apr 12 17:51:44 2020] usb usb4: Manufacturer: Linux 5.4.31-sunxi ohci_hcd
[dom apr 12 17:51:44 2020] usb usb4: SerialNumber: 1c1a400.usb
[dom apr 12 17:51:44 2020] hub 4-0:1.0: USB hub found
[dom apr 12 17:51:44 2020] hub 4-0:1.0: 1 port detected
[dom apr 12 17:51:44 2020] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[dom apr 12 17:51:44 2020] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 5
[dom apr 12 17:51:44 2020] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[dom apr 12 17:51:44 2020] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[dom apr 12 17:51:44 2020] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:44 2020] usb usb5: Product: Generic Platform OHCI controller
[dom apr 12 17:51:44 2020] usb usb5: Manufacturer: Linux 5.4.31-sunxi ohci_hcd
[dom apr 12 17:51:44 2020] usb usb5: SerialNumber: 1c1b400.usb
[dom apr 12 17:51:44 2020] hub 5-0:1.0: USB hub found
[dom apr 12 17:51:44 2020] hub 5-0:1.0: 1 port detected
[dom apr 12 17:51:44 2020] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[dom apr 12 17:51:44 2020] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 6
[dom apr 12 17:51:44 2020] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[dom apr 12 17:51:45 2020] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[dom apr 12 17:51:45 2020] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:45 2020] usb usb6: Product: Generic Platform OHCI controller
[dom apr 12 17:51:45 2020] usb usb6: Manufacturer: Linux 5.4.31-sunxi ohci_hcd
[dom apr 12 17:51:45 2020] usb usb6: SerialNumber: 1c1c400.usb
[dom apr 12 17:51:45 2020] hub 6-0:1.0: USB hub found
[dom apr 12 17:51:45 2020] hub 6-0:1.0: 1 port detected
[dom apr 12 17:51:45 2020] usbcore: registered new interface driver usb-storage
[dom apr 12 17:51:45 2020] usb_phy_generic usb_phy_generic.2.auto: usb_phy_generic.2.auto supply vcc not found, using dummy regulator
[dom apr 12 17:51:45 2020] musb-hdrc musb-hdrc.3.auto: MUSB HDRC host driver
[dom apr 12 17:51:45 2020] musb-hdrc musb-hdrc.3.auto: new USB bus registered, assigned bus number 7
[dom apr 12 17:51:45 2020] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[dom apr 12 17:51:45 2020] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[dom apr 12 17:51:45 2020] usb usb7: Product: MUSB HDRC host driver
[dom apr 12 17:51:45 2020] usb usb7: Manufacturer: Linux 5.4.31-sunxi musb-hcd
[dom apr 12 17:51:45 2020] usb usb7: SerialNumber: musb-hdrc.3.auto
[dom apr 12 17:51:45 2020] hub 7-0:1.0: USB hub found
[dom apr 12 17:51:45 2020] hub 7-0:1.0: 1 port detected
[dom apr 12 17:51:45 2020] sun6i-rtc 1f00000.rtc: registered as rtc0
[dom apr 12 17:51:45 2020] sun6i-rtc 1f00000.rtc: RTC enabled
[dom apr 12 17:51:45 2020] i2c /dev entries driver
[dom apr 12 17:51:45 2020] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[dom apr 12 17:51:45 2020] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[dom apr 12 17:51:45 2020] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[dom apr 12 17:51:45 2020] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[dom apr 12 17:51:45 2020] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[dom apr 12 17:51:45 2020] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[dom apr 12 17:51:45 2020] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[dom apr 12 17:51:45 2020] ledtrig-cpu: registered to indicate activity on CPUs
[dom apr 12 17:51:45 2020] hidraw: raw HID events driver (C) Jiri Kosina
[dom apr 12 17:51:45 2020] usbcore: registered new interface driver usbhid
[dom apr 12 17:51:45 2020] usbhid: USB HID core driver
[dom apr 12 17:51:45 2020] Initializing XFRM netlink socket
[dom apr 12 17:51:45 2020] NET: Registered protocol family 10
[dom apr 12 17:51:45 2020] mmc1: new high speed SDIO card at address 0001
[dom apr 12 17:51:45 2020] mmc0: host does not support reading read-only switch, assuming write-enable
[dom apr 12 17:51:45 2020] mmc0: new high speed SDHC card at address aaaa
[dom apr 12 17:51:45 2020] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[dom apr 12 17:51:45 2020]  mmcblk0: p1
[dom apr 12 17:51:45 2020] Segment Routing with IPv6
[dom apr 12 17:51:45 2020] NET: Registered protocol family 17
[dom apr 12 17:51:45 2020] NET: Registered protocol family 15
[dom apr 12 17:51:45 2020] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[dom apr 12 17:51:45 2020] 8021q: 802.1Q VLAN Support v1.8
[dom apr 12 17:51:45 2020] Key type dns_resolver registered
[dom apr 12 17:51:45 2020] Registering SWP/SWPB emulation handler
[dom apr 12 17:51:45 2020] registered taskstats version 1
[dom apr 12 17:51:45 2020] Loading compiled-in X.509 certificates
[dom apr 12 17:51:45 2020] zswap: loaded using pool lzo/zbud
[dom apr 12 17:51:45 2020] Key type ._fscrypt registered
[dom apr 12 17:51:45 2020] Key type .fscrypt registered
[dom apr 12 17:51:45 2020] Btrfs loaded, crc32c=crc32c-generic
[dom apr 12 17:51:45 2020] Key type encrypted registered
[dom apr 12 17:51:45 2020] sun6i-rtc 1f00000.rtc: setting system clock to 2020-04-12T15:52:07 UTC (1586706727)
[dom apr 12 17:51:45 2020] of_cfs_init
[dom apr 12 17:51:45 2020] of_cfs_init: OK
[dom apr 12 17:51:45 2020] Freeing unused kernel memory: 1024K
[dom apr 12 17:51:45 2020] usb 2-1: new high-speed USB device number 2 using ehci-platform
[dom apr 12 17:51:45 2020] usb 3-1: new high-speed USB device number 2 using ehci-platform
[dom apr 12 17:51:45 2020] Run /init as init process
[dom apr 12 17:51:45 2020] usb 2-1: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[dom apr 12 17:51:45 2020] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[dom apr 12 17:51:45 2020] usb 2-1: Product: USB 10/100 LAN
[dom apr 12 17:51:45 2020] usb 2-1: Manufacturer: Realtek
[dom apr 12 17:51:45 2020] usb 2-1: SerialNumber: 00E04C3607F6
[dom apr 12 17:51:45 2020] usb 3-1: New USB device found, idVendor=04e8, idProduct=6863, bcdDevice= 2.28
[dom apr 12 17:51:45 2020] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[dom apr 12 17:51:45 2020] usb 3-1: Product: SAMSUNG_Android
[dom apr 12 17:51:45 2020] usb 3-1: Manufacturer: SAMSUNG
[dom apr 12 17:51:45 2020] usb 3-1: SerialNumber: 6c07b71f
[dom apr 12 17:51:45 2020] random: fast init done
[dom apr 12 17:51:45 2020] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[dom apr 12 17:51:46 2020] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[dom apr 12 17:51:46 2020] systemd[1]: Detected architecture arm.
[dom apr 12 17:51:46 2020] systemd[1]: Set hostname to <orangepilite>.
[dom apr 12 17:51:47 2020] random: systemd: uninitialized urandom read (16 bytes read)
[dom apr 12 17:51:47 2020] systemd[1]: Created slice User and Session Slice.
[dom apr 12 17:51:47 2020] random: systemd: uninitialized urandom read (16 bytes read)
[dom apr 12 17:51:47 2020] systemd[1]: Reached target Swap.
[dom apr 12 17:51:47 2020] random: systemd: uninitialized urandom read (16 bytes read)
[dom apr 12 17:51:47 2020] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[dom apr 12 17:51:47 2020] systemd[1]: Started ntp-systemd-netif.path.
[dom apr 12 17:51:47 2020] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[dom apr 12 17:51:47 2020] systemd[1]: Reached target Local Encrypted Volumes.
[dom apr 12 17:51:47 2020] systemd[1]: Reached target Remote File Systems.
[dom apr 12 17:51:47 2020] udc-core: couldn't find an available UDC - added [g_serial] to list of pending drivers
[dom apr 12 17:51:47 2020] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[dom apr 12 17:51:47 2020] systemd-journald[290]: Received request to flush runtime journal from PID 1
[dom apr 12 17:51:47 2020] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[dom apr 12 17:51:47 2020] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[dom apr 12 17:51:47 2020] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[dom apr 12 17:51:48 2020] Registered IR keymap rc-empty
[dom apr 12 17:51:48 2020] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[dom apr 12 17:51:48 2020] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[dom apr 12 17:51:48 2020] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input1
[dom apr 12 17:51:48 2020] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: IRQ ppmmu2 not found
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: IRQ ppmmu3 not found
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: IRQ pp2 not found
[dom apr 12 17:51:48 2020] Registered IR keymap rc-cec
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: IRQ pp3 not found
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[dom apr 12 17:51:48 2020] rc rc1: dw_hdmi as /devices/platform/soc/1ee0000.hdmi/rc/rc1
[dom apr 12 17:51:48 2020] input: dw_hdmi as /devices/platform/soc/1ee0000.hdmi/rc/rc1/input2
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: bus rate = 200000000
[dom apr 12 17:51:48 2020] lima 1c40000.gpu: mod rate = 384000000
[dom apr 12 17:51:48 2020] [drm] Initialized lima 1.0.0 20190217 for 1c40000.gpu on minor 1
[dom apr 12 17:51:48 2020] usbcore: registered new interface driver r8152
[dom apr 12 17:51:48 2020] usbcore: registered new interface driver cdc_ether
[dom apr 12 17:51:48 2020] rndis_host 3-1:1.0 usb0: register 'rndis_host' at usb-1c1c000.usb-1, RNDIS device, 7e:90:88:c1:b0:7f
[dom apr 12 17:51:48 2020] usbcore: registered new interface driver rndis_host
[dom apr 12 17:51:48 2020] zram: Added device: zram0
[dom apr 12 17:51:48 2020] zram: Added device: zram1
[dom apr 12 17:51:48 2020] zram: Added device: zram2
[dom apr 12 17:51:48 2020] asoc-simple-card sound: i2s-hifi <-> 1c22800.i2s mapping ok
[dom apr 12 17:51:48 2020] usb 2-1: reset high-speed USB device number 2 using ehci-platform
[dom apr 12 17:51:48 2020] zram1: detected capacity change from 0 to 257720320
[dom apr 12 17:51:48 2020] r8152 2-1:1.0 eth0: v1.10.11
[dom apr 12 17:51:48 2020] r8152 2-1:1.0 enx00e04c3607f6: renamed from eth0
[dom apr 12 17:51:49 2020] Adding 251676k swap on /dev/zram1.  Priority:5 extents:1 across:251676k SSFS
[dom apr 12 17:51:49 2020] random: crng init done
[dom apr 12 17:51:49 2020] random: 7 urandom warning(s) missed due to ratelimiting
[dom apr 12 17:51:49 2020] zram0: detected capacity change from 0 to 52428800
[dom apr 12 17:51:49 2020] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[dom apr 12 17:51:49 2020] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[dom apr 12 17:51:50 2020] IPv6: ADDRCONF(NETDEV_CHANGE): enx00e04c3607f6: link becomes ready
[dom apr 12 17:51:50 2020] r8152 2-1:1.0 enx00e04c3607f6: carrier on
[dom apr 12 17:51:52 2020] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[dom apr 12 17:51:52 2020] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[dom apr 12 17:52:15 2020] vcc3v0: disabling
[dom apr 12 17:52:15 2020] vcc5v0: disabling
[dom apr 12 17:54:20 2020] usb usb2-port1: disabled by hub (EMI?), re-enabling...
[dom apr 12 17:54:20 2020] usb 2-1: USB disconnect, device number 2
[dom apr 12 17:54:24 2020] usb 2-1: new high-speed USB device number 3 using ehci-platform
[dom apr 12 17:54:24 2020] usb 2-1: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[dom apr 12 17:54:24 2020] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[dom apr 12 17:54:24 2020] usb 2-1: Product: USB 10/100 LAN
[dom apr 12 17:54:24 2020] usb 2-1: Manufacturer: Realtek
[dom apr 12 17:54:24 2020] usb 2-1: SerialNumber: 00E04C3607F6
[dom apr 12 17:54:24 2020] usb 2-1: reset high-speed USB device number 3 using ehci-platform
[dom apr 12 17:54:24 2020] r8152 2-1:1.0 eth0: v1.10.11
[dom apr 12 17:54:24 2020] r8152 2-1:1.0 enx00e04c3607f6: renamed from eth0
[dom apr 12 17:54:27 2020] IPv6: ADDRCONF(NETDEV_CHANGE): enx00e04c3607f6: link becomes ready
[dom apr 12 17:54:27 2020] r8152 2-1:1.0 enx00e04c3607f6: carrier on

 

 

Link to comment
Share on other sites

  • Solution
18 minutes ago, Christian_ said:

I cannot find those sections in decompiled dtb file:

Of course, I've shown the source located in kernel tree, not a decompiled version ...

 

I've also said something wrong : I've a local patch not included in Armbian tree :



diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
index 476ae8e..a4557cc 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
@@ -106,6 +106,10 @@
     status = "okay";
 };
 
+&ehci0 {
+    status = "okay";
+};
+
 &ehci1 {
     status = "okay";
 };
@@ -152,6 +156,10 @@
     };
 };
 
+&ohci0 {
+    status = "okay";
+};
+
 &ohci1 {
     status = "okay";
 };
@@ -185,7 +193,19 @@
     status = "okay";
 };
 
+&reg_usb0_vbus {
+    gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
+    status = "okay";
+};
+
+&usb_otg {
+    dr_mode = "host";
+    status = "okay";
+};
+
 &usbphy {
     /* USB VBUS is always on */
+    usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
+    usb0_vbus-supply = <&reg_usb0_vbus>;
     status = "okay";
 };


You can use that patch if you are doing you own build ...

... or you can tweak your decompile DT to make sure that USB nodes are matching that, or use my own DTB attached, of course after backing up yours first ...

 

sun8i-h3-orangepi-lite.dtb

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines