mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
       [not found] <63687e34-f354-81d3-aed7-1a59866925c5@eurekelettronica.it>
@ 2017-02-21 13:04 ` gianluca
  2017-02-21 14:56   ` gianluca
  2017-02-21 15:03   ` Lucas Stach
  0 siblings, 2 replies; 17+ messages in thread
From: gianluca @ 2017-02-21 13:04 UTC (permalink / raw)
  To: barebox

[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]


Hello everybody!

I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME 
device-tree is modified by barebox to enable/disable the ldb or hdmi 
depending on what is found.

During Linux bootup with HDMI only, it works with no hassle.

If booting with ldb it does not start the ldb driver registration due to 
a panel/bridge missing.

In the config of linux kernel I have (as imx_v6_v7_defconfig) all drm 
and simple panel enabled.

What is missing???

Best regards,
Gianluca

-------- Forwarded Message --------
Subject: Barebox 2017.02 works great but no Linux Framebuffer... :-/
Date: Mon, 20 Feb 2017 16:36:06 +0100
From: gianluca <gianlucarenzi@eurekelettronica.it>
To: Sascha Hauer <s.hauer@pengutronix.de>

Hello Sascha,

During last week I was able to activate/deactivate the hdmi and ldb 
nodes from internal device-tree of Barebox and everything is working great.

Now I would like to boot up with the kernel 4.9.7 with the following 
commandline but it fails.

The kernelcmd line is:

> console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  video=mxcfb0:dev=ldb,if=RGB24,bpp=32 fbmem=32M vmalloc=400M

The problem is the ldb (imx-ldb.c you wrote in kernel 
drivers/gpu/drm/imx...). It fails with the following error:

> [    7.526349] imx-ldb 2000000.aips-bus:ldb@020e0008: panel/bridge not found: /panel --
> [    7.526369] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc097aaa0): -517
> [    7.526785] imx-drm display-subsystem: master bind failed: -517

The device-tree is attached.

The device tree is the same as Barebox (it has only an #included 
commented out).

Both hdmi and ldb nodes are initially left "disabled" then barebox 
enable the node corresponding to the hardware found (i.e. it changes the 
status to "okay")

In barebox everything is working.

In linux NOT. What is exactly a 'channel->bridge' and 'channel->panel' 
in device-tree therminology?

Barebox is working without it, so I suppose it was working in Linux 
kernel too...

Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212


[-- Attachment #2: imx6q-eurek-ek360.dts --]
[-- Type: text/plain, Size: 13043 bytes --]

/*
 * $Id: imx6q-eurek-ek360.dts,v 1.16 2017/02/20 12:18:14 gianluca Exp $
 *
 * Copyright 2016/2017 Gianluca Renzi, Eurek Elettronica S.R.L.
 * Copyright 2014 Raphaël Poggi
 * Copyright 2012 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <arm/imx6q.dtsi>
#include "imx6q.dtsi"

/ {
	model = "Eurek EK360 i.MX6Q/D";
	compatible = "eurek,ek360", "fsl,imx6q";

	chosen {
		linux,stdout-path = &uart3;
	};

	memory {
		reg = <0x10000000 0x40000000>;
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_1p2v: regulator@0 {
			compatible = "regulator-fixed";
			reg = <0>;
			regulator-name = "1P2V";
			regulator-min-microvolt = <1200000>;
			regulator-max-microvolt = <1200000>;
			regulator-always-on;
		};

		reg_1p5v: regulator@1 {
			compatible = "regulator-fixed";
			reg = <1>;
			regulator-name = "1P5V";
			regulator-min-microvolt = <1500000>;
			regulator-max-microvolt = <1500000>;
			regulator-always-on;
		};

		reg_2p5v: regulator@2 {
			compatible = "regulator-fixed";
			reg = <2>;
			regulator-name = "2P5V";
			regulator-min-microvolt = <2500000>;
			regulator-max-microvolt = <2500000>;
			regulator-always-on;
		};

		reg_3p3v: regulator@3 {
			compatible = "regulator-fixed";
			reg = <3>;
			regulator-name = "3P3V";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			regulator-always-on;
		};

		reg_usb_otg_vbus: regulator@4 {
			compatible = "regulator-fixed";
			reg = <4>;
			regulator-name = "usb_otg_vbus";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
			enable-active-low;
		};

		reg_usb_h1_vbus: regulator@5 {
			compatible = "regulator-fixed";
			reg = <5>;
			regulator-name = "usb_h1_vbus";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			gpio = <&gpio3 31 GPIO_ACTIVE_LOW>;
			enable-active-low;
			regulator-always-on;
		};

		reg_sdio_en: regulator@6 {
			compatible = "regulator-fixed";
			reg = <6>;
			regulator-name = "sdio_en";
			regulator-min-microvolt = <33000000>;
			regulator-max-microvolt = <33000000>;
			gpio = <&gpio2 3 GPIO_ACTIVE_LOW>;
			enable-active-low;
			regulator-always-on;
		};

		reg_5p0v: regulator@7 {
			compatible = "regulator-fixed";
			reg = <7>;
			regulator-name = "5P0V";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			regulator-always-on;
		};

	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_led>;

		led0: led0 {
			label = "led";
			gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};
	};

	backlight_lvds: backlight-lvds {
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_pwm1>;
		compatible = "pwm-backlight";
		pwms = <&pwm1 0 6666666>;
		brightness-levels = <0 4 8 16 32 64 128 255>;
		default-brightness-level = <6>;
		power-supply = <&reg_3p3v>;
		status = "okay";
	};

	sound {
		compatible = "fsl,imx6-ek360-sgtl5000",
			     "fsl,imx-audio-sgtl5000";
		model = "imx6-ek360-sgtl5000";
		ssi-controller = <&ssi1>;
		audio-codec = <&codec>;
		micbias-resistor-k-ohms = <2>;
		micbias-voltage-m-volts = <3000>;
		audio-routing =
			"MIC_IN", "Mic Jack",
			"Mic Jack", "Mic Bias",
			"Headphone Jack", "HP_OUT";
		mux-int-port = <1>;
		mux-ext-port = <3>;
	};

	panel {
		backlight = <&backlight_lvds>;
		port {
			in_lvds0: endpoint {
				remote-endpoint = <&lvds0_out>;
			};
		};
	};

};

&iomuxc {
	pinctrl-names = "default";

	imx6q-ek360 {
		pinctrl_uart1: uart1grp {
			/* RS232 port */
			fsl,pins = <
				MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
				MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0b1
			>;
		};

		pinctrl_uart2: uart2grp {
			/* RS485 port */
			fsl,pins = <
				MX6QDL_PAD_EIM_D26__UART2_TX_DATA	0x1b0b1
				MX6QDL_PAD_EIM_D27__UART2_RX_DATA	0x1b0b1
				/* UART2_DIR */
				MX6QDL_PAD_EIM_D18__GPIO3_IO18			0x1b0b1
			>;
		};

		pinctrl_uart3: uart3grp {
			/* debug port, serial console */
			fsl,pins = <
				MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
				MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
			>;
		};

		pinctrl_usdhc2: usdhc2grp {
			/* SDIO / WiFi Module */
			fsl,pins = <
				MX6QDL_PAD_SD2_CMD__SD2_CMD			0x17059
				MX6QDL_PAD_SD2_CLK__SD2_CLK			0x10059
				MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
				MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
				MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
				MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
				/* SD2_EN */
				MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x1b0b1
			>;
		};

		pinctrl_usdhc3: usdhc3grp {
			/* uSD/MMC */
			fsl,pins = <
				MX6QDL_PAD_SD3_CMD__SD3_CMD			0x17059
				MX6QDL_PAD_SD3_CLK__SD3_CLK			0x10059
				MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
				MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
				MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
				MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
				/* SD3_CD */
				MX6QDL_PAD_NANDF_D0__GPIO2_IO00		0x1f071
				/* SD3_WP */
				MX6QDL_PAD_NANDF_D1__GPIO2_IO01		0x1f071
			>;
		};

		pinctrl_usdhc4: usdhc4grp {
			/* eMMC */
			fsl,pins = <
				MX6QDL_PAD_SD4_CMD__SD4_CMD			0x17059
				MX6QDL_PAD_SD4_CLK__SD4_CLK			0x10059
				MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
				MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
				MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
				MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
				MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
				MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
				MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
				MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
			>;
		};

		pinctrl_i2c1: i2c1grp {
			fsl,pins = <
				MX6QDL_PAD_CSI0_DAT8__I2C1_SDA		0x4001b8b1
				MX6QDL_PAD_CSI0_DAT9__I2C1_SCL		0x4001b8b1
			>;
		};

		pinctrl_i2c2: i2c2grp {
			fsl,pins = <
				MX6QDL_PAD_KEY_ROW3__I2C2_SDA		0x4001b8b1
				MX6QDL_PAD_KEY_COL3__I2C2_SCL		0x4001b8b1
			>;
		};

		pinctrl_i2c3: i2c3grp {
			fsl,pins = <
				MX6QDL_PAD_GPIO_6__I2C3_SDA			0x4001b8b1
				MX6QDL_PAD_GPIO_3__I2C3_SCL			0x4001b8b1
			>;
		};

		pinctrl_enet: enetgrp {
			fsl,pins = <
				MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b0b0
				MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b0b0
				MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b0b0
				MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b0b0
				MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b0b0
				MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b0b0
				MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b0b0
				MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b0b0
				MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b0b0
				MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b0b0
				MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b0b0
				MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b0b0
				MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
				MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
				MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
				/* KSZ9031 PHY Reset */
				MX6QDL_PAD_EIM_D23__GPIO3_IO23			0x80000000
			>;
		};

		pinctrl_usbh1: usbh1grp {
			fsl,pins = <
				MX6QDL_PAD_EIM_D30__USB_H1_OC			0x1b0b0
			>;
		};

		pinctrl_usbh1_vcc: usbh1vccgrp {
			fsl,pins = <
				MX6QDL_PAD_EIM_D31__GPIO3_IO31			0x1b0b0
			>;
		};

		pinctrl_usbotg: usbotggrp {
			fsl,pins = <
				MX6QDL_PAD_GPIO_1__USB_OTG_ID			0x17059
				MX6QDL_PAD_EIM_D21__USB_OTG_OC			0x1b0b0
			>;
		};

		pinctrl_usbotg_vcc: usbotgvccgrp {
			fsl,pins = <
				MX6QDL_PAD_EIM_D22__GPIO3_IO22			0x1b0b1
			>;
		};

		pinctrl_pwm1: pwm1grp {
			fsl,pins = <
				MX6QDL_PAD_SD1_DAT3__PWM1_OUT			0x1b0b1
			>;
		};

		pinctrl_audmux: audmuxgrp {
			fsl,pins = <
				/* SGTL5000 sys_mclk */
				MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x030b0
				MX6QDL_PAD_CSI0_DAT4__AUD3_TXC		0x130b0
				MX6QDL_PAD_CSI0_DAT5__AUD3_TXD		0x110b0
				MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS		0x130b0
				MX6QDL_PAD_CSI0_DAT7__AUD3_RXD		0x130b0
			>;
		};

		pinctrl_led: ledgrp {
			fsl,pins = <
				/* user led */
				MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11		0x1b0b1
			>;
		};

		pinctrl_flexcan1: flexcan1grp {
			fsl,pins = <
				MX6QDL_PAD_GPIO_7__FLEXCAN1_TX		0x1b0b0
				MX6QDL_PAD_GPIO_8__FLEXCAN1_RX		0x1b0b0
			>;
		};

		pinctrl_display: dispgrp {
			fsl,pins = <
				/* DISP GPIO2 1,20 */
				MX6QDL_PAD_SD1_CLK__GPIO1_IO20			0x1b0b1
				/* DISP INT   1,17 */
				MX6QDL_PAD_SD1_DAT1__GPIO1_IO17			0x1b0b1
				/* DISP GPIO1 1,19 */
				MX6QDL_PAD_SD1_DAT2__GPIO1_IO19			0x1b0b1
			>;
		};
	};
};

&can1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_flexcan1>;
	xceiver-supply = <&reg_5p0v>;
	status = "okay";
};

&audmux {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_audmux>;
	status = "okay";
};

&ssi1 {
	status = "okay";
};

&pwm1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm1>;
	status = "okay";
};

&fec {
	phy-supply=<&reg_3p3v>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_enet>;
	phy-mode = "rgmii";
	phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
	phy-reset-duration = <100>;
	status = "okay";
};

&uart1 {
	/* RS-232C Port */
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart1>;
	status = "okay";
};

&uart2 {
	/* RS-485 Port */
	compatible = "fsl,imx6-ekuart";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart2>;
	rs485-rts-active-low;
	rts-gpio = <&gpio3 18 GPIO_ACTIVE_LOW>;
	linux,rs485-enabled-at-boot-time;
	rs485-rts-delay = <0 0>;
	status = "okay";
};

&uart3 {
	/* Debug port / console */
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart3>;
	status = "okay";
};

&usdhc2 {
	/* WiFi SDIO */
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc2>;
	bus-width = <4>;
	non-removable;
	vmmc-supply = <&reg_sdio_en>;
	vqmmc-supply = <&reg_3p3v>;
	voltage-ranges = <3300 3300>;
	no-1-8-v;
	max-frequency = <25000000>;
	status = "okay";
};

&usdhc3 {
	/* uSD / MMC */
	compatible = "fsl,imx6q-usdhc";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc3>;
	cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
	bus-width = <4>;
	vmmc-supply = <&reg_3p3v>;
	vqmmc-supply = <&reg_3p3v>;
	voltage-ranges = <3300 3300>;
	no-1-8-v;
	status = "okay";
};

&usdhc4 {
	/* eMMC */
	compatible = "fsl,imx6q-usdhc";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc4>;
	bus-width = <8>;
	vmmc-supply = <&reg_3p3v>;
	vqmmc-supply = <&reg_3p3v>;
	voltage-ranges = <3300 3300>;
	no-1-8-v;
	non-removable;
	status = "okay";
};

&i2c1 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c1>;
	status = "okay";

	codec: sgtl5000@0a {
		compatible = "fsl,sgtl5000";
		reg = <0x0a>;
		clocks = <&clks IMX6QDL_CLK_CKO>;
		VDDA-supply = <&reg_3p3v>;
		VDDIO-supply = <&reg_3p3v>;
		VDDD-supply = <&reg_1p2v>;
	};

	at24@50 {
		compatible = "at24,24c64";
		pagesize = <64>;
		reg = <0x50>;
	};

	pcf8563: rtc@51 {
		compatible = "phg,pcf8563";
		reg = <0x51>;
	};
};

&i2c2 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c2>;
	status = "okay";
};

&i2c3 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c3>;
	status = "okay";
};

&usbh1 {
	vbus-supply = <&reg_usb_h1_vbus>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usbh1
					&pinctrl_usbh1_vcc>;
	dr_mode = "host";
	status = "okay";
};

&usbotg {
	vbus-supply = <&reg_usb_otg_vbus>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usbotg
					&pinctrl_usbotg_vcc>;
	dr_mode = "otg";
	status = "okay";
};

&hdmi {
	ddc-i2c-bus = <&i2c2>;
	status = "disabled";
};

&ldb {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "disabled";

	lvds0: lvds-channel@0 {
		fsl,data-mapping = "spwg";
		fsl,data-width = <24>;
		status = "disabled";

		display-timings {
			native-mode = <&am1024600l>;
			/* DISPLAY 800x480 */
			ph800480t013: ph800480t013 {
				clock-frequency = <33300000>;
				hactive = <800>;
				vactive = <480>;
				hback-porch = <46>;
				hfront-porch = <210>;
				vback-porch = <23>;
				vfront-porch = <22>;
				hsync-len = <1>;
				vsync-len = <1>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};
			/* DISPLAY 1024x600 AMPIRE AM-1024600LTM LVDS */
			am1024600l: am1024600l {
				clock-frequency = <51200000>;
				hactive = <1024>;
				vactive = <600>;
				hback-porch = <0>;
				hfront-porch = <320>;
				vback-porch = <0>;
				vfront-porch = <35>;
				hsync-len = <1>;
				vsync-len = <1>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};
			/* DISPLAY 1280x800 AMPIRE AM1280800N3TZ */
			am128080n3tz: am1280800n3tz {
				clock-frequency = <71000000>;
				hactive = <1280>;
				vactive = <800>;
				hback-porch = <50>;
				hfront-porch = <50>;
				vback-porch = <5>;
				vfront-porch = <5>;
				hsync-len = <60>;
				vsync-len = <13>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};
		};

		port@4 {
			reg = <4>;
			lvds0_out: endpoint {
				remote-endpoint = <&in_lvds0>;
			};
		};

	};
};

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-02-21 13:04 ` Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/ gianluca
@ 2017-02-21 14:56   ` gianluca
  2017-02-21 15:03   ` Lucas Stach
  1 sibling, 0 replies; 17+ messages in thread
From: gianluca @ 2017-02-21 14:56 UTC (permalink / raw)
  To: barebox

On 02/21/2017 02:04 PM, gianluca wrote:
>
> Hello everybody!
>
> I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME
> device-tree is modified by barebox to enable/disable the ldb or hdmi
> depending on what is found.
>
> During Linux bootup with HDMI only, it works with no hassle.
>
> If booting with ldb it does not start the ldb driver registration due to
> a panel/bridge missing.
>
> In the config of linux kernel I have (as imx_v6_v7_defconfig) all drm
> and simple panel enabled.
>
> What is missing???
>

At the moment I can clearly state that (as kernel 4.9.7):

in the imx-ldb.c (line 711) in the function imx_ldb_bind() the error is 
the channel->panel AND channel->bridge ARE both NULL.

The struct device_node *ep = of_graph_get_endpoint_by_regs(child, 
imx_ldb->lvds_mux ? 4 : 2, -1) is not null and the remote struct 
device_node as full name has: /panel.

This look suspicious to me as I am expecting a full_name as: 
/soc/node/this/is/a/complete/name/panel stuff.

Anyway this issue is preventing to continue and registering a frame 
buffer on the lvds channel.

Can anybody point me in the right direction? In the next few moments I 
will try to diff the device-tree passed from barebox to linux kernel and 
the device-tree expected.

Hold on... ;-)

Regards,
Gianluca
>
> -------- Forwarded Message --------
> Subject: Barebox 2017.02 works great but no Linux Framebuffer... :-/
> Date: Mon, 20 Feb 2017 16:36:06 +0100
> From: gianluca <gianlucarenzi@eurekelettronica.it>
> To: Sascha Hauer <s.hauer@pengutronix.de>
>
> Hello Sascha,
>
> During last week I was able to activate/deactivate the hdmi and ldb
> nodes from internal device-tree of Barebox and everything is working great.
>
> Now I would like to boot up with the kernel 4.9.7 with the following
> commandline but it fails.
>
> The kernelcmd line is:
>
>> console=ttymxc2,115200 rootwait noswap ip=none noinitrd
>> rootfstype=nilfs2 root=/dev/mmcblk1p3
>> fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000
>> system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet
>> loglevel=3 console=tty0  video=mxcfb0:dev=ldb,if=RGB24,bpp=32
>> fbmem=32M vmalloc=400M
>
> The problem is the ldb (imx-ldb.c you wrote in kernel
> drivers/gpu/drm/imx...). It fails with the following error:
>
>> [    7.526349] imx-ldb 2000000.aips-bus:ldb@020e0008: panel/bridge not
>> found: /panel --
>> [    7.526369] imx-drm display-subsystem: failed to bind
>> 2000000.aips-bus:ldb@020e0008 (ops 0xc097aaa0): -517
>> [    7.526785] imx-drm display-subsystem: master bind failed: -517
>
> The device-tree is attached.
>
> The device tree is the same as Barebox (it has only an #included
> commented out).
>
> Both hdmi and ldb nodes are initially left "disabled" then barebox
> enable the node corresponding to the hardware found (i.e. it changes the
> status to "okay")
>
> In barebox everything is working.
>
> In linux NOT. What is exactly a 'channel->bridge' and 'channel->panel'
> in device-tree therminology?
>
> Barebox is working without it, so I suppose it was working in Linux
> kernel too...
>
> Regards,
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>


-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-02-21 13:04 ` Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/ gianluca
  2017-02-21 14:56   ` gianluca
@ 2017-02-21 15:03   ` Lucas Stach
  2017-02-21 17:59     ` gianluca
  2017-06-19 15:49     ` gianluca
  1 sibling, 2 replies; 17+ messages in thread
From: Lucas Stach @ 2017-02-21 15:03 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Am Dienstag, den 21.02.2017, 14:04 +0100 schrieb gianluca:
> Hello everybody!
> 
> I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME 
> device-tree is modified by barebox to enable/disable the ldb or hdmi 
> depending on what is found.
> 
> During Linux bootup with HDMI only, it works with no hassle.
> 
> If booting with ldb it does not start the ldb driver registration due to 
> a panel/bridge missing.
> 
> In the config of linux kernel I have (as imx_v6_v7_defconfig) all drm 
> and simple panel enabled.
> 
> What is missing???
> 
> Best regards,
> Gianluca
> 
> -------- Forwarded Message --------
> Subject: Barebox 2017.02 works great but no Linux Framebuffer... :-/
> Date: Mon, 20 Feb 2017 16:36:06 +0100
> From: gianluca <gianlucarenzi@eurekelettronica.it>
> To: Sascha Hauer <s.hauer@pengutronix.de>
> 
> Hello Sascha,
> 
> During last week I was able to activate/deactivate the hdmi and ldb 
> nodes from internal device-tree of Barebox and everything is working great.
> 
> Now I would like to boot up with the kernel 4.9.7 with the following 
> commandline but it fails.
> 
> The kernelcmd line is:
> 
> > console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  video=mxcfb0:dev=ldb,if=RGB24,bpp=32 fbmem=32M vmalloc=400M
> 
> The problem is the ldb (imx-ldb.c you wrote in kernel 
> drivers/gpu/drm/imx...). It fails with the following error:
> 
> > [    7.526349] imx-ldb 2000000.aips-bus:ldb@020e0008: panel/bridge not found: /panel --
> > [    7.526369] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc097aaa0): -517
> > [    7.526785] imx-drm display-subsystem: master bind failed: -517
> 
> The device-tree is attached.
> 
> The device tree is the same as Barebox (it has only an #included 
> commented out).
> 
> Both hdmi and ldb nodes are initially left "disabled" then barebox 
> enable the node corresponding to the hardware found (i.e. it changes the 
> status to "okay")
> 
> In barebox everything is working.
> 
> In linux NOT. What is exactly a 'channel->bridge' and 'channel->panel' 
> in device-tree therminology?
> 
> Barebox is working without it, so I suppose it was working in Linux 
> kernel too...

No, Linux does not support DT defined modes in the panel. You need a
panel with a proper compatible and driver.

See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
want to use.

Regards,
Lucas


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-02-21 15:03   ` Lucas Stach
@ 2017-02-21 17:59     ` gianluca
  2017-06-19 15:49     ` gianluca
  1 sibling, 0 replies; 17+ messages in thread
From: gianluca @ 2017-02-21 17:59 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 02/21/2017 04:03 PM, Lucas Stach wrote:
>> I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME
>> device-tree is modified by barebox to enable/disable the ldb or hdmi
>> depending on what is found.
>>
>> During Linux bootup with HDMI only, it works with no hassle.
>>
>> If booting with ldb it does not start the ldb driver registration due to
>> a panel/bridge missing.
>>
>> In the config of linux kernel I have (as imx_v6_v7_defconfig) all drm
>> and simple panel enabled.
>>
>> What is missing???
>>
>> During last week I was able to activate/deactivate the hdmi and ldb
>> nodes from internal device-tree of Barebox and everything is working great.
>>
>> Barebox is working without it, so I suppose it was working in Linux
>> kernel too...
>
> No, Linux does not support DT defined modes in the panel. You need a
> panel with a proper compatible and driver.
>
> See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
> want to use.
I see. The main issue here, I have a bunch of display-timings (3 
actually) and they are working in Barebox setting the ldb timings in ldb 
node in the device-tree.

The same behaviour cannot be done in Linux?

in panel-simple there is a function named: panel_simple_get_modes() and 
it looks for edid eeprom on each panel, then add the fixed mode 
hardcoded in the module. Is there a clean way to add the 
timing-definition of the ldb module to this procedure?

Nobody has never had a multiple display-timing definitions in a 
device-tree and added those timings to the panel?
I cannot believe.

In barebox all display-timings are correctly added to the ldb device 
drivers, and I am wondering Linux does not do the same.

Due to this limitiation of the Linux Kernel, in my board 
device_initcall() I will try to change the compatibility string to match 
a hardcoded timing in the panel-simple.c hardcoded timing.

i.e.:
> panel {
> 	compatible = "simple-panel", "auo,b101aw03";
> 	...


to:
> panel {
> 	compatible = "simple-panel", "ampire,am800480r3tmqwa1h";
> ...


so Linux can be happy and register a framebuffer...

Is there a of_ utility in barebox to achieve this kind of stuff??
That is change a compatibility string *MODIFYING ONLY A VALUE* 
(ampire,...) and leave the "simple-panel" untouched?

Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-02-21 15:03   ` Lucas Stach
  2017-02-21 17:59     ` gianluca
@ 2017-06-19 15:49     ` gianluca
  2017-06-21  6:32       ` Sascha Hauer
  1 sibling, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-19 15:49 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

[-- Attachment #1: Type: text/plain, Size: 3980 bytes --]

Hello Lucas, Sascha and the barebox mailing list guys!

I am back with the new boards batch release (now QuadPlus and DualLite iMX6)

Now I adapted barebox to fit both processors and it works quite well.

 From Barebox point-of-view the ldb node of the device-tree is using 
three timings and they are working good depending on which panel bridge 
board I am connecting to (1280x800, 1024x600 and 800x480).

The custom startup code of barebox is looking for a special eeprom on 
the panel-bridge and set the device tree accordingly, i.e. setting the 
native-mode node to the correct display-timing.

The same device-tree is used in Linux (as in attachment) as you can see 
the ldb section and the panel section, using a simple-panel and a 
correct panel timing using the innolux,g101ice_l01 panel driver timings.

>
>> No, Linux does not support DT defined modes in the panel. You need a
>> panel with a proper compatible and driver.
>>
>> See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
>> want to use.
>>

They are ignored in the Barebox starup (as you know barebox can use the 
display-timings in the ldb section) but the panel section is used in linux.

Nevertheless it does not work.

The panel phandle is correctly set and the ldb is pointing with the 
fsl,panel node to it. (as used in the imx6q-b650v3.dts in the kernel dts 
file)

> 	panel-lvds0 {
> 		compatible = "innolux,g121x1-l03";
> 		backlight = <&backlight_lvds>;
> 		power-supply = <&reg_lvds>;
>
> 		port {
> 			panel_in_lvds0: endpoint {
> 				remote-endpoint = <&lvds0_out>;
> 			};
> 		};
> 	};

> &ldb {
> 	status = "okay";
>
> 	lvds0: lvds-channel@0 {
> 		fsl,data-mapping = "spwg";
> 		fsl,data-width = <24>;
> 		status = "okay";
>
> 		port@4 {
> 			reg = <4>;
>
> 			lvds0_out: endpoint {
> 				remote-endpoint = <&panel_in_lvds0>;
> 			};
> 		};
> 	};
> };


I do not see any difference, apart the display-timings in the ldb section.

In my dts file:

> 	panel: panel {
> 		compatible = "innolux,g101ice_l01", "simple-panel";
> 		backlight = <&backlight_lvds>;
> 		status = "okay";
> 		port {
> 			in_lvds0: endpoint {
> 				remote-endpoint = <&lvds0_out>;
> 			};
> 		};
> 	};


> &ldb {
> 	#address-cells = <1>;
> 	#size-cells = <0>;
> 	status = "okay";
>
> 	lvds0: lvds-channel@0 {
> 		fsl,data-mapping = "spwg";
> 		fsl,data-width = <24>;
> 		fsl,panel = <&panel>;
> 		status = "okay";
>
> 		display-timings {
> 			native-mode = <&am1024600l>;
> 			ph800480t013: ph800480t013 {
> 				clock-frequency = <33300000>;
> 				hactive = <800>;
> 				vactive = <480>;
> 				hback-porch = <46>;
> 				hfront-porch = <210>;
> 				vback-porch = <23>;
> 				vfront-porch = <22>;
> 				hsync-len = <1>;
> 				vsync-len = <1>;
> 				hsync-active = <0>;
> 				vsync-active = <0>;
> 				de-active = <1>;
> 				pixelclk-active = <0>;
> 			};
> 			am1024600l: am1024600l {
> 				clock-frequency = <51200000>;
> 				hactive = <1024>;
> 				vactive = <600>;
> 				hback-porch = <0>;
> 				hfront-porch = <320>;
> 				vback-porch = <0>;
> 				vfront-porch = <35>;
> 				hsync-len = <1>;
> 				vsync-len = <1>;
> 				hsync-active = <0>;
> 				vsync-active = <0>;
> 				de-active = <1>;
> 				pixelclk-active = <0>;
> 			};
> 			am128080n3tz: am1280800n3tz {
> 				clock-frequency = <71000000>;
> 				hactive = <1280>;
> 				vactive = <800>;
> 				hback-porch = <50>;
> 				hfront-porch = <50>;
> 				vback-porch = <5>;
> 				vfront-porch = <5>;
> 				hsync-len = <60>;
> 				vsync-len = <13>;
> 				hsync-active = <0>;
> 				vsync-active = <0>;
> 				de-active = <1>;
> 				pixelclk-active = <0>;
> 			};
> 		};
>
> 		port@4 {
> 			reg = <4>;
> 			lvds0_out: endpoint {
> 				remote-endpoint = <&in_lvds0>;
> 			};
> 		};
>
> 	};
> };

Can you figure out why?


-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

[-- Attachment #2: dts-from-linux.dts --]
[-- Type: text/plain, Size: 47436 bytes --]

/dts-v1/;

/ {
	compatible = "eurek,ek360", "fsl,imx6dl";
	model = "Eurek EK360 i.MX6DL";
	#address-cells = <0x1>;
	#size-cells = <0x1>;

	gpu-subsystem {
		compatible = "fsl,imx-gpu-subsystem";
		cores = <0x44 0x45>;
	};

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

		osc {
			compatible = "fsl,imx-osc", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x16e3600>;
		};

		ckih1 {
			compatible = "fsl,imx-ckih1", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x0>;
		};

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x8000>;
		};
	};

	display-subsystem {
		compatible = "fsl,imx-display-subsystem";
		ports = <0x42 0x43>;
	};

	backlight-lvds {
		compatible = "pwm-backlight";
		default-brightness-level = <0x6>;
		brightness-levels = <0x0 0x4 0x8 0x10 0x20 0x40 0x80 0xff>;
		status = "okay";
		phandle = <0x4c>;
		pinctrl-0 = <0x48>;
		pwms = <0x49 0x0 0x65b9aa>;
		linux,phandle = <0x4c>;
		power-supply = <0x24>;
		pinctrl-names = "default";
	};

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

		sram@00900000 {
			compatible = "mmio-sram";
			clocks = <0x2 0x8e>;
			phandle = <0xc>;
			reg = <0x900000 0x20000>;
			linux,phandle = <0xc>;
		};

		gpu@00130000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1b 0x2 0x7a 0x2 0x4a>;
			clock-names = "bus", "core", "shader";
			interrupts = <0x0 0x9 0x4>;
			phandle = <0x45>;
			reg = <0x130000 0x4000>;
			linux,phandle = <0x45>;
		};

		timer@00a00600 {
			compatible = "arm,cortex-a9-twd-timer";
			clocks = <0x2 0xf>;
			interrupt-parent = <0x8>;
			interrupts = <0x1 0xd 0xf01>;
			reg = <0xa00600 0x20>;
		};

		dma-apbh@00110000 {
			#dma-cells = <0x1>;
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			clocks = <0x2 0x6a>;
			dma-channels = <0x4>;
			interrupts = <0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4>;
			phandle = <0x3>;
			reg = <0x110000 0x2000>;
			linux,phandle = <0x3>;
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
		};

		pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
			clocks = <0x2 0x90 0x2 0xce 0x2 0xbd>;
			reg-names = "dbi", "config";
			device_type = "pci";
			num-lanes = <0x1>;
			clock-names = "pcie", "pcie_bus", "pcie_phy";
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			ranges = <0x81000000 0x0 0x0 0x1f80000 0x0 0x10000 0x82000000 0x0 0x1000000 0x1000000 0x0 0xf00000>;
			status = "disabled";
			#interrupt-cells = <0x1>;
			#address-cells = <0x3>;
			interrupts = <0x0 0x78 0x4>;
			interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x7b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x7a 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x79 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x78 0x4>;
			#size-cells = <0x2>;
			reg = <0x1ffc000 0x4000 0x1f00000 0x80000>;
			interrupt-names = "msi";
		};

		aips-bus@02100000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2100000 0x100000>;

			i2c@021a8000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7f>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x26 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a8000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x31>;
				pinctrl-names = "default";
			};

			usbmisc@02184800 {
				compatible = "fsl,imx6q-usbmisc";
				clocks = <0x2 0xa2>;
				#index-cells = <0x1>;
				phandle = <0x1c>;
				reg = <0x2184800 0x200>;
				linux,phandle = <0x1c>;
			};

			mlb@0218c000 {
				interrupts = <0x0 0x35 0x4 0x0 0x75 0x4 0x0 0x7e 0x4>;
				reg = <0x218c000 0x4000>;
			};

			mmdc@021b4000 {
				reg = <0x21b4000 0x4000>;
			};

			usdhc@02190000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa3 0x2 0xa3 0x2 0xa3>;
				clock-names = "ipg", "ahb", "per";
				status = "disabled";
				interrupts = <0x0 0x16 0x4>;
				bus-width = <0x4>;
				reg = <0x2190000 0x4000>;
			};

			usb@02184000 {
				vbus-supply = <0x1d>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x0>;
				fsl,usbphy = <0x1b>;
				status = "okay";
				interrupts = <0x0 0x2b 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184000 0x200>;
				pinctrl-0 = <0x1e 0x1f>;
				dr_mode = "otg";
				pinctrl-names = "default";
			};

			mipi@021dc000 {
				reg = <0x21dc000 0x4000>;
			};

			ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
				clocks = <0x2 0x80>;
				phandle = <0x11>;
				reg = <0x21bc000 0x4000>;
				linux,phandle = <0x11>;
			};

			weim@021b8000 {
				compatible = "fsl,imx6q-weim";
				clocks = <0x2 0xc4>;
				interrupts = <0x0 0xe 0x4>;
				reg = <0x21b8000 0x4000>;
			};

			i2c@021f8000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x74>;
				status = "disabled";
				#address-cells = <0x1>;
				interrupts = <0x0 0x23 0x4>;
				#size-cells = <0x0>;
				reg = <0x21f8000 0x4000>;
			};

			usb@02184600 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x3>;
				status = "disabled";
				interrupts = <0x0 0x2a 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184600 0x200>;
				dr_mode = "host";
			};

			usdhc@02198000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa5 0x2 0xa5 0x2 0xa5>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				cd-gpios = <0x2a 0x0 0x1>;
				status = "okay";
				interrupts = <0x0 0x18 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2198000 0x4000>;
				pinctrl-0 = <0x29>;
				vmmc-supply = <0x24>;
				vqmmc-supply = <0x24>;
				pinctrl-names = "default";
			};

			i2c@021a4000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7e>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x25 0x4>;
				#size-cells = <0x0>;
				phandle = <0x5>;
				reg = <0x21a4000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x30>;
				linux,phandle = <0x5>;
				pinctrl-names = "default";
			};

			caam@2100000 {
				compatible = "fsl,sec-v4.0";
				clocks = <0x2 0xf1 0x2 0xf2 0x2 0xf3 0x2 0xc4>;
				clock-names = "mem", "aclk", "ipg", "emi_slow";
				ranges = <0x0 0x2100000 0x10000>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2100000 0x10000>;
				fsl,sec-era = <0x4>;

				jr1@2000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x6a 0x4>;
					reg = <0x2000 0x1000>;
				};

				jr0@1000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x69 0x4>;
					reg = <0x1000 0x1000>;
				};
			};

			mmdc@021b0000 {
				compatible = "fsl,imx6q-mmdc";
				reg = <0x21b0000 0x4000>;
			};

			serial@021ec000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x1c 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21ec000 0x4000>;
				pinctrl-0 = <0x36>;
				dmas = <0x9 0x1d 0x4 0x0 0x9 0x1e 0x4 0x0>;
				pinctrl-names = "default";
			};

			romcp@021ac000 {
				reg = <0x21ac000 0x4000>;
			};

			audmux@021d8000 {
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
				status = "okay";
				reg = <0x21d8000 0x4000>;
				pinctrl-0 = <0x32>;
				pinctrl-names = "default";
			};

			tzasc@021d4000 {
				interrupts = <0x0 0x6d 0x4>;
				reg = <0x21d4000 0x4000>;
			};

			serial@021f4000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1e 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f4000 0x4000>;
				dmas = <0x9 0x21 0x4 0x0 0x9 0x22 0x4 0x0>;
			};

			usb@02184200 {
				vbus-supply = <0x21>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x1>;
				fsl,usbphy = <0x20>;
				status = "okay";
				interrupts = <0x0 0x28 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184200 0x200>;
				pinctrl-0 = <0x22 0x23>;
				dr_mode = "host";
				pinctrl-names = "default";
			};

			vdoa@021e4000 {
				interrupts = <0x0 0x12 0x4>;
				reg = <0x21e4000 0x4000>;
			};

			mipi@021e0000 {
				status = "disabled";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				reg = <0x21e0000 0x4000>;

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

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x34>;
							phandle = <0x3c>;
							linux,phandle = <0x3c>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x33>;
							phandle = <0x38>;
							linux,phandle = <0x38>;
						};
					};
				};
			};

			usdhc@02194000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa4 0x2 0xa4 0x2 0xa4>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x17 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2194000 0x4000>;
				pinctrl-0 = <0x27>;
				vmmc-supply = <0x28>;
				non-removable;
				max-frequency = <0x17d7840>;
				vqmmc-supply = <0x24>;
				pinctrl-names = "default";
			};

			i2c@021a0000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7d>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x24 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a0000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x2c>;
				pinctrl-names = "default";

				touchscreen@48 {
					compatible = "eurek,sx8656-ek";
					status = "okay";
					interrupt-parent = <0x2f>;
					interrupts = <0x11 0x2>;
					reg = <0x48>;
					pinctrl-0 = <0x2e>;
					pinctrl-names = "default";
				};

				at24@50 {
					compatible = "at24,24c64";
					status = "okay";
					pagesize = <0x40>;
					reg = <0x50>;
				};

				sgtl5000@0a {
					VDDIO-supply = <0x24>;
					compatible = "fsl,sgtl5000";
					clocks = <0x2 0xc9>;
					VDDA-supply = <0x24>;
					status = "okay";
					phandle = <0x4b>;
					reg = <0xa>;
					VDDD-supply = <0x2d>;
					linux,phandle = <0x4b>;
				};

				rtc@51 {
					compatible = "phg,pcf8563";
					status = "okay";
					reg = <0x51>;
				};
			};

			tzasc@021d0000 {
				interrupts = <0x0 0x6c 0x4>;
				reg = <0x21d0000 0x4000>;
			};

			serial@021f0000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1d 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f0000 0x4000>;
				dmas = <0x9 0x1f 0x4 0x0 0x9 0x20 0x4 0x0>;
			};

			usdhc@0219c000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa6 0x2 0xa6 0x2 0xa6>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x19 0x4>;
				no-1-8-v;
				bus-width = <0x8>;
				reg = <0x219c000 0x4000>;
				pinctrl-0 = <0x2b>;
				vmmc-supply = <0x24>;
				non-removable;
				vqmmc-supply = <0x24>;
				pinctrl-names = "default";
			};

			ethernet@02188000 {
				txd1-skew-ps = <0x0>;
				interrupts-extended = <0x8 0x0 0x76 0x4 0x8 0x0 0x77 0x4>;
				compatible = "fsl,imx6q-fec";
				clocks = <0x2 0x75 0x2 0x75 0x2 0xbe>;
				txc-skew-ps = <0xbb8>;
				rxd3-skew-ps = <0x0>;
				clock-names = "ipg", "ahb", "ptp";
				rxd0-skew-ps = <0x0>;
				txd2-skew-ps = <0x0>;
				phy-supply = <0x24>;
				rxc-skew-ps = <0xbb8>;
				status = "okay";
				rxd1-skew-ps = <0x0>;
				txd3-skew-ps = <0x0>;
				rxdv-skew-ps = <0x0>;
				txd0-skew-ps = <0x0>;
				reg = <0x2188000 0x4000>;
				phy-mode = "rgmii";
				pinctrl-0 = <0x25>;
				phy-reset-duration = <0x64>;
				phy-reset-gpios = <0x26 0x17 0x0>;
				txen-skew-ps = <0x0>;
				rxd2-skew-ps = <0x0>;
				pinctrl-names = "default";
			};

			serial@021e8000 {
				compatible = "eurek,imx6-ek-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				rs485-rts-delay = <0x0 0x0>;
				linux,rs485-enabled-at-boot-time;
				clock-names = "ipg", "per";
				rts-gpio = <0x26 0x12 0x1>;
				status = "okay";
				interrupts = <0x0 0x1b 0x4>;
				dma-names = "rx", "tx";
				rs485-rts-active-low;
				reg = <0x21e8000 0x4000>;
				pinctrl-0 = <0x35>;
				dmas = <0x9 0x1b 0x4 0x0 0x9 0x1c 0x4 0x0>;
				pinctrl-names = "default";
			};

			usb@02184400 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x2>;
				status = "disabled";
				interrupts = <0x0 0x29 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184400 0x200>;
				dr_mode = "host";
			};

			aipstz@0217c000 {
				reg = <0x217c000 0x4000>;
			};
		};

		aips-bus@02000000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2000000 0x100000>;

			lcdif@020f8000 {
				interrupts = <0x0 0x27 0x4>;
				reg = <0x20f8000 0x4000>;
			};

			usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb7>;
				interrupts = <0x0 0x2d 0x4>;
				phandle = <0x20>;
				fsl,anatop = <0x10>;
				reg = <0x20ca000 0x1000>;
				linux,phandle = <0x20>;
			};

			dcic@020e4000 {
				interrupts = <0x0 0x7c 0x4>;
				reg = <0x20e4000 0x4000>;
			};

			aipstz@0207c000 {
				reg = <0x207c000 0x4000>;
			};

			gpc@020dc000 {
				compatible = "fsl,imx6q-gpc";
				clocks = <0x2 0x7a 0x2 0x4a 0x2 0x79 0x2 0x1a 0x2 0x8f 0x2 0xa8>;
				#interrupt-cells = <0x3>;
				interrupt-parent = <0x8>;
				interrupts = <0x0 0x59 0x4 0x0 0x5a 0x4>;
				phandle = <0x1>;
				reg = <0x20dc000 0x4000>;
				pu-supply = <0x13>;
				linux,phandle = <0x1>;
				#power-domain-cells = <0x1>;
				interrupt-controller;
			};

			flexcan@02094000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6e 0x2 0x6f>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x6f 0x4>;
				reg = <0x2094000 0x4000>;
			};

			ccm@020c4000 {
				compatible = "fsl,imx6q-ccm";
				interrupts = <0x0 0x57 0x4 0x0 0x58 0x4>;
				#clock-cells = <0x1>;
				phandle = <0x2>;
				reg = <0x20c4000 0x4000>;
				linux,phandle = <0x2>;
			};

			gpio@020a4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x61 0x2 0xf 0x2 0x69 0x8 0xf 0xa 0x63 0x6 0xf 0x10 0x51 0x10>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x46 0x4 0x0 0x47 0x4>;
				phandle = <0x26>;
				reg = <0x20a4000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x26>;
				interrupt-controller;
			};

			anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
				interrupts = <0x0 0x31 0x4 0x0 0x36 0x4 0x0 0x7f 0x4>;
				phandle = <0x10>;
				reg = <0x20c8000 0x1000>;
				linux,phandle = <0x10>;

				regulator-vddpu {
					regulator-enable-ramp-delay = <0x96>;
					anatop-delay-bit-shift = <0x1a>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x9>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x13>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddpu";
					linux,phandle = <0x13>;
				};

				regulator-2p5 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x29f630>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x1e8480>;
					regulator-min-microvolt = <0x1e8480>;
					regulator-max-microvolt = <0x29f630>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x130>;
					regulator-name = "vdd2p5";
				};

				regulator-vddcore {
					anatop-delay-bit-shift = <0x18>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x0>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x40>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddarm";
					linux,phandle = <0x40>;
				};

				regulator-3p0 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x33e140>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x280de8>;
					regulator-min-microvolt = <0x2ab980>;
					regulator-max-microvolt = <0x3010b0>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x120>;
					regulator-name = "vdd3p0";
				};

				regulator-1p1 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x14fb18>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0xc3500>;
					regulator-min-microvolt = <0xc3500>;
					regulator-max-microvolt = <0x14fb18>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x4>;
					anatop-reg-offset = <0x110>;
					regulator-name = "vdd1p1";
				};

				regulator-vddsoc {
					anatop-delay-bit-shift = <0x1c>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x12>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x41>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddsoc";
					linux,phandle = <0x41>;
				};
			};

			pwm@02084000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x92>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x54 0x4>;
				reg = <0x2084000 0x4000>;
				#pwm-cells = <0x2>;
			};

			wdog@020bc000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				interrupts = <0x0 0x50 0x4>;
				reg = <0x20bc000 0x4000>;
			};

			epit@020d0000 {
				interrupts = <0x0 0x38 0x4>;
				reg = <0x20d0000 0x4000>;
			};

			gpio@020ac000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x78 0x1 0xf 0x2 0x4d 0x1 0xf 0x4 0x4c 0x1 0xf 0x5 0x2f 0x9 0xf 0xe 0x39 0x4 0xf 0x12 0x25 0x1 0xf 0x13 0x24 0x1 0xf 0x14 0x23 0x1 0xf 0x15 0x26 0x1 0xf 0x16 0x1d 0x6 0xf 0x1c 0x13 0x4>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4a 0x4 0x0 0x4b 0x4>;
				phandle = <0x47>;
				reg = <0x20ac000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x47>;
				interrupt-controller;
			};

			gpio@020b4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0xca 0x1 0xf 0x1 0xc9 0x1 0xf 0x2 0xc4 0x1 0xf 0x3 0xc3 0x1 0xf 0x4 0xc5 0x4 0xf 0x8 0xcd 0x1 0xf 0x9 0xcf 0x1 0xf 0xa 0xce 0x1 0xf 0xb 0x85 0x3>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4e 0x4 0x0 0x4f 0x4>;
				reg = <0x20b4000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			pwm@0208c000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x94>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x56 0x4>;
				reg = <0x208c000 0x4000>;
				#pwm-cells = <0x2>;
			};

			vpu@02040000 {
				power-domains = <0x1 0x1>;
				compatible = "fsl,imx6dl-vpu", "cnm,coda960";
				clocks = <0x2 0xa8 0x2 0x8c>;
				resets = <0xb 0x1>;
				iram = <0xc>;
				clock-names = "per", "ahb";
				interrupts = <0x0 0xc 0x4 0x0 0x3 0x4>;
				reg = <0x2040000 0x3c000>;
				interrupt-names = "bit", "jpeg";
			};

			ldb@020e0008 {
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				clocks = <0x2 0x21 0x2 0x22 0x2 0x27 0x2 0x28 0x2 0x87 0x2 0x88>;
				clock-names = "di0_pll", "di1_pll", "di0_sel", "di1_sel", "di0", "di1";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				gpr = <0x4>;

				lvds-channel@0 {
					fsl,data-mapping = "spwg";
					fsl,panel = <0x14>;
					status = "okay";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x0>;
					fsl,data-width = <0x18>;

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x16>;
							phandle = <0x3d>;
							linux,phandle = <0x3d>;
						};
					};

					port@4 {
						reg = <0x4>;

						endpoint {
							remote-endpoint = <0x18>;
							phandle = <0x4d>;
							linux,phandle = <0x4d>;
						};
					};

					display-timings {
						native-mode = <0x4e>;

						am1280800n3tz {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x3c>;
							hfront-porch = <0x32>;
							vfront-porch = <0x5>;
							pixelclk-active = <0x0>;
							vsync-len = <0xd>;
							de-active = <0x1>;
							vactive = <0x320>;
							phandle = <0x4e>;
							hback-porch = <0x32>;
							clock-frequency = <0x43b5fc0>;
							hactive = <0x500>;
							vback-porch = <0x5>;
						};

						am1024600l {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0x140>;
							vfront-porch = <0x23>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x258>;
							phandle = <0x17>;
							hback-porch = <0x0>;
							clock-frequency = <0x30d4000>;
							hactive = <0x400>;
							vback-porch = <0x0>;
							linux,phandle = <0x17>;
						};

						ph800480t013 {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0xd2>;
							vfront-porch = <0x16>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x1e0>;
							hback-porch = <0x2e>;
							clock-frequency = <0x1fc1e20>;
							hactive = <0x320>;
							vback-porch = <0x17>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x15>;
							phandle = <0x39>;
							linux,phandle = <0x39>;
						};
					};
				};

				lvds-channel@1 {
					status = "disabled";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x1>;

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x1a>;
							phandle = <0x3e>;
							linux,phandle = <0x3e>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x19>;
							phandle = <0x3a>;
							linux,phandle = <0x3a>;
						};
					};
				};
			};

			epdc@020f4000 {
				interrupts = <0x0 0x61 0x4>;
				reg = <0x20f4000 0x4000>;
			};

			flexcan@02090000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6c 0x2 0x6d>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x6e 0x4>;
				reg = <0x2090000 0x4000>;
				pinctrl-0 = <0xd>;
				xceiver-supply = <0xe>;
				pinctrl-names = "default";
			};

			gpt@02098000 {
				compatible = "fsl,imx6dl-gpt";
				clocks = <0x2 0x77 0x2 0x78 0x2 0xed>;
				clock-names = "ipg", "per", "osc_per";
				interrupts = <0x0 0x37 0x4>;
				reg = <0x2098000 0x4000>;
			};

			usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb6>;
				interrupts = <0x0 0x2c 0x4>;
				phandle = <0x1b>;
				fsl,anatop = <0x10>;
				reg = <0x20c9000 0x1000>;
				linux,phandle = <0x1b>;
			};

			iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc";
				phandle = <0xf>;
				reg = <0x20e0000 0x4000>;
				linux,phandle = <0xf>;
				pinctrl-names = "default";

				imx6dl-ek360 {

					touchscreengrp {
						fsl,pins = <0x2e8 0x6d0 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x2e>;
						linux,phandle = <0x2e>;
					};

					usdhc4grp {
						fsl,pins = <0x33c 0x724 0x0 0x0 0x0 0x17059 0x338 0x720 0x938 0x0 0x1 0x10059 0x340 0x728 0x0 0x1 0x0 0x17059 0x344 0x72c 0x0 0x1 0x0 0x17059 0x348 0x730 0x0 0x1 0x0 0x17059 0x34c 0x734 0x0 0x1 0x0 0x17059 0x350 0x738 0x0 0x1 0x0 0x17059 0x354 0x73c 0x0 0x1 0x0 0x17059 0x358 0x740 0x0 0x1 0x0 0x17059 0x35c 0x744 0x0 0x1 0x0 0x17059>;
						phandle = <0x2b>;
						linux,phandle = <0x2b>;
					};

					uart1grp {
						fsl,pins = <0x4c 0x360 0x0 0x3 0x0 0x1b0b1 0x50 0x364 0x8fc 0x3 0x1 0x1b0b1>;
						phandle = <0xa>;
						linux,phandle = <0xa>;
					};

					usbh1vccgrp {
						fsl,pins = <0x180 0x550 0x0 0x5 0x0 0x1b0b0>;
						phandle = <0x23>;
						linux,phandle = <0x23>;
					};

					i2c2grp {
						fsl,pins = <0x264 0x64c 0x874 0x4 0x1 0x4001b8b1 0x250 0x638 0x870 0x4 0x1 0x4001b8b1>;
						phandle = <0x30>;
						linux,phandle = <0x30>;
					};

					ledgrp {
						fsl,pins = <0xd4 0x3e8 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x46>;
						linux,phandle = <0x46>;
					};

					enetgrp {
						fsl,pins = <0x2c0 0x6a8 0x814 0x1 0x1 0x1b0b0 0x2ac 0x694 0x818 0x1 0x1 0x1b0b0 0x2b0 0x698 0x81c 0x1 0x1 0x1b0b0 0x2b4 0x69c 0x820 0x1 0x1 0x1b0b0 0x2b8 0x6a0 0x824 0x1 0x1 0x1b0b0 0x2bc 0x6a4 0x828 0x1 0x1 0x1b0b0 0x2d8 0x6c0 0x0 0x1 0x0 0x1b0b0 0x2c4 0x6ac 0x0 0x1 0x0 0x1b0b0 0x2c8 0x6b0 0x0 0x1 0x0 0x1b0b0 0x2cc 0x6b4 0x0 0x1 0x0 0x1b0b0 0x2d0 0x6b8 0x0 0x1 0x0 0x1b0b0 0x2d4 0x6bc 0x0 0x1 0x0 0x1b0b0 0x1f0 0x5c0 0x0 0x1 0x0 0x1b0b0 0x1ec 0x5bc 0x810 0x1 0x0 0x1b0b0 0x1e8 0x5b8 0x0 0x1 0x0 0x1b0b0 0x160 0x530 0x0 0x5 0x0 0x80000000>;
						phandle = <0x25>;
						linux,phandle = <0x25>;
					};

					audmuxgrp {
						fsl,pins = <0x20c 0x5dc 0x0 0x0 0x0 0x30b0 0x74 0x388 0x0 0x4 0x0 0x130b0 0x78 0x38c 0x0 0x4 0x0 0x110b0 0x7c 0x390 0x0 0x4 0x0 0x130b0 0x80 0x394 0x0 0x4 0x0 0x130b0>;
						phandle = <0x32>;
						linux,phandle = <0x32>;
					};

					uart3grp {
						fsl,pins = <0x164 0x534 0x0 0x2 0x0 0x1b0b1 0x168 0x538 0x90c 0x2 0x1 0x1b0b1>;
						phandle = <0x36>;
						linux,phandle = <0x36>;
					};

					usdhc3grp {
						fsl,pins = <0x310 0x6f8 0x0 0x0 0x0 0x17059 0x30c 0x6f4 0x934 0x0 0x1 0x10059 0x314 0x6fc 0x0 0x0 0x0 0x17059 0x318 0x700 0x0 0x0 0x0 0x17059 0x31c 0x704 0x0 0x0 0x0 0x17059 0x320 0x708 0x0 0x0 0x0 0x17059 0x284 0x66c 0x0 0x5 0x0 0x1f071 0x288 0x670 0x0 0x5 0x0 0x1f071>;
						phandle = <0x29>;
						linux,phandle = <0x29>;
					};

					usbotgvccgrp {
						fsl,pins = <0x15c 0x52c 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x1f>;
						linux,phandle = <0x1f>;
					};

					usbh1grp {
						fsl,pins = <0x17c 0x54c 0x924 0x6 0x0 0x1b0b0>;
						phandle = <0x22>;
						linux,phandle = <0x22>;
					};

					flexcan1grp {
						fsl,pins = <0x238 0x608 0x0 0x3 0x0 0x1b0b0 0x23c 0x60c 0x7c8 0x3 0x0 0x1b0b0>;
						phandle = <0xd>;
						linux,phandle = <0xd>;
					};

					i2c1grp {
						fsl,pins = <0x84 0x398 0x86c 0x4 0x0 0x4001b8b1 0x88 0x39c 0x868 0x4 0x0 0x4001b8b1>;
						phandle = <0x2c>;
						linux,phandle = <0x2c>;
					};

					usbotggrp {
						fsl,pins = <0x210 0x5e0 0x790 0x3 0x1 0x17059 0x158 0x528 0x920 0x4 0x0 0x1b0b0>;
						phandle = <0x1e>;
						linux,phandle = <0x1e>;
					};

					dispgrp {
						fsl,pins = <0x2dc 0x6c4 0x0 0x5 0x0 0x1b0b1 0x2ec 0x6d4 0x0 0x5 0x0 0x1b0b1>;
					};

					uart2grp {
						fsl,pins = <0x16c 0x53c 0x0 0x4 0x0 0x1b0b1 0x170 0x540 0x904 0x4 0x1 0x1b0b1 0x14c 0x51c 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x35>;
						linux,phandle = <0x35>;
					};

					usdhc2grp {
						fsl,pins = <0x2f8 0x6e0 0x0 0x0 0x0 0x17059 0x2f4 0x6dc 0x930 0x0 0x1 0x10059 0x2fc 0x6e4 0x0 0x0 0x0 0x17059 0x300 0x6e8 0x0 0x0 0x0 0x17059 0x304 0x6ec 0x0 0x0 0x0 0x17059 0x308 0x6f0 0x0 0x0 0x0 0x17059 0x290 0x678 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x27>;
						linux,phandle = <0x27>;
					};

					i2c3grp {
						fsl,pins = <0x234 0x604 0x87c 0x2 0x2 0x4001b8b1 0x228 0x5f8 0x878 0x2 0x1 0x4001b8b1>;
						phandle = <0x31>;
						linux,phandle = <0x31>;
					};

					pwm1grp {
						fsl,pins = <0x2f0 0x6d8 0x0 0x3 0x0 0x1b0b1>;
						phandle = <0x48>;
						linux,phandle = <0x48>;
					};
				};
			};

			gpio@020a0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0xa1 0x8 0xf 0x8 0xd0 0x8 0xf 0x10 0x4a 0x1 0xf 0x11 0x49 0x1 0xf 0x12 0x48 0x1 0xf 0x13 0x47 0x1 0xf 0x14 0x46 0x1 0xf 0x15 0x45 0x1 0xf 0x16 0x44 0x1 0xf 0x17 0x4f 0x2 0xf 0x19 0x76 0x2 0xf 0x1b 0x75 0x1 0xf 0x1c 0x71 0x4>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x44 0x4 0x0 0x45 0x4>;
				phandle = <0x2a>;
				reg = <0x20a0000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x2a>;
				interrupt-controller;
			};

			iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				phandle = <0x4>;
				reg = <0x20e0000 0x38>;
				linux,phandle = <0x4>;
			};

			pwm@02080000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x91>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x53 0x4>;
				phandle = <0x49>;
				reg = <0x2080000 0x4000>;
				linux,phandle = <0x49>;
				#pwm-cells = <0x2>;
			};

			spba-bus@02000000 {
				compatible = "fsl,spba-bus", "simple-bus";
				ranges;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2000000 0x40000>;

				spba@0203c000 {
					reg = <0x203c000 0x4000>;
				};

				ssi@02030000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb4 0x2 0x9f>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x30 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2030000 0x4000>;
					dmas = <0x9 0x2d 0x1 0x0 0x9 0x2e 0x1 0x0>;
				};

				ssi@02028000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb2 0x2 0x9d>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "okay";
					interrupts = <0x0 0x2e 0x4>;
					dma-names = "rx", "tx";
					phandle = <0x4a>;
					reg = <0x2028000 0x4000>;
					dmas = <0x9 0x25 0x1 0x0 0x9 0x26 0x1 0x0>;
					linux,phandle = <0x4a>;
				};

				asrc@02034000 {
					compatible = "fsl,imx53-asrc";
					clocks = <0x2 0xd2 0x2 0xd3 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x6b 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "mem", "ipg", "asrck_0", "asrck_1", "asrck_2", "asrck_3", "asrck_4", "asrck_5", "asrck_6", "asrck_7", "asrck_8", "asrck_9", "asrck_a", "asrck_b", "asrck_c", "asrck_d", "asrck_e", "asrck_f", "spba";
					fsl,asrc-rate = <0xbb80>;
					fsl,asrc-width = <0x10>;
					status = "okay";
					interrupts = <0x0 0x32 0x4>;
					dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc";
					reg = <0x2034000 0x4000>;
					dmas = <0x9 0x11 0x17 0x1 0x9 0x12 0x17 0x1 0x9 0x13 0x17 0x1 0x9 0x14 0x17 0x1 0x9 0x15 0x17 0x1 0x9 0x16 0x17 0x1>;
				};

				esai@02024000 {
					compatible = "fsl,imx35-esai";
					clocks = <0x2 0xd0 0x2 0xd1 0x2 0x76 0x2 0xd0 0x2 0x9c>;
					#sound-dai-cells = <0x0>;
					clock-names = "core", "mem", "extal", "fsys", "spba";
					status = "disabled";
					interrupts = <0x0 0x33 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2024000 0x4000>;
					dmas = <0x9 0x17 0x15 0x0 0x9 0x18 0x15 0x0>;
				};

				ecspi@02010000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x72 0x2 0x72>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x21 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2010000 0x4000>;
					dmas = <0x9 0x7 0x8 0x1 0x9 0x8 0x8 0x2>;
				};

				ecspi@02008000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x70 0x2 0x70>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x1f 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2008000 0x4000>;
					dmas = <0x9 0x3 0x8 0x1 0x9 0x4 0x8 0x2>;
				};

				serial@02020000 {
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					clocks = <0x2 0xa0 0x2 0xa1>;
					clock-names = "ipg", "per";
					status = "okay";
					interrupts = <0x0 0x1a 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2020000 0x4000>;
					pinctrl-0 = <0xa>;
					dmas = <0x9 0x19 0x4 0x0 0x9 0x1a 0x4 0x0>;
					pinctrl-names = "default";
				};

				ssi@0202c000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb3 0x2 0x9e>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x2f 0x4>;
					dma-names = "rx", "tx";
					reg = <0x202c000 0x4000>;
					dmas = <0x9 0x29 0x1 0x0 0x9 0x2a 0x1 0x0>;
				};

				ecspi@0200c000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x71 0x2 0x71>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x20 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x200c000 0x4000>;
					dmas = <0x9 0x5 0x8 0x1 0x9 0x6 0x8 0x2>;
				};

				spdif@02004000 {
					compatible = "fsl,imx35-spdif";
					clocks = <0x2 0xf4 0x2 0x3 0x2 0xc5 0x2 0x6b 0x2 0x0 0x2 0x76 0x2 0x3e 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", "rxtx5", "rxtx6", "rxtx7", "spba";
					status = "disabled";
					interrupts = <0x0 0x34 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2004000 0x4000>;
					dmas = <0x9 0xe 0x12 0x0 0x9 0xf 0x12 0x0>;
				};

				ecspi@02014000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x73 0x2 0x73>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x22 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2014000 0x4000>;
					dmas = <0x9 0x9 0x8 0x1 0x9 0xa 0x8 0x2>;
				};
			};

			sdma@020ec000 {
				#dma-cells = <0x3>;
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				clocks = <0x2 0x9b 0x2 0x9b>;
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
				clock-names = "ipg", "ahb";
				interrupts = <0x0 0x2 0x4>;
				phandle = <0x9>;
				reg = <0x20ec000 0x4000>;
				linux,phandle = <0x9>;
			};

			wdog@020c0000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				status = "disabled";
				interrupts = <0x0 0x51 0x4>;
				reg = <0x20c0000 0x4000>;
			};

			kpp@020b8000 {
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
				clocks = <0x2 0x3e>;
				status = "disabled";
				interrupts = <0x0 0x52 0x4>;
				reg = <0x20b8000 0x4000>;
			};

			dcic@020e8000 {
				interrupts = <0x0 0x7d 0x4>;
				reg = <0x20e8000 0x4000>;
			};

			pxp@020f0000 {
				interrupts = <0x0 0x62 0x4>;
				reg = <0x20f0000 0x4000>;
			};

			gpio@020b0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x17 0x6 0xf 0x6 0x4b 0x1 0xf 0x7 0x9c 0x1 0xf 0x8 0x9b 0x1 0xf 0x9 0xaa 0x1 0xf 0xa 0xa9 0x1 0xf 0xb 0x9d 0x1 0xf 0xe 0x9e 0x3 0xf 0x11 0xcc 0x1 0xf 0x12 0xcb 0x1 0xf 0x13 0xb6 0x1 0xf 0x14 0xb1 0x4 0xf 0x18 0xaf 0x1 0xf 0x19 0xab 0x1 0xf 0x1a 0xb5 0x1 0xf 0x1b 0xac 0x3 0xf 0x1e 0xb0 0x1 0xf 0x1f 0x4e 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4c 0x4 0x0 0x4d 0x4>;
				reg = <0x20b0000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			gpio@020a8000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x5 0x88 0x1 0xf 0x6 0x91 0x1 0xf 0x7 0x96 0x1 0xf 0x8 0x92 0x1 0xf 0x9 0x97 0x1 0xf 0xa 0x93 0x1 0xf 0xb 0x97 0x1 0xf 0xc 0x94 0x1 0xf 0xd 0x99 0x1 0xf 0xe 0x95 0x1 0xf 0xf 0x9a 0x1 0xf 0x10 0x27 0x7 0xf 0x17 0x38 0x1 0xf 0x18 0x3d 0x7 0xf 0x1f 0x2e 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x48 0x4 0x0 0x49 0x4>;
				reg = <0x20a8000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			snvs@020cc000 {
				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
				phandle = <0x12>;
				reg = <0x20cc000 0x4000>;
				linux,phandle = <0x12>;

				snvs-poweroff {
					compatible = "syscon-poweroff";
					mask = <0x60>;
					offset = <0x38>;
					status = "disabled";
					regmap = <0x12>;
				};

				snvs-rtc-lp {
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
					offset = <0x34>;
					interrupts = <0x0 0x13 0x4 0x0 0x14 0x4>;
					regmap = <0x12>;
				};
			};

			pwm@02088000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x93>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x55 0x4>;
				reg = <0x2088000 0x4000>;
				#pwm-cells = <0x2>;
			};

			tempmon {
				compatible = "fsl,imx6q-tempmon";
				clocks = <0x2 0xac>;
				interrupts = <0x0 0x31 0x4>;
				fsl,tempmon = <0x10>;
				fsl,tempmon-data = <0x11>;
			};

			src@020d8000 {
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
				#reset-cells = <0x1>;
				interrupts = <0x0 0x5b 0x4 0x0 0x60 0x4>;
				phandle = <0xb>;
				reg = <0x20d8000 0x4000>;
				linux,phandle = <0xb>;
			};

			gpio@0209c000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x83 0x2 0xf 0x2 0x89 0x8 0xf 0xa 0xbd 0x2 0xf 0xc 0xc2 0x1 0xf 0xd 0xc1 0x1 0xf 0xe 0xc0 0x1 0xf 0xf 0xbf 0x1 0xf 0x10 0xb9 0x2 0xf 0x12 0xb8 0x1 0xf 0x13 0xbb 0x1 0xf 0x14 0xb7 0x1 0xf 0x15 0xbc 0x1 0xf 0x16 0x7b 0x3 0xf 0x19 0x79 0x1 0xf 0x1a 0x7f 0x1 0xf 0x1b 0x7e 0x1 0xf 0x1c 0x80 0x1 0xf 0x1d 0x82 0x1 0xf 0x1e 0x81 0x1 0xf 0x1f 0x7a 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x42 0x4 0x0 0x43 0x4>;
				phandle = <0x2f>;
				reg = <0x209c000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x2f>;
				interrupt-controller;
			};

			epit@020d4000 {
				interrupts = <0x0 0x39 0x4>;
				reg = <0x20d4000 0x4000>;
			};
		};

		interrupt-controller@00a01000 {
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <0x3>;
			interrupt-parent = <0x8>;
			phandle = <0x8>;
			reg = <0xa01000 0x1000 0xa00100 0x100>;
			linux,phandle = <0x8>;
			interrupt-controller;
		};

		gpu@00134000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1a 0x2 0x79>;
			clock-names = "bus", "core";
			interrupts = <0x0 0xa 0x4>;
			phandle = <0x44>;
			reg = <0x134000 0x4000>;
			linux,phandle = <0x44>;
		};

		pmu {
			compatible = "arm,cortex-a9-pmu";
			interrupts = <0x0 0x5e 0x4>;
		};

		hdmi@0120000 {
			compatible = "fsl,imx6dl-hdmi";
			clocks = <0x2 0x7b 0x2 0x7c>;
			clock-names = "iahb", "isfr";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0x73 0x4>;
			#size-cells = <0x0>;
			reg = <0x120000 0x9000>;
			ddc-i2c-bus = <0x5>;
			gpr = <0x4>;

			port@1 {
				reg = <0x1>;

				endpoint {
					remote-endpoint = <0x7>;
					phandle = <0x3b>;
					linux,phandle = <0x3b>;
				};
			};

			port@0 {
				reg = <0x0>;

				endpoint {
					remote-endpoint = <0x6>;
					phandle = <0x37>;
					linux,phandle = <0x37>;
				};
			};
		};

		gpmi-nand@00112000 {
			compatible = "fsl,imx6q-gpmi-nand";
			clocks = <0x2 0x98 0x2 0x99 0x2 0x97 0x2 0x96 0x2 0x95>;
			reg-names = "gpmi-nand", "bch";
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch", "gpmi_bch_apb", "per1_bch";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0xf 0x4>;
			#size-cells = <0x1>;
			dma-names = "rx-tx";
			reg = <0x112000 0x2000 0x114000 0x2000>;
			dmas = <0x3 0x0>;
			interrupt-names = "bch";
		};

		l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			cache-level = <0x2>;
			arm,shared-override;
			cache-unified;
			arm,data-latency = <0x4 0x2 0x3>;
			interrupts = <0x0 0x5c 0x4>;
			phandle = <0x3f>;
			reg = <0xa02000 0x1000>;
			linux,phandle = <0x3f>;
			arm,tag-latency = <0x4 0x2 0x3>;
		};

		ipu@02400000 {
			compatible = "fsl,imx6q-ipu";
			clocks = <0x2 0x82 0x2 0x83 0x2 0x84>;
			resets = <0xb 0x2>;
			clock-names = "bus", "di0", "di1";
			#address-cells = <0x1>;
			interrupts = <0x0 0x6 0x4 0x0 0x5 0x4>;
			#size-cells = <0x0>;
			reg = <0x2400000 0x400000>;

			port@3 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x43>;
				reg = <0x3>;
				linux,phandle = <0x43>;

				lvds1-endpoint {
					remote-endpoint = <0x3e>;
					phandle = <0x1a>;
					linux,phandle = <0x1a>;
				};

				mipi-endpoint {
					remote-endpoint = <0x3c>;
					phandle = <0x34>;
					linux,phandle = <0x34>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x3b>;
					phandle = <0x7>;
					linux,phandle = <0x7>;
				};

				disp1-endpoint {
				};

				lvds0-endpoint {
					remote-endpoint = <0x3d>;
					phandle = <0x16>;
					linux,phandle = <0x16>;
				};
			};

			port@1 {
				reg = <0x1>;
			};

			port@2 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x42>;
				reg = <0x2>;
				linux,phandle = <0x42>;

				lvds1-endpoint {
					remote-endpoint = <0x3a>;
					phandle = <0x19>;
					linux,phandle = <0x19>;
				};

				disp0-endpoint {
				};

				mipi-endpoint {
					remote-endpoint = <0x38>;
					phandle = <0x33>;
					linux,phandle = <0x33>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x37>;
					phandle = <0x6>;
					linux,phandle = <0x6>;
				};

				lvds0-endpoint {
					remote-endpoint = <0x39>;
					phandle = <0x15>;
					linux,phandle = <0x15>;
				};
			};

			port@0 {
				reg = <0x0>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";
		status = "okay";
		pinctrl-0 = <0x46>;
		pinctrl-names = "default";

		led0 {
			gpios = <0x47 0xb 0x1>;
			label = "led";
			default-state = "off";
		};
	};

	aliases {
		i2c3 = "/soc/aips-bus@02100000/i2c@021f8000";
		gpio2 = "/soc/aips-bus@02000000/gpio@020a4000";
		spi2 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000";
		i2c1 = "/soc/aips-bus@02100000/i2c@021a4000";
		mmc3 = "/soc/aips-bus@02100000/usdhc@0219c000";
		gpio0 = "/soc/aips-bus@02000000/gpio@0209c000";
		spi0 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000";
		mmc1 = "/soc/aips-bus@02100000/usdhc@02194000";
		ethernet0 = "/soc/aips-bus@02100000/ethernet@02188000";
		serial3 = "/soc/aips-bus@02100000/serial@021f0000";
		usbphy1 = "/soc/aips-bus@02000000/usbphy@020ca000";
		gpio5 = "/soc/aips-bus@02000000/gpio@020b0000";
		serial1 = "/soc/aips-bus@02100000/serial@021e8000";
		gpio3 = "/soc/aips-bus@02000000/gpio@020a8000";
		can0 = "/soc/aips-bus@02000000/flexcan@02090000";
		spi3 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000";
		i2c2 = "/soc/aips-bus@02100000/i2c@021a8000";
		gpio1 = "/soc/aips-bus@02000000/gpio@020a0000";
		spi1 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000";
		i2c0 = "/soc/aips-bus@02100000/i2c@021a0000";
		mmc2 = "/soc/aips-bus@02100000/usdhc@02198000";
		mmc0 = "/soc/aips-bus@02100000/usdhc@02190000";
		serial4 = "/soc/aips-bus@02100000/serial@021f4000";
		gpio6 = "/soc/aips-bus@02000000/gpio@020b4000";
		serial2 = "/soc/aips-bus@02100000/serial@021ec000";
		usbphy0 = "/soc/aips-bus@02000000/usbphy@020c9000";
		ipu0 = "/soc/ipu@02400000";
		gpio4 = "/soc/aips-bus@02000000/gpio@020ac000";
		can1 = "/soc/aips-bus@02000000/flexcan@02094000";
		serial0 = "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000";
	};

	chosen {
		bootargs = "console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x00,0x1b,0xc5,0x08,0xd1,0x10 system_rev=0xe3600000 system_serialnr=0x12345678 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  video=mxcfb0:dev=ldb,if=RGB24,bpp=32  fbmem=32M vmalloc=400M ";
		linux,stdout-path = "/soc/aips-bus@02100000/serial@021ec000";
	};

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

		regulator@3 {
			compatible = "regulator-fixed";
			phandle = <0x24>;
			regulator-min-microvolt = <0x325aa0>;
			reg = <0x3>;
			regulator-max-microvolt = <0x325aa0>;
			regulator-always-on;
			regulator-name = "3P3V";
			linux,phandle = <0x24>;
		};

		regulator@1 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x16e360>;
			reg = <0x1>;
			regulator-max-microvolt = <0x16e360>;
			regulator-always-on;
			regulator-name = "1P5V";
		};

		regulator@6 {
			compatible = "regulator-fixed";
			enable-active-high;
			gpio = <0x2a 0x3 0x0>;
			phandle = <0x28>;
			regulator-min-microvolt = <0x1f78a40>;
			reg = <0x6>;
			regulator-max-microvolt = <0x1f78a40>;
			regulator-always-on;
			regulator-name = "sdio_en";
			linux,phandle = <0x28>;
		};

		regulator@4 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x26 0x16 0x1>;
			phandle = <0x1d>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x4>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-name = "usb_otg_vbus";
			linux,phandle = <0x1d>;
		};

		regulator@2 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x2625a0>;
			reg = <0x2>;
			regulator-max-microvolt = <0x2625a0>;
			regulator-always-on;
			regulator-name = "2P5V";
		};

		regulator@0 {
			compatible = "regulator-fixed";
			phandle = <0x2d>;
			regulator-min-microvolt = <0x124f80>;
			reg = <0x0>;
			regulator-max-microvolt = <0x124f80>;
			regulator-always-on;
			regulator-name = "1P2V";
			linux,phandle = <0x2d>;
		};

		regulator@7 {
			compatible = "regulator-fixed";
			phandle = <0xe>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x7>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "5P0V";
			linux,phandle = <0xe>;
		};

		regulator@5 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x26 0x1f 0x1>;
			phandle = <0x21>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x5>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "usb_h1_vbus";
			linux,phandle = <0x21>;
		};
	};

	sound {
		compatible = "fsl,imx6-ek360-sgtl5000", "fsl,imx-audio-sgtl5000";
		ssi-controller = <0x4a>;
		model = "imx6-ek360-sgtl5000";
		micbias-voltage-m-volts = <0xbb8>;
		mux-int-port = <0x1>;
		status = "okay";
		mux-ext-port = <0x3>;
		micbias-resistor-k-ohms = <0x2>;
		audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT";
		audio-codec = <0x4b>;
	};

	memory {
		device_type = "memory";
		reg = <0x10000000 0x40000000>;
	};

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

		cpu@1 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <0x3f>;
			reg = <0x1>;
		};

		cpu@0 {
			compatible = "arm,cortex-a9";
			clocks = <0x2 0x68 0x2 0x6 0x2 0x10 0x2 0x11 0x2 0xaa>;
			device_type = "cpu";
			soc-supply = <0x41>;
			arm-supply = <0x40>;
			clock-names = "arm", "pll2_pfd2_396m", "step", "pll1_sw", "pll1_sys";
			fsl,soc-operating-points = <0xf32a0 0x11edd8 0xc15c0 0x11edd8 0x60ae0 0x11edd8>;
			next-level-cache = <0x3f>;
			reg = <0x0>;
			operating-points = <0xf32a0 0x1312d0 0xc15c0 0x11edd8 0x60ae0 0x118c30>;
			pu-supply = <0x13>;
			clock-latency = <0xee6c>;
		};
	};

	panel {
		compatible = "innolux,g101ice_l01", "simple-panel";
		status = "okay";
		phandle = <0x14>;
		linux,phandle = <0x14>;
		backlight = <0x4c>;

		port {

			endpoint {
				remote-endpoint = <0x4d>;
				phandle = <0x18>;
				linux,phandle = <0x18>;
			};
		};
	};
};

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-19 15:49     ` gianluca
@ 2017-06-21  6:32       ` Sascha Hauer
  2017-06-21 11:35         ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: Sascha Hauer @ 2017-06-21  6:32 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Hi Gianluca,

On Mon, Jun 19, 2017 at 05:49:41PM +0200, gianluca wrote:
> Hello Lucas, Sascha and the barebox mailing list guys!
> 
> I am back with the new boards batch release (now QuadPlus and DualLite iMX6)
> 
> Now I adapted barebox to fit both processors and it works quite well.
> 
> From Barebox point-of-view the ldb node of the device-tree is using three
> timings and they are working good depending on which panel bridge board I am
> connecting to (1280x800, 1024x600 and 800x480).
> 
> The custom startup code of barebox is looking for a special eeprom on the
> panel-bridge and set the device tree accordingly, i.e. setting the
> native-mode node to the correct display-timing.
> 
> The same device-tree is used in Linux (as in attachment) as you can see the
> ldb section and the panel section, using a simple-panel and a correct panel
> timing using the innolux,g101ice_l01 panel driver timings.
> 
> > 
> > > No, Linux does not support DT defined modes in the panel. You need a
> > > panel with a proper compatible and driver.
> > > 
> > > See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
> > > want to use.
> > > 
> 
> They are ignored in the Barebox starup (as you know barebox can use the
> display-timings in the ldb section) but the panel section is used in linux.
> 
> Nevertheless it does not work.

What exactly does not work? No picture in barebox? Any error messages?
Does it work in Linux?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-21  6:32       ` Sascha Hauer
@ 2017-06-21 11:35         ` gianluca
  2017-06-21 11:50           ` Lucas Stach
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-21 11:35 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On 06/21/2017 08:32 AM, Sascha Hauer wrote:
> Hi Gianluca,
>
> On Mon, Jun 19, 2017 at 05:49:41PM +0200, gianluca wrote:
>> Hello Lucas, Sascha and the barebox mailing list guys!
>>
>> I am back with the new boards batch release (now QuadPlus and DualLite iMX6)
>>
>> Now I adapted barebox to fit both processors and it works quite well.
>>
>> From Barebox point-of-view the ldb node of the device-tree is using three
>> timings and they are working good depending on which panel bridge board I am
>> connecting to (1280x800, 1024x600 and 800x480).
>>
>> The custom startup code of barebox is looking for a special eeprom on the
>> panel-bridge and set the device tree accordingly, i.e. setting the
>> native-mode node to the correct display-timing.
>>
>> The same device-tree is used in Linux (as in attachment) as you can see the
>> ldb section and the panel section, using a simple-panel and a correct panel
>> timing using the innolux,g101ice_l01 panel driver timings.
>>
>>>
>>>> No, Linux does not support DT defined modes in the panel. You need a
>>>> panel with a proper compatible and driver.
>>>>
>>>> See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
>>>> want to use.
>>>>
>>
>> They are ignored in the Barebox starup (as you know barebox can use the
>> display-timings in the ldb section) but the panel section is used in linux.
>>
>> Nevertheless it does not work.
>
> What exactly does not work? No picture in barebox? Any error messages?
> Does it work in Linux?
>

In Barebox no problem at all (screen frequency apart. For every 
display-timing found it gives me @0 Hz...).

The problem is in Linux. The utility fbset is giving me 16bpp!!

The panel driver used (innolux,g101ice-l01) has the RGB888 format and 
the ldb in the device-tree section has fsl,data-width = <24>

This issue is present for every panel I use (lg,lb070wv8 and 
auo,b101aw03 too) so maybe some misconfiguration somewhere...

I was supposed to have 24 or 32 bit in the framebuffer driver using 
fbset... May be some fbset issue?

Some issue??? I have no Xorg. only fbdev


-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-21 11:35         ` gianluca
@ 2017-06-21 11:50           ` Lucas Stach
  2017-06-21 15:18             ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: Lucas Stach @ 2017-06-21 11:50 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Am Mittwoch, den 21.06.2017, 13:35 +0200 schrieb gianluca:
> On 06/21/2017 08:32 AM, Sascha Hauer wrote:
> > Hi Gianluca,
> >
> > On Mon, Jun 19, 2017 at 05:49:41PM +0200, gianluca wrote:
> >> Hello Lucas, Sascha and the barebox mailing list guys!
> >>
> >> I am back with the new boards batch release (now QuadPlus and DualLite iMX6)
> >>
> >> Now I adapted barebox to fit both processors and it works quite well.
> >>
> >> From Barebox point-of-view the ldb node of the device-tree is using three
> >> timings and they are working good depending on which panel bridge board I am
> >> connecting to (1280x800, 1024x600 and 800x480).
> >>
> >> The custom startup code of barebox is looking for a special eeprom on the
> >> panel-bridge and set the device tree accordingly, i.e. setting the
> >> native-mode node to the correct display-timing.
> >>
> >> The same device-tree is used in Linux (as in attachment) as you can see the
> >> ldb section and the panel section, using a simple-panel and a correct panel
> >> timing using the innolux,g101ice_l01 panel driver timings.
> >>
> >>>
> >>>> No, Linux does not support DT defined modes in the panel. You need a
> >>>> panel with a proper compatible and driver.
> >>>>
> >>>> See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you
> >>>> want to use.
> >>>>
> >>
> >> They are ignored in the Barebox starup (as you know barebox can use the
> >> display-timings in the ldb section) but the panel section is used in linux.
> >>
> >> Nevertheless it does not work.
> >
> > What exactly does not work? No picture in barebox? Any error messages?
> > Does it work in Linux?
> >
> 
> In Barebox no problem at all (screen frequency apart. For every 
> display-timing found it gives me @0 Hz...).
> 
> The problem is in Linux. The utility fbset is giving me 16bpp!!
> 
> The panel driver used (innolux,g101ice-l01) has the RGB888 format and 
> the ldb in the device-tree section has fsl,data-width = <24>
> 
> This issue is present for every panel I use (lg,lb070wv8 and 
> auo,b101aw03 too) so maybe some misconfiguration somewhere...
> 
> I was supposed to have 24 or 32 bit in the framebuffer driver using 
> fbset... May be some fbset issue?
> 
> Some issue??? I have no Xorg. only fbdev

The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want
to change this you need to provide the module parameter
"legacyfb_depth=32".

Regards,
Lucas


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-21 11:50           ` Lucas Stach
@ 2017-06-21 15:18             ` gianluca
  2017-06-21 15:30               ` Lucas Stach
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-21 15:18 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 06/21/2017 01:50 PM, Lucas Stach wrote:

> The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want
> to change this you need to provide the module parameter
> "legacyfb_depth=32".
>

>
> Debian GNU/Linux 8 edelin ttymxc2
>
> edelin login: root
> Password:
> Linux edelin 4.9.7-EK20170621 #1 SMP Wed Jun 21 15:23:57 CEST 2017 armv7l
>
> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> root@edelin:~# fbset
>
> mode "1280x800"
>     geometry 1280 800 1280 800 16
>     timings 0 0 0 0 0 0 0
>     accel true
>     rgba 5/11,6/5,5/0,0/0
> endmode
>
> root@edelin:~# cat /proc/cmdline
> console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 \
 > root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff \
 > system_rev=0xe3600000 system_serialnr=0x00000000 \
 > lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0 \
 > video=mxcfb0:dev=ldb,if=RGB24,bpp=32 \
 > fbmem=32M vmalloc=400M imx-drm.legacyfb_depth=32

As you can see imx-drm.legacy_depth=32 is passed to the kernel from 
bootloader.

The CONFIG for FrameBuffer Emulation with DRM and HELPERS are enabled.

But fbset is telling me 16 bpp... :-(

Any help?
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-21 15:18             ` gianluca
@ 2017-06-21 15:30               ` Lucas Stach
  2017-06-23  9:45                 ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: Lucas Stach @ 2017-06-21 15:30 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Am Mittwoch, den 21.06.2017, 17:18 +0200 schrieb gianluca:
> On 06/21/2017 01:50 PM, Lucas Stach wrote:
> 
> > The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want
> > to change this you need to provide the module parameter
> > "legacyfb_depth=32".
> >
> 
> >
> > Debian GNU/Linux 8 edelin ttymxc2
> >
> > edelin login: root
> > Password:
> > Linux edelin 4.9.7-EK20170621 #1 SMP Wed Jun 21 15:23:57 CEST 2017 armv7l
> >
> > The programs included with the Debian GNU/Linux system are free software;
> > the exact distribution terms for each program are described in the
> > individual files in /usr/share/doc/*/copyright.
> >
> > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> > permitted by applicable law.
> > root@edelin:~# fbset
> >
> > mode "1280x800"
> >     geometry 1280 800 1280 800 16
> >     timings 0 0 0 0 0 0 0
> >     accel true
> >     rgba 5/11,6/5,5/0,0/0
> > endmode
> >
> > root@edelin:~# cat /proc/cmdline
> > console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 \
>  > root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff \
>  > system_rev=0xe3600000 system_serialnr=0x00000000 \
>  > lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0 \
>  > video=mxcfb0:dev=ldb,if=RGB24,bpp=32 \
>  > fbmem=32M vmalloc=400M imx-drm.legacyfb_depth=32
> 
> As you can see imx-drm.legacy_depth=32 is passed to the kernel from 
> bootloader.

The module is called "imxdrm" without a dash, so the correct way to
specify the parameter on the command line is "imxdrm.legacyfb_depth=32".

I'm not sure what you are trying to achieve with the mxcfb and fbmem
parameters. They are certainly ignored by a mainline kernel.

Regards,
Lucas


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-21 15:30               ` Lucas Stach
@ 2017-06-23  9:45                 ` gianluca
  2017-06-26  8:40                   ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-23  9:45 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 06/21/2017 05:30 PM, Lucas Stach wrote:
> Am Mittwoch, den 21.06.2017, 17:18 +0200 schrieb gianluca:
>> On 06/21/2017 01:50 PM, Lucas Stach wrote:
>>> root@edelin:~# cat /proc/cmdline
>>> console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 \
>>  > root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff \
>>  > system_rev=0xe3600000 system_serialnr=0x00000000 \
>>  > lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0 \
>>  > video=mxcfb0:dev=ldb,if=RGB24,bpp=32 \
>>  > fbmem=32M vmalloc=400M imx-drm.legacyfb_depth=32
>>
>> As you can see imx-drm.legacy_depth=32 is passed to the kernel from
>> bootloader.
>
> The module is called "imxdrm" without a dash, so the correct way to
> specify the parameter on the command line is "imxdrm.legacyfb_depth=32".
>
> I'm not sure what you are trying to achieve with the mxcfb and fbmem
> parameters. They are certainly ignored by a mainline kernel.
>

It works now, the culprit was the name of the driver: imxdrm is the 
right one.


Now a little bit off-topic question:

- Is it better to use Xorg X11 (with a custom full screen application 
using Qt 5) [with all concerns about using a Debian Jessie for armhf, 
i.e.: imx-drm-vivante driver, opengl/opencl custom libraries etc.,...] 
or using a framebuffer Qt application??? I know the framebuffer does not 
have any acceleration, but I suppose the CPU (even the dual-core) is 
powerful enough to manage some simple transition of the application pages...

What do you think about this?

Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-23  9:45                 ` gianluca
@ 2017-06-26  8:40                   ` gianluca
  2017-06-26  8:46                     ` Lucas Stach
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-26  8:40 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 06/23/2017 11:45 AM, gianluca wrote:
> On 06/21/2017 05:30 PM, Lucas Stach wrote:
>>> As you can see imx-drm.legacy_depth=32 is passed to the kernel from
>>> bootloader.
>>
>> The module is called "imxdrm" without a dash, so the correct way to
>> specify the parameter on the command line is "imxdrm.legacyfb_depth=32".

>
> It works now, the culprit was the name of the driver: imxdrm is the
> right one.
>

In Barebox everything looks like good. Both boards are running quite 
well and all stuff are working as expected.
In Linux I have some strange beahviours.

If I replace the bootloader and the device-tree on the microSD card (the 
Linux kernel and the rootfilesystem remains the same) the iMX6QuadPlus 
refuses to use the framebuffer.

Frankly, I do not understand how those drivers react differently if they 
are running on the DualLite or the QuadPlus.

The main differences in the device-tree are (for Barebox point of view):
>
> diff -Nru imx6dl-eurek-ek360.dts imx6qp-eurek-ek360.dts
> --- imx6dl-eurek-ek360.dts	2017-06-21 12:22:32.000000000 +0200
> +++ imx6qp-eurek-ek360.dts	2017-06-21 13:46:35.000000000 +0200
> @@ -1,5 +1,5 @@
>  /*
> - * $Id: imx6dl-eurek-ek360.dts,v 1.4 2017/06/21 10:22:32 gianluca Exp $
> + * $Id: imx6qp-eurek-ek360.dts,v 1.5 2017/06/21 11:46:35 gianluca Exp $
>   *
>   * Copyright 2016/2017 Gianluca Renzi, Eurek Elettronica S.R.L.
>   * Copyright 2014 Raphaël Poggi
> @@ -18,13 +18,13 @@
>
>  #include <dt-bindings/gpio/gpio.h>
>  #include <dt-bindings/input/input.h>
> -#include <arm/imx6qdl.dtsi>
> -#include <arm/imx6dl.dtsi>
> -#include "imx6dl.dtsi"
> +#include <arm/imx6qp.dtsi>
> +#include "imx6qdl.dtsi"
> +#include "imx6q.dtsi"
>
>  / {
> -	model = "Eurek EK360 i.MX6DL";
> -	compatible = "eurek,ek360", "fsl,imx6dl";
> +	model = "Eurek EK360 i.MX6QP";
> +	compatible = "eurek,ek360", "fsl,imx6qp";
>
>  	chosen {
>  		linux,stdout-path = &uart3;

Just a matter of include and a compatible property line...

Of course the flash header and memory initializers are still different 
for both processors (NoC and other stuff).

In Linux the only thing wich differs is the device-tree file (more or 
less like in Barebox):

> --- linux-4.9.7-EK360-EK360DL-dts.patch	2017-06-21 12:42:00.944833220 +0200
> +++ linux-4.9.7-EK360-EK360QP-dts.patch	2017-06-22 17:29:24.634534659 +0200
> @@ -1,8 +1,8 @@
> ---- a/arch/arm/boot/dts/imx6dl-eurek-ek360.dts	1970-01-01 01:00:00.000000000 +0100
> -+++ b/arch/arm/boot/dts/imx6dl-eurek-ek360.dts	2017-06-21 12:42:00.412833238 +0200
> +--- a/arch/arm/boot/dts/imx6qp-eurek-ek360.dts	1970-01-01 01:00:00.000000000 +0100
> ++++ b/arch/arm/boot/dts/imx6qp-eurek-ek360.dts	2017-06-22 17:29:24.634534659 +0200
>  @@ -0,0 +1,626 @@
>  +/*
> -+ * $Id: imx6dl-eurek-ek360.dts,v 1.4 2017/06/21 10:22:32 gianluca Exp $
> ++ * $Id: imx6qp-eurek-ek360.dts,v 1.5 2017/06/21 11:46:35 gianluca Exp $
>  + *
>  + * Copyright 2016/2017 Gianluca Renzi, Eurek Elettronica S.R.L.
>  + * Copyright 2014 Raphaël Poggi
> @@ -21,13 +21,13 @@
>  +
>  +#include <dt-bindings/gpio/gpio.h>
>  +#include <dt-bindings/input/input.h>
> -+/* #include <arm/imx6qdl.dtsi> */
> -+#include "imx6qdl.dtsi"
> -+#include "imx6dl.dtsi"
> ++/* #include <arm/imx6qp.dtsi> */
> ++/* #include "imx6qdl.dtsi" */
> ++#include "imx6qp.dtsi"
>  +
>  +/ {
> -+	model = "Eurek EK360 i.MX6DL";
> -+	compatible = "eurek,ek360", "fsl,imx6dl";
> ++	model = "Eurek EK360 i.MX6QP";
> ++	compatible = "eurek,ek360", "fsl,imx6qp";
>  +
>  +	chosen {
>  +		linux,stdout-path = &uart3;

The DuaLite has those includes:

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/* #include <arm/imx6qdl.dtsi> */
#include "imx6qdl.dtsi"
#include "imx6dl.dtsi"

and the compatible string is: compatible = "eurek,ek360", "fsl,imx6dl"

The QuadPlus has those includes:

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/* #include <arm/imx6qp.dtsi> */
/* #include "imx6qdl.dtsi" */
#include "imx6qp.dtsi"

and the compatible string is: compatible = "eurek,ek360", "fsl,imx6qp"

During boot I can see no output on the framebuffer on the QuadPlus and 
the kernel log have those messages:

> [    4.914737] ------------[ cut here ]------------
> [    4.914769] WARNING: CPU: 1 PID: 17 at drivers/gpu/drm/drm_atomic_helper.c:1140 drm_atomic_helper_wait_for_vblanks+0x258/0x25c
> [    4.914772] [CRTC:24] vblank wait timed out
> [    4.914846] Modules linked in: evdev joydev rfkill at24 nvmem_imx_ocotp ci_hdrc_imx nvmem_core sx8656_ek(O) ci_hdrc udc_core ehci_hcd usbcore usbmisc_imx coda phy_mxs_usb v4l2_mem2mem panel_simple videobuf2_v4l2 imx_thermal videobuf2_dma_contig imx2_wdt videobuf2_core snd_soc_fsl_asrc flexcan can_dev videobuf2_vmalloc snd_soc_fsl_asoc_card videobuf2_memops pwm_bl pwm_imx snd_ac97_codec backlight leds_gpio
> [    4.914856] CPU: 1 PID: 17 Comm: kworker/1:0 Tainted: G           O    4.9.7-EK20170623 #1
> [    4.914859] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> [    4.914875] Workqueue: events deferred_probe_work_func
> [    4.914900] [<c0115354>] (unwind_backtrace) from [<c010e414>] (show_stack+0x20/0x24)
> [    4.914915] [<c010e414>] (show_stack) from [<c04716f8>] (dump_stack+0x94/0xb0)
> [    4.914927] [<c04716f8>] (dump_stack) from [<c014cd8c>] (__warn+0xf8/0x110)
> [    4.914937] [<c014cd8c>] (__warn) from [<c014ce74>] (warn_slowpath_fmt+0x48/0x50)
> [    4.914951] [<c014ce74>] (warn_slowpath_fmt) from [<c05ca298>] (drm_atomic_helper_wait_for_vblanks+0x258/0x25c)
> [    4.914970] [<c05ca298>] (drm_atomic_helper_wait_for_vblanks) from [<c05f6ef4>] (imx_drm_atomic_commit_tail+0x58/0x68)
> [    4.914982] [<c05f6ef4>] (imx_drm_atomic_commit_tail) from [<c05cac64>] (commit_tail+0x50/0x6c)
> [    4.914992] [<c05cac64>] (commit_tail) from [<c05cb890>] (drm_atomic_helper_commit+0xa4/0xe4)
> [    4.915003] [<c05cb890>] (drm_atomic_helper_commit) from [<c05f7008>] (imx_drm_atomic_commit+0x104/0x130)
> [    4.915021] [<c05f7008>] (imx_drm_atomic_commit) from [<c05ec25c>] (drm_atomic_commit+0x5c/0x68)
> [    4.915038] [<c05ec25c>] (drm_atomic_commit) from [<c05cf358>] (restore_fbdev_mode+0x158/0x298)
> [    4.915051] [<c05cf358>] (restore_fbdev_mode) from [<c05cf6bc>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x40/0x84)
> [    4.915063] [<c05cf6bc>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c05cf578>] (drm_fb_helper_set_par+0x40/0x6c)
> [    4.915076] [<c05cf578>] (drm_fb_helper_set_par) from [<c04fe008>] (fbcon_init+0x4b4/0x4f8)
> [    4.915088] [<c04fe008>] (fbcon_init) from [<c05876e0>] (visual_init+0xd4/0x11c)
> [    4.915102] [<c05876e0>] (visual_init) from [<c05898b4>] (do_bind_con_driver+0x14c/0x334)
> [    4.915112] [<c05898b4>] (do_bind_con_driver) from [<c0589bec>] (do_take_over_console+0x150/0x1b4)
> [    4.915121] [<c0589bec>] (do_take_over_console) from [<c04fe0d4>] (do_fbcon_takeover+0x88/0xe8)
> [    4.915130] [<c04fe0d4>] (do_fbcon_takeover) from [<c04feda8>] (fbcon_event_notify+0x7c0/0x7f8)
> [    4.915142] [<c04feda8>] (fbcon_event_notify) from [<c016f57c>] (notifier_call_chain+0x54/0x94)
> [    4.915153] [<c016f57c>] (notifier_call_chain) from [<c016f88c>] (__blocking_notifier_call_chain+0x58/0x70)
> [    4.915164] [<c016f88c>] (__blocking_notifier_call_chain) from [<c016f8cc>] (blocking_notifier_call_chain+0x28/0x30)
> [    4.915175] [<c016f8cc>] (blocking_notifier_call_chain) from [<c0504d5c>] (fb_notifier_call_chain+0x2c/0x30)
> [    4.915187] [<c0504d5c>] (fb_notifier_call_chain) from [<c0506b10>] (register_framebuffer+0x1f8/0x2b0)
> [    4.915200] [<c0506b10>] (register_framebuffer) from [<c05cf960>] (drm_fb_helper_initial_config+0x260/0x408)
> [    4.915212] [<c05cf960>] (drm_fb_helper_initial_config) from [<c05d00a0>] (drm_fbdev_cma_init_with_funcs+0x90/0x110)
> [    4.915223] [<c05d00a0>] (drm_fbdev_cma_init_with_funcs) from [<c05d0148>] (drm_fbdev_cma_init+0x28/0x30)
> [    4.915236] [<c05d0148>] (drm_fbdev_cma_init) from [<c05f7180>] (imx_drm_bind+0x104/0x194)
> [    4.915254] [<c05f7180>] (imx_drm_bind) from [<c061b780>] (try_to_bring_up_master+0x234/0x294)
> [    4.915266] [<c061b780>] (try_to_bring_up_master) from [<c061b8a0>] (component_add+0xc0/0x158)
> [    4.915277] [<c061b8a0>] (component_add) from [<c05fa178>] (ipu_drm_probe+0x68/0x74)
> [    4.915291] [<c05fa178>] (ipu_drm_probe) from [<c0622e90>] (platform_drv_probe+0x60/0xc0)
> [    4.915304] [<c0622e90>] (platform_drv_probe) from [<c0620ce4>] (driver_probe_device+0x238/0x428)
> [    4.915314] [<c0620ce4>] (driver_probe_device) from [<c0621230>] (__device_attach_driver+0xac/0x10c)
> [    4.915324] [<c0621230>] (__device_attach_driver) from [<c061ec18>] (bus_for_each_drv+0x54/0x9c)
> [    4.915335] [<c061ec18>] (bus_for_each_drv) from [<c06209a8>] (__device_attach+0xb0/0x134)
> [    4.915344] [<c06209a8>] (__device_attach) from [<c06212ac>] (device_initial_probe+0x1c/0x20)
> [    4.915354] [<c06212ac>] (device_initial_probe) from [<c061fdb8>] (bus_probe_device+0x94/0x9c)
> [    4.915364] [<c061fdb8>] (bus_probe_device) from [<c0620290>] (deferred_probe_work_func+0x7c/0xc8)
> [    4.915377] [<c0620290>] (deferred_probe_work_func) from [<c01679dc>] (process_one_work+0x14c/0x440)
> [    4.915386] [<c01679dc>] (process_one_work) from [<c0167d6c>] (worker_thread+0x54/0x504)
> [    4.915398] [<c0167d6c>] (worker_thread) from [<c016de48>] (kthread+0xf0/0x108)
> [    4.915415] [<c016de48>] (kthread) from [<c0109cf8>] (ret_from_fork+0x14/0x3c)
> [    4.915419] ---[ end trace 64ae59d2b69cc4d3 ]---
>

and after a while:

> [   15.102758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   25.342746] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   25.358582] Console: switching to colour frame buffer device 160x50
> [   35.582744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   36.214243] imx-drm display-subsystem: fb0:  frame buffer device
> [   46.334758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   56.574757] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   66.814751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   77.054740] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   87.294748] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [   97.534744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [  107.774751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out
> [  118.014750] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out

On both board the kernel cmd line is:
> ~# cat /proc/cmdline
> console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot imxdrm.legacyfb_depth=32

Any help?

Unfortunately this is the only QuadPlus *FULLY WORKING* from the Barebox 
Point-Of-View... But I wish to not include some hardware error 
(nevertheless in BareBox the display/framebuffer is working good...)


Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-26  8:40                   ` gianluca
@ 2017-06-26  8:46                     ` Lucas Stach
  2017-06-26 13:28                       ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: Lucas Stach @ 2017-06-26  8:46 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Am Montag, den 26.06.2017, 10:40 +0200 schrieb gianluca:
> On 06/23/2017 11:45 AM, gianluca wrote:
> > On 06/21/2017 05:30 PM, Lucas Stach wrote:
> > > > As you can see imx-drm.legacy_depth=32 is passed to the kernel
> > > > from
> > > > bootloader.
> > > 
> > > The module is called "imxdrm" without a dash, so the correct way
> > > to
> > > specify the parameter on the command line is
> > > "imxdrm.legacyfb_depth=32".
> > 
> > It works now, the culprit was the name of the driver: imxdrm is the
> > right one.
> > 
> 
> In Barebox everything looks like good. Both boards are running quite 
> well and all stuff are working as expected.
> In Linux I have some strange beahviours.
> 
> If I replace the bootloader and the device-tree on the microSD card
> (the 
> Linux kernel and the rootfilesystem remains the same) the
> iMX6QuadPlus 
> refuses to use the framebuffer.
> 
> Frankly, I do not understand how those drivers react differently if
> they 
> are running on the DualLite or the QuadPlus.
> 
> The main differences in the device-tree are (for Barebox point of
> view):
> > 
> > diff -Nru imx6dl-eurek-ek360.dts imx6qp-eurek-ek360.dts
> > --- imx6dl-eurek-ek360.dts	2017-06-21 12:22:32.000000000
> > +0200
> > +++ imx6qp-eurek-ek360.dts	2017-06-21 13:46:35.000000000
> > +0200
> > @@ -1,5 +1,5 @@
> >  /*
> > - * $Id: imx6dl-eurek-ek360.dts,v 1.4 2017/06/21 10:22:32 gianluca
> > Exp $
> > + * $Id: imx6qp-eurek-ek360.dts,v 1.5 2017/06/21 11:46:35 gianluca
> > Exp $
> >   *
> >   * Copyright 2016/2017 Gianluca Renzi, Eurek Elettronica S.R.L.
> >   * Copyright 2014 Raphaël Poggi
> > @@ -18,13 +18,13 @@
> > 
> >  #include <dt-bindings/gpio/gpio.h>
> >  #include <dt-bindings/input/input.h>
> > -#include <arm/imx6qdl.dtsi>
> > -#include <arm/imx6dl.dtsi>
> > -#include "imx6dl.dtsi"
> > +#include <arm/imx6qp.dtsi>
> > +#include "imx6qdl.dtsi"
> > +#include "imx6q.dtsi"
> > 
> >  / {
> > -	model = "Eurek EK360 i.MX6DL";
> > -	compatible = "eurek,ek360", "fsl,imx6dl";
> > +	model = "Eurek EK360 i.MX6QP";
> > +	compatible = "eurek,ek360", "fsl,imx6qp";
> > 
> >  	chosen {
> >  		linux,stdout-path = &uart3;
> 
> Just a matter of include and a compatible property line...
> 
> Of course the flash header and memory initializers are still
> different 
> for both processors (NoC and other stuff).
> 
> In Linux the only thing wich differs is the device-tree file (more
> or 
> less like in Barebox):
> 
> > --- linux-4.9.7-EK360-EK360DL-dts.patch	2017-06-21
> > 12:42:00.944833220 +0200
> > +++ linux-4.9.7-EK360-EK360QP-dts.patch	2017-06-22
> > 17:29:24.634534659 +0200
> > @@ -1,8 +1,8 @@
> > ---- a/arch/arm/boot/dts/imx6dl-eurek-ek360.dts	1970-01-01
> > 01:00:00.000000000 +0100
> > -+++ b/arch/arm/boot/dts/imx6dl-eurek-ek360.dts	2017-06-21
> > 12:42:00.412833238 +0200
> > +--- a/arch/arm/boot/dts/imx6qp-eurek-ek360.dts	1970-01-01
> > 01:00:00.000000000 +0100
> > ++++ b/arch/arm/boot/dts/imx6qp-eurek-ek360.dts	2017-06-22
> > 17:29:24.634534659 +0200
> >  @@ -0,0 +1,626 @@
> >  +/*
> > -+ * $Id: imx6dl-eurek-ek360.dts,v 1.4 2017/06/21 10:22:32 gianluca
> > Exp $
> > ++ * $Id: imx6qp-eurek-ek360.dts,v 1.5 2017/06/21 11:46:35 gianluca
> > Exp $
> >  + *
> >  + * Copyright 2016/2017 Gianluca Renzi, Eurek Elettronica S.R.L.
> >  + * Copyright 2014 Raphaël Poggi
> > @@ -21,13 +21,13 @@
> >  +
> >  +#include <dt-bindings/gpio/gpio.h>
> >  +#include <dt-bindings/input/input.h>
> > -+/* #include <arm/imx6qdl.dtsi> */
> > -+#include "imx6qdl.dtsi"
> > -+#include "imx6dl.dtsi"
> > ++/* #include <arm/imx6qp.dtsi> */
> > ++/* #include "imx6qdl.dtsi" */
> > ++#include "imx6qp.dtsi"
> >  +
> >  +/ {
> > -+	model = "Eurek EK360 i.MX6DL";
> > -+	compatible = "eurek,ek360", "fsl,imx6dl";
> > ++	model = "Eurek EK360 i.MX6QP";
> > ++	compatible = "eurek,ek360", "fsl,imx6qp";
> >  +
> >  +	chosen {
> >  +		linux,stdout-path = &uart3;
> 
> The DuaLite has those includes:
> 
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/input/input.h>
> /* #include <arm/imx6qdl.dtsi> */
> #include "imx6qdl.dtsi"
> #include "imx6dl.dtsi"
> 
> and the compatible string is: compatible = "eurek,ek360",
> "fsl,imx6dl"
> 
> The QuadPlus has those includes:
> 
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/input/input.h>
> /* #include <arm/imx6qp.dtsi> */
> /* #include "imx6qdl.dtsi" */
> #include "imx6qp.dtsi"
> 
> and the compatible string is: compatible = "eurek,ek360",
> "fsl,imx6qp"
> 
> During boot I can see no output on the framebuffer on the QuadPlus
> and 
> the kernel log have those messages:
> 
> > [    4.914737] ------------[ cut here ]------------
> > [    4.914769] WARNING: CPU: 1 PID: 17 at
> > drivers/gpu/drm/drm_atomic_helper.c:1140
> > drm_atomic_helper_wait_for_vblanks+0x258/0x25c
> > [    4.914772] [CRTC:24] vblank wait timed out
> > [    4.914846] Modules linked in: evdev joydev rfkill at24
> > nvmem_imx_ocotp ci_hdrc_imx nvmem_core sx8656_ek(O) ci_hdrc
> > udc_core ehci_hcd usbcore usbmisc_imx coda phy_mxs_usb v4l2_mem2mem
> > panel_simple videobuf2_v4l2 imx_thermal videobuf2_dma_contig
> > imx2_wdt videobuf2_core snd_soc_fsl_asrc flexcan can_dev
> > videobuf2_vmalloc snd_soc_fsl_asoc_card videobuf2_memops pwm_bl
> > pwm_imx snd_ac97_codec backlight leds_gpio
> > [    4.914856] CPU: 1 PID: 17 Comm: kworker/1:0 Tainted:
> > G           O    4.9.7-EK20170623 #1
> > [    4.914859] Hardware name: Freescale i.MX6 Quad/DualLite (Device
> > Tree)
> > [    4.914875] Workqueue: events deferred_probe_work_func
> > [    4.914900] [<c0115354>] (unwind_backtrace) from [<c010e414>]
> > (show_stack+0x20/0x24)
> > [    4.914915] [<c010e414>] (show_stack) from [<c04716f8>]
> > (dump_stack+0x94/0xb0)
> > [    4.914927] [<c04716f8>] (dump_stack) from [<c014cd8c>]
> > (__warn+0xf8/0x110)
> > [    4.914937] [<c014cd8c>] (__warn) from [<c014ce74>]
> > (warn_slowpath_fmt+0x48/0x50)
> > [    4.914951] [<c014ce74>] (warn_slowpath_fmt) from [<c05ca298>]
> > (drm_atomic_helper_wait_for_vblanks+0x258/0x25c)
> > [    4.914970] [<c05ca298>] (drm_atomic_helper_wait_for_vblanks)
> > from [<c05f6ef4>] (imx_drm_atomic_commit_tail+0x58/0x68)
> > [    4.914982] [<c05f6ef4>] (imx_drm_atomic_commit_tail) from
> > [<c05cac64>] (commit_tail+0x50/0x6c)
> > [    4.914992] [<c05cac64>] (commit_tail) from [<c05cb890>]
> > (drm_atomic_helper_commit+0xa4/0xe4)
> > [    4.915003] [<c05cb890>] (drm_atomic_helper_commit) from
> > [<c05f7008>] (imx_drm_atomic_commit+0x104/0x130)
> > [    4.915021] [<c05f7008>] (imx_drm_atomic_commit) from
> > [<c05ec25c>] (drm_atomic_commit+0x5c/0x68)
> > [    4.915038] [<c05ec25c>] (drm_atomic_commit) from [<c05cf358>]
> > (restore_fbdev_mode+0x158/0x298)
> > [    4.915051] [<c05cf358>] (restore_fbdev_mode) from [<c05cf6bc>]
> > (drm_fb_helper_restore_fbdev_mode_unlocked+0x40/0x84)
> > [    4.915063] [<c05cf6bc>]
> > (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c05cf578>]
> > (drm_fb_helper_set_par+0x40/0x6c)
> > [    4.915076] [<c05cf578>] (drm_fb_helper_set_par) from
> > [<c04fe008>] (fbcon_init+0x4b4/0x4f8)
> > [    4.915088] [<c04fe008>] (fbcon_init) from [<c05876e0>]
> > (visual_init+0xd4/0x11c)
> > [    4.915102] [<c05876e0>] (visual_init) from [<c05898b4>]
> > (do_bind_con_driver+0x14c/0x334)
> > [    4.915112] [<c05898b4>] (do_bind_con_driver) from [<c0589bec>]
> > (do_take_over_console+0x150/0x1b4)
> > [    4.915121] [<c0589bec>] (do_take_over_console) from
> > [<c04fe0d4>] (do_fbcon_takeover+0x88/0xe8)
> > [    4.915130] [<c04fe0d4>] (do_fbcon_takeover) from [<c04feda8>]
> > (fbcon_event_notify+0x7c0/0x7f8)
> > [    4.915142] [<c04feda8>] (fbcon_event_notify) from [<c016f57c>]
> > (notifier_call_chain+0x54/0x94)
> > [    4.915153] [<c016f57c>] (notifier_call_chain) from [<c016f88c>]
> > (__blocking_notifier_call_chain+0x58/0x70)
> > [    4.915164] [<c016f88c>] (__blocking_notifier_call_chain) from
> > [<c016f8cc>] (blocking_notifier_call_chain+0x28/0x30)
> > [    4.915175] [<c016f8cc>] (blocking_notifier_call_chain) from
> > [<c0504d5c>] (fb_notifier_call_chain+0x2c/0x30)
> > [    4.915187] [<c0504d5c>] (fb_notifier_call_chain) from
> > [<c0506b10>] (register_framebuffer+0x1f8/0x2b0)
> > [    4.915200] [<c0506b10>] (register_framebuffer) from
> > [<c05cf960>] (drm_fb_helper_initial_config+0x260/0x408)
> > [    4.915212] [<c05cf960>] (drm_fb_helper_initial_config) from
> > [<c05d00a0>] (drm_fbdev_cma_init_with_funcs+0x90/0x110)
> > [    4.915223] [<c05d00a0>] (drm_fbdev_cma_init_with_funcs) from
> > [<c05d0148>] (drm_fbdev_cma_init+0x28/0x30)
> > [    4.915236] [<c05d0148>] (drm_fbdev_cma_init) from [<c05f7180>]
> > (imx_drm_bind+0x104/0x194)
> > [    4.915254] [<c05f7180>] (imx_drm_bind) from [<c061b780>]
> > (try_to_bring_up_master+0x234/0x294)
> > [    4.915266] [<c061b780>] (try_to_bring_up_master) from
> > [<c061b8a0>] (component_add+0xc0/0x158)
> > [    4.915277] [<c061b8a0>] (component_add) from [<c05fa178>]
> > (ipu_drm_probe+0x68/0x74)
> > [    4.915291] [<c05fa178>] (ipu_drm_probe) from [<c0622e90>]
> > (platform_drv_probe+0x60/0xc0)
> > [    4.915304] [<c0622e90>] (platform_drv_probe) from [<c0620ce4>]
> > (driver_probe_device+0x238/0x428)
> > [    4.915314] [<c0620ce4>] (driver_probe_device) from [<c0621230>]
> > (__device_attach_driver+0xac/0x10c)
> > [    4.915324] [<c0621230>] (__device_attach_driver) from
> > [<c061ec18>] (bus_for_each_drv+0x54/0x9c)
> > [    4.915335] [<c061ec18>] (bus_for_each_drv) from [<c06209a8>]
> > (__device_attach+0xb0/0x134)
> > [    4.915344] [<c06209a8>] (__device_attach) from [<c06212ac>]
> > (device_initial_probe+0x1c/0x20)
> > [    4.915354] [<c06212ac>] (device_initial_probe) from
> > [<c061fdb8>] (bus_probe_device+0x94/0x9c)
> > [    4.915364] [<c061fdb8>] (bus_probe_device) from [<c0620290>]
> > (deferred_probe_work_func+0x7c/0xc8)
> > [    4.915377] [<c0620290>] (deferred_probe_work_func) from
> > [<c01679dc>] (process_one_work+0x14c/0x440)
> > [    4.915386] [<c01679dc>] (process_one_work) from [<c0167d6c>]
> > (worker_thread+0x54/0x504)
> > [    4.915398] [<c0167d6c>] (worker_thread) from [<c016de48>]
> > (kthread+0xf0/0x108)
> > [    4.915415] [<c016de48>] (kthread) from [<c0109cf8>]
> > (ret_from_fork+0x14/0x3c)
> > [    4.915419] ---[ end trace 64ae59d2b69cc4d3 ]---
> > 
> 
> and after a while:
> 
> > [   15.102758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   25.342746] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   25.358582] Console: switching to colour frame buffer device
> > 160x50
> > [   35.582744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   36.214243] imx-drm display-subsystem: fb0:  frame buffer device
> > [   46.334758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   56.574757] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   66.814751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   77.054740] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   87.294748] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [   97.534744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [  107.774751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> > [  118.014750] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
> > [CRTC:24:crtc-0] flip_done timed out
> 
> On both board the kernel cmd line is:
> > ~# cat /proc/cmdline
> > console=ttymxc2,115200 rootwait noswap ip=none noinitrd
> > rootfstype=nilfs2 root=/dev/mmcblk1p3
> > fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000
> > system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot
> > imxdrm.legacyfb_depth=32
> 
> Any help?

Your kernel is too old. Full support for the QuadPlus is a really
recent addition. Either update your kernel to 4.12-rc, or add
"clk_ignore_unused" to get at least basic functionality working.

Regards,
Lucas

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-26  8:46                     ` Lucas Stach
@ 2017-06-26 13:28                       ` gianluca
  2017-06-28 16:55                         ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-26 13:28 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 06/26/2017 10:46 AM, Lucas Stach wrote:
> Am Montag, den 26.06.2017, 10:40 +0200 schrieb gianluca:
>> During boot I can see no output on the framebuffer on the QuadPlus
>> and
>> the kernel log have those messages:
>>
>>> [    4.914737] ------------[ cut here ]------------
>>> [    4.914769] WARNING: CPU: 1 PID: 17 at
>>> drivers/gpu/drm/drm_atomic_helper.c:1140
>>> drm_atomic_helper_wait_for_vblanks+0x258/0x25c
>>> [    4.914772] [CRTC:24] vblank wait timed out
>>> [    4.914846] Modules linked in: evdev joydev rfkill at24
>>> nvmem_imx_ocotp ci_hdrc_imx nvmem_core sx8656_ek(O) ci_hdrc
>>> udc_core ehci_hcd usbcore usbmisc_imx coda phy_mxs_usb v4l2_mem2mem
>>> panel_simple videobuf2_v4l2 imx_thermal videobuf2_dma_contig
>>> imx2_wdt videobuf2_core snd_soc_fsl_asrc flexcan can_dev
>>> videobuf2_vmalloc snd_soc_fsl_asoc_card videobuf2_memops pwm_bl
>>> pwm_imx snd_ac97_codec backlight leds_gpio
>>> [    4.914856] CPU: 1 PID: 17 Comm: kworker/1:0 Tainted:
>>> G           O    4.9.7-EK20170623 #1
>>> [    4.914859] Hardware name: Freescale i.MX6 Quad/DualLite (Device
>>> Tree)
>>> [    4.914875] Workqueue: events deferred_probe_work_func
>>> [    4.914900] [<c0115354>] (unwind_backtrace) from [<c010e414>]
>>> (show_stack+0x20/0x24)
>>> [    4.914915] [<c010e414>] (show_stack) from [<c04716f8>]
>>> (dump_stack+0x94/0xb0)
>>> [    4.914927] [<c04716f8>] (dump_stack) from [<c014cd8c>]
>>> (__warn+0xf8/0x110)
>>> [    4.914937] [<c014cd8c>] (__warn) from [<c014ce74>]
>>> (warn_slowpath_fmt+0x48/0x50)
>>> [    4.914951] [<c014ce74>] (warn_slowpath_fmt) from [<c05ca298>]
>>> (drm_atomic_helper_wait_for_vblanks+0x258/0x25c)
>>> [    4.914970] [<c05ca298>] (drm_atomic_helper_wait_for_vblanks)
>>> from [<c05f6ef4>] (imx_drm_atomic_commit_tail+0x58/0x68)
>>> [    4.914982] [<c05f6ef4>] (imx_drm_atomic_commit_tail) from
>>> [<c05cac64>] (commit_tail+0x50/0x6c)
>>> [    4.914992] [<c05cac64>] (commit_tail) from [<c05cb890>]
>>> (drm_atomic_helper_commit+0xa4/0xe4)
>>> [    4.915003] [<c05cb890>] (drm_atomic_helper_commit) from
>>> [<c05f7008>] (imx_drm_atomic_commit+0x104/0x130)
>>> [    4.915021] [<c05f7008>] (imx_drm_atomic_commit) from
>>> [<c05ec25c>] (drm_atomic_commit+0x5c/0x68)
>>> [    4.915038] [<c05ec25c>] (drm_atomic_commit) from [<c05cf358>]
>>> (restore_fbdev_mode+0x158/0x298)
>>> [    4.915051] [<c05cf358>] (restore_fbdev_mode) from [<c05cf6bc>]
>>> (drm_fb_helper_restore_fbdev_mode_unlocked+0x40/0x84)
>>> [    4.915063] [<c05cf6bc>]
>>> (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c05cf578>]
>>> (drm_fb_helper_set_par+0x40/0x6c)
>>> [    4.915076] [<c05cf578>] (drm_fb_helper_set_par) from
>>> [<c04fe008>] (fbcon_init+0x4b4/0x4f8)
>>> [    4.915088] [<c04fe008>] (fbcon_init) from [<c05876e0>]
>>> (visual_init+0xd4/0x11c)
>>> [    4.915102] [<c05876e0>] (visual_init) from [<c05898b4>]
>>> (do_bind_con_driver+0x14c/0x334)
>>> [    4.915112] [<c05898b4>] (do_bind_con_driver) from [<c0589bec>]
>>> (do_take_over_console+0x150/0x1b4)
>>> [    4.915121] [<c0589bec>] (do_take_over_console) from
>>> [<c04fe0d4>] (do_fbcon_takeover+0x88/0xe8)
>>> [    4.915130] [<c04fe0d4>] (do_fbcon_takeover) from [<c04feda8>]
>>> (fbcon_event_notify+0x7c0/0x7f8)
>>> [    4.915142] [<c04feda8>] (fbcon_event_notify) from [<c016f57c>]
>>> (notifier_call_chain+0x54/0x94)
>>> [    4.915153] [<c016f57c>] (notifier_call_chain) from [<c016f88c>]
>>> (__blocking_notifier_call_chain+0x58/0x70)
>>> [    4.915164] [<c016f88c>] (__blocking_notifier_call_chain) from
>>> [<c016f8cc>] (blocking_notifier_call_chain+0x28/0x30)
>>> [    4.915175] [<c016f8cc>] (blocking_notifier_call_chain) from
>>> [<c0504d5c>] (fb_notifier_call_chain+0x2c/0x30)
>>> [    4.915187] [<c0504d5c>] (fb_notifier_call_chain) from
>>> [<c0506b10>] (register_framebuffer+0x1f8/0x2b0)
>>> [    4.915200] [<c0506b10>] (register_framebuffer) from
>>> [<c05cf960>] (drm_fb_helper_initial_config+0x260/0x408)
>>> [    4.915212] [<c05cf960>] (drm_fb_helper_initial_config) from
>>> [<c05d00a0>] (drm_fbdev_cma_init_with_funcs+0x90/0x110)
>>> [    4.915223] [<c05d00a0>] (drm_fbdev_cma_init_with_funcs) from
>>> [<c05d0148>] (drm_fbdev_cma_init+0x28/0x30)
>>> [    4.915236] [<c05d0148>] (drm_fbdev_cma_init) from [<c05f7180>]
>>> (imx_drm_bind+0x104/0x194)
>>> [    4.915254] [<c05f7180>] (imx_drm_bind) from [<c061b780>]
>>> (try_to_bring_up_master+0x234/0x294)
>>> [    4.915266] [<c061b780>] (try_to_bring_up_master) from
>>> [<c061b8a0>] (component_add+0xc0/0x158)
>>> [    4.915277] [<c061b8a0>] (component_add) from [<c05fa178>]
>>> (ipu_drm_probe+0x68/0x74)
>>> [    4.915291] [<c05fa178>] (ipu_drm_probe) from [<c0622e90>]
>>> (platform_drv_probe+0x60/0xc0)
>>> [    4.915304] [<c0622e90>] (platform_drv_probe) from [<c0620ce4>]
>>> (driver_probe_device+0x238/0x428)
>>> [    4.915314] [<c0620ce4>] (driver_probe_device) from [<c0621230>]
>>> (__device_attach_driver+0xac/0x10c)
>>> [    4.915324] [<c0621230>] (__device_attach_driver) from
>>> [<c061ec18>] (bus_for_each_drv+0x54/0x9c)
>>> [    4.915335] [<c061ec18>] (bus_for_each_drv) from [<c06209a8>]
>>> (__device_attach+0xb0/0x134)
>>> [    4.915344] [<c06209a8>] (__device_attach) from [<c06212ac>]
>>> (device_initial_probe+0x1c/0x20)
>>> [    4.915354] [<c06212ac>] (device_initial_probe) from
>>> [<c061fdb8>] (bus_probe_device+0x94/0x9c)
>>> [    4.915364] [<c061fdb8>] (bus_probe_device) from [<c0620290>]
>>> (deferred_probe_work_func+0x7c/0xc8)
>>> [    4.915377] [<c0620290>] (deferred_probe_work_func) from
>>> [<c01679dc>] (process_one_work+0x14c/0x440)
>>> [    4.915386] [<c01679dc>] (process_one_work) from [<c0167d6c>]
>>> (worker_thread+0x54/0x504)
>>> [    4.915398] [<c0167d6c>] (worker_thread) from [<c016de48>]
>>> (kthread+0xf0/0x108)
>>> [    4.915415] [<c016de48>] (kthread) from [<c0109cf8>]
>>> (ret_from_fork+0x14/0x3c)
>>> [    4.915419] ---[ end trace 64ae59d2b69cc4d3 ]---
>>>
>>
>> and after a while:
>>
>>> [   15.102758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   25.342746] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   25.358582] Console: switching to colour frame buffer device
>>> 160x50
>>> [   35.582744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   36.214243] imx-drm display-subsystem: fb0:  frame buffer device
>>> [   46.334758] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   56.574757] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   66.814751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   77.054740] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   87.294748] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [   97.534744] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [  107.774751] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>> [  118.014750] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
>>> [CRTC:24:crtc-0] flip_done timed out
>>
>> On both board the kernel cmd line is:
>>> ~# cat /proc/cmdline
>>> console=ttymxc2,115200 rootwait noswap ip=none noinitrd
>>> rootfstype=nilfs2 root=/dev/mmcblk1p3
>>> fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000
>>> system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot
>>> imxdrm.legacyfb_depth=32
>>
>> Any help?
>
> Your kernel is too old. Full support for the QuadPlus is a really
> recent addition. Either update your kernel to 4.12-rc, or add
> "clk_ignore_unused" to get at least basic functionality working.
>


Now I am compiling the 4.12-rc7. Hope this helps.

I will keep you informed about that...

Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-26 13:28                       ` gianluca
@ 2017-06-28 16:55                         ` gianluca
  2017-06-29  8:37                           ` Lucas Stach
  0 siblings, 1 reply; 17+ messages in thread
From: gianluca @ 2017-06-28 16:55 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

[-- Attachment #1: Type: text/plain, Size: 7331 bytes --]

On 06/26/2017 03:28 PM, gianluca wrote:
>>
>> Your kernel is too old. Full support for the QuadPlus is a really
>> recent addition. Either update your kernel to 4.12-rc, or add
>> "clk_ignore_unused" to get at least basic functionality working.
>>
>
>
> Now I am compiling the 4.12-rc7. Hope this helps.
>
> I will keep you informed about that...
>


Now I am using the kernel 4.12-rc7 as the time of this writing.

Regarding the device-tree, on the iMX6 the lcd is connected to a panel 
node of the device tree "panel-lvds" with the timing and it works great!


> 	panel: panel {
> 		/*
> 		 * compatible must be filled-in by bootloader:
> 		 * compatible = "innolux,g101ice-l01", "panel-lvds";
> 		 */
> 		data-mapping = "jeida-24";
> 		backlight = <&backlight>;
> 		/*
> 		 * width-mm and height-mm must be filled-in by bootloader,
> 		 * as well as the panel-timing properties...
> 		 */
> 		status = "okay";
>
> 		panel-timing {
> 		};
>
> 		port {
> 			in_lvds0: endpoint {
> 				remote-endpoint = <&lvds0_out>;
> 			};
> 		};
> 	};

The compatible property, the panel-timing property and the size 
proprerties will be filled-in by Barebox with the correct stuff like:

> compatible = "innolux,g101ice-l01", "panel-lvds";

> 		panel-timing {
> 				clock-frequency = <71000000>;
> 				hactive = <1280>;
> 				vactive = <800>;
> 				hback-porch = <50>;
> 				hfront-porch = <50>;
> 				vback-porch = <5>;
> 				vfront-porch = <5>;
> 				hsync-len = <60>;
> 				vsync-len = <13>;
> 				hsync-active = <0>;
> 				vsync-active = <0>;
> 				de-active = <1>;
> 				pixelclk-active = <0>;

> width-mm = <210>;
> height-mm = <160>;

Using the same approach with both boards, in the iMX6DL the video works 
in Barebox and in Kernel too.

In iMX6QP is working in Barebox and is __NOT_WORKING__ in kernel!

In the iMX6QP the kernel skips some initialization stuff (like the 
imx-drm display subsystem calls)

> ...
> [    0.233880] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c)
> [    0.234016] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c)
> [    0.234150] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc0a9040c)
> [    0.234162] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303
> [    0.282178] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450
> [    0.330652] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216
> [    0.330666] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
> [    0.331194] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0
> ...

And I have no framebuffer registered...

In the iMX6DL here is some logs:

> [    0.233835] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c)
> [    0.234007] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c)
> [    0.234019] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
> [    0.267122] etnaviv-gpu 130000.gpu: model: GC880, revision: 5106
> [    0.299671] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0
> [    0.301955] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    0.301960] [drm] No driver support for vblank timestamp query.
> [    0.302112] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    0.302227] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    0.302398] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    0.302505] imx-drm display-subsystem: master bind failed: -517
> [    0.302549] imx-ipuv3 2400000.ipu: IPUv3H probed
...
> [    0.658283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    0.658291] [drm] No driver support for vblank timestamp query.
> [    0.658376] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    0.658425] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    0.658617] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    0.658728] imx-drm display-subsystem: master bind failed: -517
..
> [    0.825679] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    0.825685] [drm] No driver support for vblank timestamp query.
> [    0.825853] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    0.825902] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    0.826083] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    0.826189] imx-drm display-subsystem: master bind failed: -517
..
> [    3.000563] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.000569] [drm] No driver support for vblank timestamp query.
> [    3.000648] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    3.000691] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    3.000869] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    3.001036] imx-drm display-subsystem: master bind failed: -517
> [    3.024858] of_pwm_get(): PWM chip not found
...
> [    3.059329] panel-simple panel: panel supply power not found, using dummy regulator
> [    3.132595] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.132601] [drm] No driver support for vblank timestamp query.
> [    3.132687] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    3.132731] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    3.132910] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    3.133076] imx-drm display-subsystem: master bind failed: -517
> [    3.134066] of_pwm_get(): PWM chip not found
> [    3.135453] panel-simple panel: panel supply power not found, using dummy regulator
...
> [    3.183779] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.183786] [drm] No driver support for vblank timestamp query.
> [    3.183865] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    3.183908] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    3.184082] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
> [    3.184189] imx-drm display-subsystem: master bind failed: -517
> [    3.187295] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.187301] [drm] No driver support for vblank timestamp query.
> [    3.187377] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
> [    3.187422] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
> [    3.187686] imx-drm display-subsystem: bound 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c)
...
> [    3.321845] imx-drm display-subsystem: fb0:  frame buffer device
> [    3.334412] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1

and the video is working perfectly!

It looks like the imx-drm and/or the drm driver are not called or they 
are called in a different (wrong?) way.

In attachment both dmesg and device-tree passed to kernel by Barebox.

Any help?
Regards
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

[-- Attachment #2: dmesg-imx6dl --]
[-- Type: text/plain, Size: 20040 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.0-rc7-EK20170628 (gianluca@gianlinux) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #1 SMP Wed Jun 28 16:27:46 CEST 2017
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Eurek EK360 i.MX6DL
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c10e6580, node_mem_map ef6f8000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 17 pages/cpu @ef6bb000 s38208 r8192 d23232 u69632
[    0.000000] pcpu-alloc: s38208 r8192 d23232 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  imxdrm.legacyfb_depth=32 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1021420K/1048576K available (9216K kernel code, 1044K rwdata, 2648K rodata, 2048K init, 381K bss, 27156K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0a00000   (10208 kB)
                     .init : 0xc0e00000 - 0xc1000000   (2048 kB)
                     .data : 0xc1000000 - 0xc11052c0   (1045 kB)
                      .bss : 0xc110db58 - 0xc116d028   ( 382 kB)
[    0.000000] ftrace: allocating 33822 entries in 100 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU debugfs-based tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
[    0.000000] ccm: ldb_di0_sel already changed from reset value: 0
[    0.000000] ccm: ldb_di1_sel already changed from reset value: 0
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000022] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.002154] Console: colour dummy device 80x30
[    0.002168] console [tty0] enabled
[    0.002191] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.002204] pid_max: default: 32768 minimum: 301
[    0.002369] Security Framework initialized
[    0.002376] Yama: becoming mindful.
[    0.002402] AppArmor: AppArmor disabled by boot time parameter
[    0.002455] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002463] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003282] CPU: Testing write buffer coherency: ok
[    0.003682] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004156] Setting up static identity map for 0x10100000 - 0x101000a0
[    0.008683] EFI services will not be available.
[    0.009041] smp: Bringing up secondary CPUs ...
[    0.010027] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.010136] smp: Brought up 1 node, 2 CPUs
[    0.010147] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[    0.010152] CPU: All CPU(s) started in SVC mode.
[    0.011147] devtmpfs: initialized
[    0.021307] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.021705] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.021722] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.021991] pinctrl core: initialized pinctrl subsystem
[    0.023956] NET: Registered protocol family 16
[    0.025670] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.028067] cpuidle: using governor ladder
[    0.028220] cpuidle: using governor menu
[    0.029191] CPU identified as i.MX6DL, silicon rev 1.3
[    0.038123] vdd1p1: supplied by regulator-dummy
[    0.038717] vdd3p0: supplied by regulator-dummy
[    0.039293] vdd2p5: supplied by regulator-dummy
[    0.039879] vddarm: supplied by regulator-dummy
[    0.040475] vddpu: supplied by regulator-dummy
[    0.041088] vddsoc: supplied by regulator-dummy
[    0.054233] No ATAGs?
[    0.054329] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.054336] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.056248] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.057519] Serial: AMBA PL011 UART driver
[    0.087159] mxs-dma 110000.dma-apbh: initialized
[    0.096390] i2c i2c-0: IMX I2C adapter registered
[    0.096409] i2c i2c-0: can't use DMA, using PIO instead.
[    0.097015] i2c i2c-1: IMX I2C adapter registered
[    0.097030] i2c i2c-1: can't use DMA, using PIO instead.
[    0.097556] i2c i2c-2: IMX I2C adapter registered
[    0.097570] i2c i2c-2: can't use DMA, using PIO instead.
[    0.098655] media: Linux media interface: v0.10
[    0.098710] Linux video capture interface: v2.00
[    0.098801] pps_core: LinuxPPS API ver. 1 registered
[    0.098808] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.098829] PTP clock support registered
[    0.099919] Advanced Linux Sound Architecture Driver Initialized.
[    0.101725] clocksource: Switched to clocksource mxc_timer1
[    0.173399] VFS: Disk quotas dquot_6.6.0
[    0.173479] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.187438] NET: Registered protocol family 2
[    0.188226] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.188308] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.188439] TCP: Hash tables configured (established 8192 bind 8192)
[    0.188608] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.188646] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.188908] NET: Registered protocol family 1
[    0.188942] PCI: CLS 0 bytes, default 64
[    0.189806] hw perfevents: no interrupt-affinity property for /soc/pmu, guessing.
[    0.189981] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.194100] audit: initializing netlink subsys (disabled)
[    0.194303] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.195375] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.195511] zbud: loaded
[    0.196096] NILFS version 2 loaded
[    0.205497] bounce: pool size: 64 pages
[    0.205559] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.205797] io scheduler noop registered
[    0.205803] io scheduler deadline registered
[    0.205882] io scheduler cfq registered (default)
[    0.205889] io scheduler mq-deadline registered
[    0.205894] io scheduler kyber registered
[    0.216452] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.216461] imx-sdma 20ec000.sdma: Falling back to user helper
[    0.223525] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.226120] Serial: AMBA driver
[    0.227013] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[    0.227958] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 68, base_baud = 5000000) is a IMX
[    0.228023] console [ttymxc2] enabled
[    0.233835] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c)
[    0.234007] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c)
[    0.234019] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    0.267122] etnaviv-gpu 130000.gpu: model: GC880, revision: 5106
[    0.299671] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0
[    0.301955] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.301960] [drm] No driver support for vblank timestamp query.
[    0.302112] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    0.302227] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    0.302398] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    0.302505] imx-drm display-subsystem: master bind failed: -517
[    0.302549] imx-ipuv3 2400000.ipu: IPUv3H probed
[    0.305467] libphy: Fixed MDIO Bus: probed
[    0.414216] pps pps0: new PPS source ptp0
[    0.418575] libphy: fec_enet_mii_bus: probed
[    0.419134] fec 2188000.ethernet eth0: registered PHC device 0
[    0.428234] rtc rtc0: invalid alarm value: 2017-7-22 33:68:0
[    0.428492] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    0.430901] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[    0.431960] i2c /dev entries driver
[    0.435212] sdhci: Secure Digital Host Controller Interface driver
[    0.435218] sdhci: Copyright(c) Pierre Ossman
[    0.435223] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.436300] sdhci-esdhc-imx 2194000.usdhc: Failed getting OCR mask: 0
[    0.436856] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.462765] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.481763] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    0.482565] sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
[    0.482674] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.485934] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.500925] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.503711] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
[    0.507194] mmc0: queuing unknown CIS tuple 0x80 (8 bytes)
[    0.508591] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.511684] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.516168] mmc0: queuing unknown CIS tuple 0x80 (5 bytes)
[    0.523041] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.525065] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.526156] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.528453] random: fast init done
[    0.531107] mmc0: new high speed SDIO card at address 0001
[    0.533948] mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    0.577769] mmc2: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[    0.577861] mmc1: host does not support reading read-only switch, assuming write-enable
[    0.578570] ledtrig-cpu: registered to indicate activity on CPUs
[    0.580894] ashmem: initialized
[    0.585526] mmc1: new high speed SDHC card at address 0001
[    0.586917] mmcblk1: mmc1:0001 ASTC 3.72 GiB 
[    0.587724] sgtl5000 0-000a: sgtl5000 revision 0x11
[    0.589177]  mmcblk1: p1 p2 p3
[    0.619578] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW
[    0.639600] imx-sgtl5000 sound: sgtl5000 <-> 2028000.ssi mapping ok
[    0.641357] NET: Registered protocol family 10
[    0.642535] Segment Routing with IPv6
[    0.642619] mip6: Mobile IPv6
[    0.642630] NET: Registered protocol family 17
[    0.642643] mpls_gso: MPLS GSO support
[    0.644068] ThumbEE CPU extension supported.
[    0.644084] Registering SWP/SWPB emulation handler
[    0.644973] registered taskstats version 1
[    0.645050] zswap: loaded using pool lzo/zbud
[    0.658283] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.658291] [drm] No driver support for vblank timestamp query.
[    0.658376] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    0.658425] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    0.658617] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    0.658728] imx-drm display-subsystem: master bind failed: -517
[    0.661016] rtc-pcf8563 0-0051: setting system clock to 2017-06-28 16:17:37 UTC (1498666657)
[    0.661863] PM: Hibernation image not present or could not be loaded.
[    0.662887] usb_otg_vbus: disabling
[    0.662895] ALSA device list:
[    0.662902]   #0: imx6-ek360-sgtl5000
[    0.818523] mmc2: new DDR MMC card at address 0001
[    0.819404] mmcblk2: mmc2:0001 MMC04G 3.58 GiB 
[    0.819850] mmcblk2boot0: mmc2:0001 MMC04G partition 1 2.00 MiB
[    0.820270] mmcblk2boot1: mmc2:0001 MMC04G partition 2 2.00 MiB
[    0.820685] mmcblk2rpmb: mmc2:0001 MMC04G partition 3 128 KiB
[    0.825679] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.825685] [drm] No driver support for vblank timestamp query.
[    0.825853] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    0.825902] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    0.826083] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    0.826189] imx-drm display-subsystem: master bind failed: -517
[    1.079206] VFS: Mounted root (nilfs2 filesystem) readonly on device 179:3.
[    1.087070] Freeing unused kernel memory: 2048K
[    2.537016] systemd-udevd[232]: starting version 215
[    2.999566] imx-sdma 20ec000.sdma: loaded firmware 1.1
[    3.000563] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.000569] [drm] No driver support for vblank timestamp query.
[    3.000648] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    3.000691] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    3.000869] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    3.001036] imx-drm display-subsystem: master bind failed: -517
[    3.024858] of_pwm_get(): PWM chip not found
[    3.059329] panel-simple panel: panel supply power not found, using dummy regulator
[    3.132595] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.132601] [drm] No driver support for vblank timestamp query.
[    3.132687] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    3.132731] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    3.132910] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    3.133076] imx-drm display-subsystem: master bind failed: -517
[    3.134066] of_pwm_get(): PWM chip not found
[    3.135453] panel-simple panel: panel supply power not found, using dummy regulator
[    3.182902] usbcore: registered new interface driver usbfs
[    3.182977] usbcore: registered new interface driver hub
[    3.183779] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.183786] [drm] No driver support for vblank timestamp query.
[    3.183865] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    3.183908] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    3.184082] imx-drm display-subsystem: failed to bind 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c): -517
[    3.184189] imx-drm display-subsystem: master bind failed: -517
[    3.187295] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.187301] [drm] No driver support for vblank timestamp query.
[    3.187377] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc0a8eef0)
[    3.187422] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc0a8eef0)
[    3.187686] imx-drm display-subsystem: bound 2000000.aips-bus:ldb@020e0008 (ops 0xc0a8f53c)
[    3.198049] usbcore: registered new device driver usb
[    3.211045] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.251726] CAN device driver interface
[    3.262575] flexcan 2090000.flexcan: device registered (reg_base=f1600000, irq=29)
[    3.282825] Console: switching to colour frame buffer device 160x50
[    3.304466] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    3.321845] imx-drm display-subsystem: fb0:  frame buffer device
[    3.324638] coda 2040000.vpu: unable to alloc iram
[    3.334412] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[    3.370277] coda 2040000.vpu: Firmware code revision: 46063
[    3.370289] coda 2040000.vpu: Initialized CODA960.
[    3.370295] coda 2040000.vpu: Unsupported firmware version: 3.1.1
[    3.370365] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.370409] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.371162] coda 2040000.vpu: codec registered as /dev/video[0-1]
[    3.385828] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.386169] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.386180] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.386187] usb usb1: Product: EHCI Host Controller
[    3.386194] usb usb1: Manufacturer: Linux 4.12.0-rc7-EK20170628 ehci_hcd
[    3.386201] usb usb1: SerialNumber: ci_hdrc.1
[    3.387070] hub 1-0:1.0: USB hub found
[    3.387151] hub 1-0:1.0: 1 port detected
[    3.567021] sx8656_ek: loading out-of-tree module taints kernel.
[    3.580962] input: SX8656-EK I2C Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0048/input/input0
[    3.586941] at24 0-0050: 8192 byte 24c64 EEPROM, writable, 64 bytes/write
[    3.846110] mousedev: PS/2 mouse device common for all mice
[    3.955887] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    3.966161] usbcore: registered new interface driver brcmfmac
[    4.348541] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[    7.050166] NILFS (mmcblk1p3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
[    7.720828] device-mapper: uevent: version 1.0.3
[    7.721848] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    8.280900] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
[    8.741140] random: crng init done
[    9.419261] Generic PHY 2188000.ethernet-1:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet-1:03, irq=-1)
[    9.419597] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.328420] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.478237] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   12.478271] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.981698] systemd-logind[1619]: New seat seat0.
[   18.003251] systemd-logind[1619]: Failed to start user service: Unknown unit: user@0.service
[   18.007220] systemd-logind[1619]: New session c1 of user root.

[-- Attachment #3: dmesg-imx6q --]
[-- Type: text/plain, Size: 16191 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.0-rc7-EK20170628 (gianluca@gianlinux) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #1 SMP Wed Jun 28 17:42:43 CEST 2017
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Eurek EK360 i.MX6QP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c10e6580, node_mem_map ef6f8000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 17 pages/cpu @ef696000 s38208 r8192 d23232 u69632
[    0.000000] pcpu-alloc: s38208 r8192 d23232 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  imxdrm.legacyfb_depth=32 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1021268K/1048576K available (9216K kernel code, 1044K rwdata, 2648K rodata, 2048K init, 381K bss, 27308K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0a00000   (10208 kB)
                     .init : 0xc0e00000 - 0xc1000000   (2048 kB)
                     .data : 0xc1000000 - 0xc11052c0   (1045 kB)
                      .bss : 0xc110db58 - 0xc116d028   ( 382 kB)
[    0.000000] ftrace: allocating 33822 entries in 100 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU debugfs-based tracing is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76470001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000024] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.002342] Console: colour dummy device 80x30
[    0.002356] console [tty0] enabled
[    0.002382] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.002396] pid_max: default: 32768 minimum: 301
[    0.002572] Security Framework initialized
[    0.002582] Yama: becoming mindful.
[    0.002607] AppArmor: AppArmor disabled by boot time parameter
[    0.002663] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002672] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003518] CPU: Testing write buffer coherency: ok
[    0.003884] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004343] Setting up static identity map for 0x10100000 - 0x101000a0
[    0.008962] EFI services will not be available.
[    0.009354] smp: Bringing up secondary CPUs ...
[    0.010324] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.011348] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.012375] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.012473] smp: Brought up 1 node, 4 CPUs
[    0.012482] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.012487] CPU: All CPU(s) started in SVC mode.
[    0.013552] devtmpfs: initialized
[    0.024608] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.025018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.025035] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.025341] pinctrl core: initialized pinctrl subsystem
[    0.027292] NET: Registered protocol family 16
[    0.029009] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.031123] cpuidle: using governor ladder
[    0.031280] cpuidle: using governor menu
[    0.032280] CPU identified as i.MX6QP, silicon rev 1.0
[    0.041050] vdd1p1: supplied by regulator-dummy
[    0.041638] vdd3p0: supplied by regulator-dummy
[    0.042214] vdd2p5: supplied by regulator-dummy
[    0.042805] vddarm: supplied by regulator-dummy
[    0.043424] vddpu: supplied by regulator-dummy
[    0.043982] vddsoc: supplied by regulator-dummy
[    0.057892] No ATAGs?
[    0.058045] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.058052] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.059800] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.061199] Serial: AMBA PL011 UART driver
[    0.088492] mxs-dma 110000.dma-apbh: initialized
[    0.097543] i2c i2c-0: IMX I2C adapter registered
[    0.097560] i2c i2c-0: can't use DMA, using PIO instead.
[    0.098145] i2c i2c-1: IMX I2C adapter registered
[    0.098159] i2c i2c-1: can't use DMA, using PIO instead.
[    0.098615] i2c i2c-2: IMX I2C adapter registered
[    0.098628] i2c i2c-2: can't use DMA, using PIO instead.
[    0.099697] media: Linux media interface: v0.10
[    0.099745] Linux video capture interface: v2.00
[    0.099824] pps_core: LinuxPPS API ver. 1 registered
[    0.099829] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.099850] PTP clock support registered
[    0.100773] Advanced Linux Sound Architecture Driver Initialized.
[    0.102581] clocksource: Switched to clocksource mxc_timer1
[    0.173402] VFS: Disk quotas dquot_6.6.0
[    0.173485] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.187379] NET: Registered protocol family 2
[    0.188177] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.188257] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.188403] TCP: Hash tables configured (established 8192 bind 8192)
[    0.188567] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.188604] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.188844] NET: Registered protocol family 1
[    0.188882] PCI: CLS 0 bytes, default 64
[    0.189637] hw perfevents: no interrupt-affinity property for /soc/pmu, guessing.
[    0.189878] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.194228] audit: initializing netlink subsys (disabled)
[    0.194408] audit: type=2000 audit(0.191:1): state=initialized audit_enabled=0 res=1
[    0.195530] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.195710] zbud: loaded
[    0.196324] NILFS version 2 loaded
[    0.205628] bounce: pool size: 64 pages
[    0.205682] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.205855] io scheduler noop registered
[    0.205862] io scheduler deadline registered
[    0.205940] io scheduler cfq registered (default)
[    0.205947] io scheduler mq-deadline registered
[    0.205954] io scheduler kyber registered
[    0.216446] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.216454] imx-sdma 20ec000.sdma: Falling back to user helper
[    0.223355] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.225892] Serial: AMBA driver
[    0.226846] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[    0.227664] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 68, base_baud = 5000000) is a IMX
[    0.227726] console [ttymxc2] enabled
[    0.233880] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc0a9040c)
[    0.234016] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc0a9040c)
[    0.234150] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc0a9040c)
[    0.234162] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303
[    0.282178] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450
[    0.330652] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216
[    0.330666] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    0.331194] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 0
[    0.335109] libphy: Fixed MDIO Bus: probed
[    0.443067] pps pps0: new PPS source ptp0
[    0.447653] libphy: fec_enet_mii_bus: probed
[    0.448226] fec 2188000.ethernet eth0: registered PHC device 0
[    0.459263] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    0.461495] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
[    0.462512] i2c /dev entries driver
[    0.465693] sdhci: Secure Digital Host Controller Interface driver
[    0.465698] sdhci: Copyright(c) Pierre Ossman
[    0.465702] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.466692] sdhci-esdhc-imx 2194000.usdhc: Failed getting OCR mask: 0
[    0.467455] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.491626] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.510622] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    0.511285] sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
[    0.511485] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.514741] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.529438] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.532164] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
[    0.535571] mmc0: queuing unknown CIS tuple 0x80 (8 bytes)
[    0.536951] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.540025] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.542395] mmc0: queuing unknown CIS tuple 0x80 (5 bytes)
[    0.550756] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.552782] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.553879] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    0.555762] random: fast init done
[    0.558830] mmc0: new high speed SDIO card at address 0001
[    0.562777] mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    0.606615] mmc2: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[    0.606686] mmc1: host does not support reading read-only switch, assuming write-enable
[    0.607452] ledtrig-cpu: registered to indicate activity on CPUs
[    0.611809] ashmem: initialized
[    0.613631] mmc1: new high speed SDHC card at address 0001
[    0.614419] mmcblk1: mmc1:0001 ASTC 3.72 GiB 
[    0.615488] sgtl5000 0-000a: sgtl5000 revision 0x11
[    0.616497]  mmcblk1: p1 p2 p3
[    0.645971] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW
[    0.666477] imx-sgtl5000 sound: sgtl5000 <-> 2028000.ssi mapping ok
[    0.668096] NET: Registered protocol family 10
[    0.669216] Segment Routing with IPv6
[    0.669291] mip6: Mobile IPv6
[    0.669301] NET: Registered protocol family 17
[    0.669314] mpls_gso: MPLS GSO support
[    0.671077] ThumbEE CPU extension supported.
[    0.671092] Registering SWP/SWPB emulation handler
[    0.671956] registered taskstats version 1
[    0.672036] zswap: loaded using pool lzo/zbud
[    0.688984] rtc-pcf8563 0-0051: setting system clock to 1970-01-06 04:29:16 UTC (448156)
[    0.689751] PM: Hibernation image not present or could not be loaded.
[    0.690827] usb_otg_vbus: disabling
[    0.690837] ALSA device list:
[    0.690843]   #0: imx6-ek360-sgtl5000
[    0.859470] mmc2: new DDR MMC card at address 0001
[    0.860329] mmcblk2: mmc2:0001 MMC08G 7.27 GiB 
[    0.860794] mmcblk2boot0: mmc2:0001 MMC08G partition 1 16.0 MiB
[    0.861232] mmcblk2boot1: mmc2:0001 MMC08G partition 2 16.0 MiB
[    0.861668] mmcblk2rpmb: mmc2:0001 MMC08G partition 3 128 KiB
[    1.115044] VFS: Mounted root (nilfs2 filesystem) readonly on device 179:3.
[    1.122944] Freeing unused kernel memory: 2048K
[    2.556381] systemd-udevd[249]: starting version 215
[    2.971909] imx-sdma 20ec000.sdma: loaded firmware 1.1
[    3.079200] of_pwm_get(): PWM chip not found
[    3.145264] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    3.150074] CAN device driver interface
[    3.157194] flexcan 2090000.flexcan: device registered (reg_base=f1d60000, irq=29)
[    3.224689] usbcore: registered new interface driver usbfs
[    3.224765] usbcore: registered new interface driver hub
[    3.224980] usbcore: registered new device driver usb
[    3.253626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.276504] sx8656_ek: loading out-of-tree module taints kernel.
[    3.286076] input: SX8656-EK I2C Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0048/input/input0
[    3.386424] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.386467] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.406641] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.406927] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.406938] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.406947] usb usb1: Product: EHCI Host Controller
[    3.406954] usb usb1: Manufacturer: Linux 4.12.0-rc7-EK20170628 ehci_hcd
[    3.406961] usb usb1: SerialNumber: ci_hdrc.1
[    3.407962] hub 1-0:1.0: USB hub found
[    3.408020] hub 1-0:1.0: 1 port detected
[    3.450881] at24 0-0050: 8192 byte 24c64 EEPROM, writable, 64 bytes/write
[    3.510482] mousedev: PS/2 mouse device common for all mice
[    3.652694] coda 2040000.vpu: Firmware code revision: 46063
[    3.652706] coda 2040000.vpu: Initialized CODA960.
[    3.652712] coda 2040000.vpu: Unsupported firmware version: 3.1.1
[    3.653418] coda 2040000.vpu: codec registered as /dev/video[0-1]
[    3.713249] sdhci-esdhc-imx 2194000.usdhc: could not set regulator OCR (-22)
[    3.724928] usbcore: registered new interface driver brcmfmac
[    4.221332] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[    6.726349] NILFS (mmcblk1p3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
[    7.449505] device-mapper: uevent: version 1.0.3
[    7.449840] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    7.977736] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null)
[    9.069939] Generic PHY 2188000.ethernet-1:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet-1:03, irq=-1)
[    9.070270] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.994021] random: crng init done
[   11.686315] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.310755] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   12.310786] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.531607] systemd-logind[1674]: New seat seat0.
[   20.541215] systemd-logind[1674]: Failed to start user service: Unknown unit: user@0.service
[   20.544188] systemd-logind[1674]: New session c1 of user root.

[-- Attachment #4: dts-imx6dl --]
[-- Type: text/plain, Size: 47999 bytes --]

/dts-v1/;

/ {
	compatible = "eurek,ek360", "fsl,imx6dl";
	model = "Eurek EK360 i.MX6DL";
	#address-cells = <0x1>;
	#size-cells = <0x1>;

	gpu-subsystem {
		compatible = "fsl,imx-gpu-subsystem";
		cores = <0x44 0x45>;
	};

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

		osc {
			compatible = "fsl,imx-osc", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x16e3600>;
		};

		ckih1 {
			compatible = "fsl,imx-ckih1", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x0>;
		};

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x8000>;
		};
	};

	display-subsystem {
		compatible = "fsl,imx-display-subsystem";
		ports = <0x42 0x43>;
	};

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

		sram@00900000 {
			compatible = "mmio-sram";
			clocks = <0x2 0x8e>;
			phandle = <0xc>;
			reg = <0x900000 0x20000>;
			linux,phandle = <0xc>;
		};

		gpu@00130000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1b 0x2 0x7a 0x2 0x4a>;
			clock-names = "bus", "core", "shader";
			interrupts = <0x0 0x9 0x4>;
			phandle = <0x45>;
			reg = <0x130000 0x4000>;
			linux,phandle = <0x45>;
		};

		timer@00a00600 {
			compatible = "arm,cortex-a9-twd-timer";
			clocks = <0x2 0xf>;
			interrupt-parent = <0x8>;
			interrupts = <0x1 0xd 0xf01>;
			reg = <0xa00600 0x20>;
		};

		dma-apbh@00110000 {
			#dma-cells = <0x1>;
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			clocks = <0x2 0x6a>;
			dma-channels = <0x4>;
			interrupts = <0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4>;
			phandle = <0x3>;
			reg = <0x110000 0x2000>;
			linux,phandle = <0x3>;
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
		};

		pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
			clocks = <0x2 0x90 0x2 0xce 0x2 0xbd>;
			reg-names = "dbi", "config";
			device_type = "pci";
			num-lanes = <0x1>;
			clock-names = "pcie", "pcie_bus", "pcie_phy";
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			ranges = <0x81000000 0x0 0x0 0x1f80000 0x0 0x10000 0x82000000 0x0 0x1000000 0x1000000 0x0 0xf00000>;
			status = "disabled";
			#interrupt-cells = <0x1>;
			#address-cells = <0x3>;
			interrupts = <0x0 0x78 0x4>;
			interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x7b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x7a 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x79 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x78 0x4>;
			#size-cells = <0x2>;
			reg = <0x1ffc000 0x4000 0x1f00000 0x80000>;
			interrupt-names = "msi";
		};

		aips-bus@02100000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2100000 0x100000>;

			i2c@021a8000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7f>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x26 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a8000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x31>;
				pinctrl-names = "default";
			};

			usbmisc@02184800 {
				compatible = "fsl,imx6q-usbmisc";
				clocks = <0x2 0xa2>;
				#index-cells = <0x1>;
				phandle = <0x1c>;
				reg = <0x2184800 0x200>;
				linux,phandle = <0x1c>;
			};

			mlb@0218c000 {
				interrupts = <0x0 0x35 0x4 0x0 0x75 0x4 0x0 0x7e 0x4>;
				reg = <0x218c000 0x4000>;
			};

			mmdc@021b4000 {
				reg = <0x21b4000 0x4000>;
			};

			usdhc@02190000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa3 0x2 0xa3 0x2 0xa3>;
				clock-names = "ipg", "ahb", "per";
				status = "disabled";
				interrupts = <0x0 0x16 0x4>;
				bus-width = <0x4>;
				reg = <0x2190000 0x4000>;
			};

			usb@02184000 {
				vbus-supply = <0x1d>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x0>;
				fsl,usbphy = <0x1b>;
				status = "okay";
				interrupts = <0x0 0x2b 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184000 0x200>;
				pinctrl-0 = <0x1e 0x1f>;
				dr_mode = "otg";
				pinctrl-names = "default";
			};

			mipi@021dc000 {
				reg = <0x21dc000 0x4000>;
			};

			ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
				clocks = <0x2 0x80>;
				phandle = <0x11>;
				reg = <0x21bc000 0x4000>;
				linux,phandle = <0x11>;
			};

			weim@021b8000 {
				compatible = "fsl,imx6q-weim";
				clocks = <0x2 0xc4>;
				fsl,weim-cs-gpr = <0x4>;
				status = "disabled";
				#address-cells = <0x2>;
				interrupts = <0x0 0xe 0x4>;
				#size-cells = <0x1>;
				reg = <0x21b8000 0x4000>;
			};

			i2c@021f8000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x74>;
				status = "disabled";
				#address-cells = <0x1>;
				interrupts = <0x0 0x23 0x4>;
				#size-cells = <0x0>;
				reg = <0x21f8000 0x4000>;
			};

			usb@02184600 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x3>;
				status = "disabled";
				interrupts = <0x0 0x2a 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184600 0x200>;
				dr_mode = "host";
			};

			usdhc@02198000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa5 0x2 0xa5 0x2 0xa5>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				cd-gpios = <0x2a 0x0 0x1>;
				status = "okay";
				interrupts = <0x0 0x18 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2198000 0x4000>;
				pinctrl-0 = <0x29>;
				vmmc-supply = <0x24>;
				pinctrl-names = "default";
			};

			i2c@021a4000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7e>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x25 0x4>;
				#size-cells = <0x0>;
				phandle = <0x5>;
				reg = <0x21a4000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x30>;
				linux,phandle = <0x5>;
				pinctrl-names = "default";
			};

			caam@2100000 {
				compatible = "fsl,sec-v4.0";
				clocks = <0x2 0xf1 0x2 0xf2 0x2 0xf3 0x2 0xc4>;
				clock-names = "mem", "aclk", "ipg", "emi_slow";
				ranges = <0x0 0x2100000 0x10000>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2100000 0x10000>;
				fsl,sec-era = <0x4>;

				jr1@2000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x6a 0x4>;
					reg = <0x2000 0x1000>;
				};

				jr0@1000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x69 0x4>;
					reg = <0x1000 0x1000>;
				};
			};

			mmdc@021b0000 {
				compatible = "fsl,imx6q-mmdc";
				reg = <0x21b0000 0x4000>;
			};

			serial@021ec000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x1c 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21ec000 0x4000>;
				pinctrl-0 = <0x36>;
				dmas = <0x9 0x1d 0x4 0x0 0x9 0x1e 0x4 0x0>;
				pinctrl-names = "default";
			};

			romcp@021ac000 {
				reg = <0x21ac000 0x4000>;
			};

			audmux@021d8000 {
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
				status = "okay";
				reg = <0x21d8000 0x4000>;
				pinctrl-0 = <0x32>;
				pinctrl-names = "default";
			};

			tzasc@021d4000 {
				interrupts = <0x0 0x6d 0x4>;
				reg = <0x21d4000 0x4000>;
			};

			serial@021f4000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1e 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f4000 0x4000>;
				dmas = <0x9 0x21 0x4 0x0 0x9 0x22 0x4 0x0>;
			};

			usb@02184200 {
				vbus-supply = <0x21>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x1>;
				fsl,usbphy = <0x20>;
				status = "okay";
				interrupts = <0x0 0x28 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184200 0x200>;
				pinctrl-0 = <0x22 0x23>;
				dr_mode = "host";
				pinctrl-names = "default";
			};

			vdoa@021e4000 {
				interrupts = <0x0 0x12 0x4>;
				reg = <0x21e4000 0x4000>;
			};

			mipi@021e0000 {
				status = "disabled";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				reg = <0x21e0000 0x4000>;

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

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x34>;
							phandle = <0x3c>;
							linux,phandle = <0x3c>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x33>;
							phandle = <0x38>;
							linux,phandle = <0x38>;
						};
					};
				};
			};

			usdhc@02194000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa4 0x2 0xa4 0x2 0xa4>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x17 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2194000 0x4000>;
				pinctrl-0 = <0x27>;
				vmmc-supply = <0x28>;
				non-removable;
				max-frequency = <0x17d7840>;
				pinctrl-names = "default";
			};

			i2c@021a0000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7d>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x24 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a0000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x2c>;
				pinctrl-names = "default";

				touchscreen@48 {
					compatible = "eurek,sx8656-ek";
					status = "okay";
					interrupt-parent = <0x2f>;
					interrupts = <0x11 0x2>;
					reg = <0x48>;
					pinctrl-0 = <0x2e>;
					pinctrl-names = "default";
				};

				at24@50 {
					compatible = "at24,24c64";
					status = "okay";
					pagesize = <0x40>;
					reg = <0x50>;
				};

				codec@0a {
					VDDIO-supply = <0x24>;
					compatible = "fsl,sgtl5000";
					clocks = <0x2 0xc9>;
					VDDA-supply = <0x24>;
					status = "okay";
					phandle = <0x4b>;
					reg = <0xa>;
					VDDD-supply = <0x2d>;
					linux,phandle = <0x4b>;
				};

				rtc@51 {
					compatible = "phg,pcf8563";
					status = "okay";
					reg = <0x51>;
				};
			};

			tzasc@021d0000 {
				interrupts = <0x0 0x6c 0x4>;
				reg = <0x21d0000 0x4000>;
			};

			serial@021f0000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1d 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f0000 0x4000>;
				dmas = <0x9 0x1f 0x4 0x0 0x9 0x20 0x4 0x0>;
			};

			usdhc@0219c000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa6 0x2 0xa6 0x2 0xa6>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x19 0x4>;
				no-1-8-v;
				bus-width = <0x8>;
				reg = <0x219c000 0x4000>;
				pinctrl-0 = <0x2b>;
				vmmc-supply = <0x24>;
				non-removable;
				pinctrl-names = "default";
			};

			ethernet@02188000 {
				txd1-skew-ps = <0x0>;
				interrupts-extended = <0x8 0x0 0x76 0x4 0x8 0x0 0x77 0x4>;
				compatible = "fsl,imx6q-fec";
				clocks = <0x2 0x75 0x2 0x75 0x2 0xbe>;
				txc-skew-ps = <0xbb8>;
				rxd3-skew-ps = <0x0>;
				clock-names = "ipg", "ahb", "ptp";
				rxd0-skew-ps = <0x0>;
				txd2-skew-ps = <0x0>;
				phy-supply = <0x24>;
				rxc-skew-ps = <0xbb8>;
				status = "okay";
				rxd1-skew-ps = <0x0>;
				txd3-skew-ps = <0x0>;
				rxdv-skew-ps = <0x0>;
				txd0-skew-ps = <0x0>;
				reg = <0x2188000 0x4000>;
				phy-mode = "rgmii";
				pinctrl-0 = <0x25>;
				phy-reset-duration = <0x64>;
				phy-reset-gpios = <0x26 0x17 0x0>;
				txen-skew-ps = <0x0>;
				rxd2-skew-ps = <0x0>;
				pinctrl-names = "default";
			};

			serial@021e8000 {
				compatible = "eurek,imx6-ek-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				rs485-rts-delay = <0x0 0x0>;
				linux,rs485-enabled-at-boot-time;
				clock-names = "ipg", "per";
				rts-gpio = <0x26 0x12 0x1>;
				status = "okay";
				interrupts = <0x0 0x1b 0x4>;
				dma-names = "rx", "tx";
				rs485-rts-active-low;
				reg = <0x21e8000 0x4000>;
				pinctrl-0 = <0x35>;
				dmas = <0x9 0x1b 0x4 0x0 0x9 0x1c 0x4 0x0>;
				pinctrl-names = "default";
			};

			usb@02184400 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x1c 0x2>;
				status = "disabled";
				interrupts = <0x0 0x29 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184400 0x200>;
				dr_mode = "host";
			};

			aipstz@0217c000 {
				reg = <0x217c000 0x4000>;
			};
		};

		aips-bus@02000000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2000000 0x100000>;

			lcdif@020f8000 {
				interrupts = <0x0 0x27 0x4>;
				reg = <0x20f8000 0x4000>;
			};

			usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb7>;
				interrupts = <0x0 0x2d 0x4>;
				phandle = <0x20>;
				fsl,anatop = <0x10>;
				reg = <0x20ca000 0x1000>;
				linux,phandle = <0x20>;
			};

			dcic@020e4000 {
				interrupts = <0x0 0x7c 0x4>;
				reg = <0x20e4000 0x4000>;
			};

			aipstz@0207c000 {
				reg = <0x207c000 0x4000>;
			};

			gpc@020dc000 {
				compatible = "fsl,imx6q-gpc";
				clocks = <0x2 0x7a 0x2 0x4a 0x2 0x79 0x2 0x1a 0x2 0x8f 0x2 0xa8>;
				#interrupt-cells = <0x3>;
				interrupt-parent = <0x8>;
				interrupts = <0x0 0x59 0x4 0x0 0x5a 0x4>;
				phandle = <0x1>;
				reg = <0x20dc000 0x4000>;
				pu-supply = <0x13>;
				linux,phandle = <0x1>;
				#power-domain-cells = <0x1>;
				interrupt-controller;
			};

			flexcan@02094000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6e 0x2 0x6f>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x6f 0x4>;
				reg = <0x2094000 0x4000>;
			};

			ccm@020c4000 {
				compatible = "fsl,imx6q-ccm";
				interrupts = <0x0 0x57 0x4 0x0 0x58 0x4>;
				#clock-cells = <0x1>;
				phandle = <0x2>;
				reg = <0x20c4000 0x4000>;
				linux,phandle = <0x2>;
			};

			gpio@020a4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x61 0x2 0xf 0x2 0x69 0x8 0xf 0xa 0x63 0x6 0xf 0x10 0x51 0x10>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x46 0x4 0x0 0x47 0x4>;
				phandle = <0x26>;
				reg = <0x20a4000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x26>;
				interrupt-controller;
			};

			anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
				interrupts = <0x0 0x31 0x4 0x0 0x36 0x4 0x0 0x7f 0x4>;
				phandle = <0x10>;
				reg = <0x20c8000 0x1000>;
				linux,phandle = <0x10>;

				regulator-vddpu {
					regulator-enable-ramp-delay = <0x96>;
					anatop-delay-bit-shift = <0x1a>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x9>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x13>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddpu";
					linux,phandle = <0x13>;
				};

				regulator-2p5 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x29f630>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x1e8480>;
					regulator-min-microvolt = <0x1e8480>;
					regulator-max-microvolt = <0x29f630>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x130>;
					regulator-name = "vdd2p5";
				};

				regulator-vddcore {
					anatop-delay-bit-shift = <0x18>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x0>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x40>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddarm";
					linux,phandle = <0x40>;
				};

				regulator-3p0 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x33e140>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x280de8>;
					regulator-min-microvolt = <0x2ab980>;
					regulator-max-microvolt = <0x3010b0>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x120>;
					regulator-name = "vdd3p0";
				};

				regulator-1p1 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x14fb18>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0xc3500>;
					regulator-min-microvolt = <0xc3500>;
					regulator-max-microvolt = <0x14fb18>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x4>;
					anatop-reg-offset = <0x110>;
					regulator-name = "vdd1p1";
				};

				regulator-vddsoc {
					anatop-delay-bit-shift = <0x1c>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x12>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x41>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddsoc";
					linux,phandle = <0x41>;
				};
			};

			pwm@02084000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x92>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x54 0x4>;
				reg = <0x2084000 0x4000>;
				#pwm-cells = <0x2>;
			};

			wdog@020bc000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				interrupts = <0x0 0x50 0x4>;
				reg = <0x20bc000 0x4000>;
			};

			epit@020d0000 {
				interrupts = <0x0 0x38 0x4>;
				reg = <0x20d0000 0x4000>;
			};

			gpio@020ac000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x78 0x1 0xf 0x2 0x4d 0x1 0xf 0x4 0x4c 0x1 0xf 0x5 0x2f 0x9 0xf 0xe 0x39 0x4 0xf 0x12 0x25 0x1 0xf 0x13 0x24 0x1 0xf 0x14 0x23 0x1 0xf 0x15 0x26 0x1 0xf 0x16 0x1d 0x6 0xf 0x1c 0x13 0x4>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4a 0x4 0x0 0x4b 0x4>;
				phandle = <0x47>;
				reg = <0x20ac000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x47>;
				interrupt-controller;
			};

			gpio@020b4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0xca 0x1 0xf 0x1 0xc9 0x1 0xf 0x2 0xc4 0x1 0xf 0x3 0xc3 0x1 0xf 0x4 0xc5 0x4 0xf 0x8 0xcd 0x1 0xf 0x9 0xcf 0x1 0xf 0xa 0xce 0x1 0xf 0xb 0x85 0x3>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4e 0x4 0x0 0x4f 0x4>;
				reg = <0x20b4000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			pwm@0208c000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x94>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x56 0x4>;
				reg = <0x208c000 0x4000>;
				#pwm-cells = <0x2>;
			};

			vpu@02040000 {
				power-domains = <0x1 0x1>;
				compatible = "fsl,imx6dl-vpu", "cnm,coda960";
				clocks = <0x2 0xa8 0x2 0x8c>;
				resets = <0xb 0x1>;
				iram = <0xc>;
				clock-names = "per", "ahb";
				interrupts = <0x0 0xc 0x4 0x0 0x3 0x4>;
				reg = <0x2040000 0x3c000>;
				interrupt-names = "bit", "jpeg";
			};

			ldb@020e0008 {
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				clocks = <0x2 0x21 0x2 0x22 0x2 0x27 0x2 0x28 0x2 0x87 0x2 0x88>;
				clock-names = "di0_pll", "di1_pll", "di0_sel", "di1_sel", "di0", "di1";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				gpr = <0x4>;

				lvds-channel@0 {
					fsl,data-mapping = "spwg";
					fsl,panel = <0x14>;
					status = "okay";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x0>;
					fsl,data-width = <0x18>;

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x16>;
							phandle = <0x3d>;
							linux,phandle = <0x3d>;
						};
					};

					port@4 {
						reg = <0x4>;

						endpoint {
							remote-endpoint = <0x18>;
							phandle = <0x4d>;
							linux,phandle = <0x4d>;
						};
					};

					display-timings {
						native-mode = <0x4e>;

						am1280800n3tz {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x3c>;
							hfront-porch = <0x32>;
							vfront-porch = <0x5>;
							pixelclk-active = <0x0>;
							vsync-len = <0xd>;
							de-active = <0x1>;
							vactive = <0x320>;
							phandle = <0x4e>;
							hback-porch = <0x32>;
							clock-frequency = <0x43b5fc0>;
							hactive = <0x500>;
							vback-porch = <0x5>;
						};

						am1024600l {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0x140>;
							vfront-porch = <0x23>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x258>;
							hback-porch = <0x0>;
							clock-frequency = <0x30d4000>;
							hactive = <0x400>;
							vback-porch = <0x0>;
						};

						ph800480t013 {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0xd2>;
							vfront-porch = <0x16>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x1e0>;
							phandle = <0x17>;
							hback-porch = <0x2e>;
							clock-frequency = <0x1fc1e20>;
							hactive = <0x320>;
							vback-porch = <0x17>;
							linux,phandle = <0x17>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x15>;
							phandle = <0x39>;
							linux,phandle = <0x39>;
						};
					};
				};

				lvds-channel@1 {
					status = "disabled";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x1>;

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x1a>;
							phandle = <0x3e>;
							linux,phandle = <0x3e>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x19>;
							phandle = <0x3a>;
							linux,phandle = <0x3a>;
						};
					};
				};
			};

			epdc@020f4000 {
				interrupts = <0x0 0x61 0x4>;
				reg = <0x20f4000 0x4000>;
			};

			flexcan@02090000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6c 0x2 0x6d>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x6e 0x4>;
				reg = <0x2090000 0x4000>;
				pinctrl-0 = <0xd>;
				xceiver-supply = <0xe>;
				pinctrl-names = "default";
			};

			gpt@02098000 {
				compatible = "fsl,imx6dl-gpt";
				clocks = <0x2 0x77 0x2 0x78 0x2 0xed>;
				clock-names = "ipg", "per", "osc_per";
				interrupts = <0x0 0x37 0x4>;
				reg = <0x2098000 0x4000>;
			};

			usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb6>;
				interrupts = <0x0 0x2c 0x4>;
				phandle = <0x1b>;
				fsl,anatop = <0x10>;
				reg = <0x20c9000 0x1000>;
				linux,phandle = <0x1b>;
			};

			iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc";
				phandle = <0xf>;
				reg = <0x20e0000 0x4000>;
				linux,phandle = <0xf>;
				pinctrl-names = "default";

				imx6dl-ek360 {

					touchscreengrp {
						fsl,pins = <0x2e8 0x6d0 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x2e>;
						linux,phandle = <0x2e>;
					};

					usdhc4grp {
						fsl,pins = <0x33c 0x724 0x0 0x0 0x0 0x17059 0x338 0x720 0x938 0x0 0x1 0x10059 0x340 0x728 0x0 0x1 0x0 0x17059 0x344 0x72c 0x0 0x1 0x0 0x17059 0x348 0x730 0x0 0x1 0x0 0x17059 0x34c 0x734 0x0 0x1 0x0 0x17059 0x350 0x738 0x0 0x1 0x0 0x17059 0x354 0x73c 0x0 0x1 0x0 0x17059 0x358 0x740 0x0 0x1 0x0 0x17059 0x35c 0x744 0x0 0x1 0x0 0x17059>;
						phandle = <0x2b>;
						linux,phandle = <0x2b>;
					};

					uart1grp {
						fsl,pins = <0x4c 0x360 0x0 0x3 0x0 0x1b0b1 0x50 0x364 0x8fc 0x3 0x1 0x1b0b1>;
						phandle = <0xa>;
						linux,phandle = <0xa>;
					};

					usbh1vccgrp {
						fsl,pins = <0x180 0x550 0x0 0x5 0x0 0x1b0b0>;
						phandle = <0x23>;
						linux,phandle = <0x23>;
					};

					i2c2grp {
						fsl,pins = <0x264 0x64c 0x874 0x4 0x1 0x4001b8b1 0x250 0x638 0x870 0x4 0x1 0x4001b8b1>;
						phandle = <0x30>;
						linux,phandle = <0x30>;
					};

					ledgrp {
						fsl,pins = <0xd4 0x3e8 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x46>;
						linux,phandle = <0x46>;
					};

					enetgrp {
						fsl,pins = <0x2c0 0x6a8 0x814 0x1 0x1 0x1b0b0 0x2ac 0x694 0x818 0x1 0x1 0x1b0b0 0x2b0 0x698 0x81c 0x1 0x1 0x1b0b0 0x2b4 0x69c 0x820 0x1 0x1 0x1b0b0 0x2b8 0x6a0 0x824 0x1 0x1 0x1b0b0 0x2bc 0x6a4 0x828 0x1 0x1 0x1b0b0 0x2d8 0x6c0 0x0 0x1 0x0 0x1b0b0 0x2c4 0x6ac 0x0 0x1 0x0 0x1b0b0 0x2c8 0x6b0 0x0 0x1 0x0 0x1b0b0 0x2cc 0x6b4 0x0 0x1 0x0 0x1b0b0 0x2d0 0x6b8 0x0 0x1 0x0 0x1b0b0 0x2d4 0x6bc 0x0 0x1 0x0 0x1b0b0 0x1f0 0x5c0 0x0 0x1 0x0 0x1b0b0 0x1ec 0x5bc 0x810 0x1 0x0 0x1b0b0 0x1e8 0x5b8 0x0 0x1 0x0 0x1b0b0 0x160 0x530 0x0 0x5 0x0 0x80000000>;
						phandle = <0x25>;
						linux,phandle = <0x25>;
					};

					audmuxgrp {
						fsl,pins = <0x20c 0x5dc 0x0 0x0 0x0 0x30b0 0x74 0x388 0x0 0x4 0x0 0x130b0 0x78 0x38c 0x0 0x4 0x0 0x110b0 0x7c 0x390 0x0 0x4 0x0 0x130b0 0x80 0x394 0x0 0x4 0x0 0x130b0>;
						phandle = <0x32>;
						linux,phandle = <0x32>;
					};

					uart3grp {
						fsl,pins = <0x164 0x534 0x0 0x2 0x0 0x1b0b1 0x168 0x538 0x90c 0x2 0x1 0x1b0b1>;
						phandle = <0x36>;
						linux,phandle = <0x36>;
					};

					usdhc3grp {
						fsl,pins = <0x310 0x6f8 0x0 0x0 0x0 0x17059 0x30c 0x6f4 0x934 0x0 0x1 0x10059 0x314 0x6fc 0x0 0x0 0x0 0x17059 0x318 0x700 0x0 0x0 0x0 0x17059 0x31c 0x704 0x0 0x0 0x0 0x17059 0x320 0x708 0x0 0x0 0x0 0x17059 0x284 0x66c 0x0 0x5 0x0 0x1f071 0x288 0x670 0x0 0x5 0x0 0x1f071>;
						phandle = <0x29>;
						linux,phandle = <0x29>;
					};

					usbotgvccgrp {
						fsl,pins = <0x15c 0x52c 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x1f>;
						linux,phandle = <0x1f>;
					};

					usbh1grp {
						fsl,pins = <0x17c 0x54c 0x924 0x6 0x0 0x1b0b0>;
						phandle = <0x22>;
						linux,phandle = <0x22>;
					};

					flexcan1grp {
						fsl,pins = <0x238 0x608 0x0 0x3 0x0 0x1b0b0 0x23c 0x60c 0x7c8 0x3 0x0 0x1b0b0>;
						phandle = <0xd>;
						linux,phandle = <0xd>;
					};

					i2c1grp {
						fsl,pins = <0x84 0x398 0x86c 0x4 0x0 0x4001b8b1 0x88 0x39c 0x868 0x4 0x0 0x4001b8b1>;
						phandle = <0x2c>;
						linux,phandle = <0x2c>;
					};

					usbotggrp {
						fsl,pins = <0x210 0x5e0 0x790 0x3 0x1 0x17059 0x158 0x528 0x920 0x4 0x0 0x1b0b0>;
						phandle = <0x1e>;
						linux,phandle = <0x1e>;
					};

					dispgrp {
						fsl,pins = <0x2dc 0x6c4 0x0 0x5 0x0 0x1b0b1 0x2ec 0x6d4 0x0 0x5 0x0 0x1b0b1>;
					};

					uart2grp {
						fsl,pins = <0x16c 0x53c 0x0 0x4 0x0 0x1b0b1 0x170 0x540 0x904 0x4 0x1 0x1b0b1 0x14c 0x51c 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x35>;
						linux,phandle = <0x35>;
					};

					usdhc2grp {
						fsl,pins = <0x2f8 0x6e0 0x0 0x0 0x0 0x17059 0x2f4 0x6dc 0x930 0x0 0x1 0x10059 0x2fc 0x6e4 0x0 0x0 0x0 0x17059 0x300 0x6e8 0x0 0x0 0x0 0x17059 0x304 0x6ec 0x0 0x0 0x0 0x17059 0x308 0x6f0 0x0 0x0 0x0 0x17059 0x290 0x678 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x27>;
						linux,phandle = <0x27>;
					};

					i2c3grp {
						fsl,pins = <0x234 0x604 0x87c 0x2 0x2 0x4001b8b1 0x228 0x5f8 0x878 0x2 0x1 0x4001b8b1>;
						phandle = <0x31>;
						linux,phandle = <0x31>;
					};

					pwm1grp {
						fsl,pins = <0x2f0 0x6d8 0x0 0x3 0x0 0x1b0b1>;
						phandle = <0x48>;
						linux,phandle = <0x48>;
					};
				};
			};

			gpio@020a0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0xa1 0x8 0xf 0x8 0xd0 0x8 0xf 0x10 0x4a 0x1 0xf 0x11 0x49 0x1 0xf 0x12 0x48 0x1 0xf 0x13 0x47 0x1 0xf 0x14 0x46 0x1 0xf 0x15 0x45 0x1 0xf 0x16 0x44 0x1 0xf 0x17 0x4f 0x2 0xf 0x19 0x76 0x2 0xf 0x1b 0x75 0x1 0xf 0x1c 0x71 0x4>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x44 0x4 0x0 0x45 0x4>;
				phandle = <0x2a>;
				reg = <0x20a0000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x2a>;
				interrupt-controller;
			};

			iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				phandle = <0x4>;
				reg = <0x20e0000 0x38>;
				linux,phandle = <0x4>;
			};

			pwm@02080000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x91>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x53 0x4>;
				phandle = <0x49>;
				reg = <0x2080000 0x4000>;
				linux,phandle = <0x49>;
				#pwm-cells = <0x2>;
			};

			spba-bus@02000000 {
				compatible = "fsl,spba-bus", "simple-bus";
				ranges;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2000000 0x40000>;

				spba@0203c000 {
					reg = <0x203c000 0x4000>;
				};

				ssi@02030000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb4 0x2 0x9f>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x30 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2030000 0x4000>;
					dmas = <0x9 0x2d 0x1 0x0 0x9 0x2e 0x1 0x0>;
				};

				ssi@02028000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb2 0x2 0x9d>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "okay";
					interrupts = <0x0 0x2e 0x4>;
					dma-names = "rx", "tx";
					phandle = <0x4a>;
					reg = <0x2028000 0x4000>;
					dmas = <0x9 0x25 0x1 0x0 0x9 0x26 0x1 0x0>;
					linux,phandle = <0x4a>;
				};

				asrc@02034000 {
					compatible = "fsl,imx53-asrc";
					clocks = <0x2 0xd2 0x2 0xd3 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x6b 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "mem", "ipg", "asrck_0", "asrck_1", "asrck_2", "asrck_3", "asrck_4", "asrck_5", "asrck_6", "asrck_7", "asrck_8", "asrck_9", "asrck_a", "asrck_b", "asrck_c", "asrck_d", "asrck_e", "asrck_f", "spba";
					fsl,asrc-rate = <0xbb80>;
					fsl,asrc-width = <0x10>;
					status = "okay";
					interrupts = <0x0 0x32 0x4>;
					dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc";
					reg = <0x2034000 0x4000>;
					dmas = <0x9 0x11 0x17 0x1 0x9 0x12 0x17 0x1 0x9 0x13 0x17 0x1 0x9 0x14 0x17 0x1 0x9 0x15 0x17 0x1 0x9 0x16 0x17 0x1>;
				};

				esai@02024000 {
					compatible = "fsl,imx35-esai";
					clocks = <0x2 0xd0 0x2 0xd1 0x2 0x76 0x2 0xd0 0x2 0x9c>;
					#sound-dai-cells = <0x0>;
					clock-names = "core", "mem", "extal", "fsys", "spba";
					status = "disabled";
					interrupts = <0x0 0x33 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2024000 0x4000>;
					dmas = <0x9 0x17 0x15 0x0 0x9 0x18 0x15 0x0>;
				};

				ecspi@02010000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x72 0x2 0x72>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x21 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2010000 0x4000>;
					dmas = <0x9 0x7 0x8 0x1 0x9 0x8 0x8 0x2>;
				};

				ecspi@02008000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x70 0x2 0x70>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x1f 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2008000 0x4000>;
					dmas = <0x9 0x3 0x8 0x1 0x9 0x4 0x8 0x2>;
				};

				serial@02020000 {
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					clocks = <0x2 0xa0 0x2 0xa1>;
					clock-names = "ipg", "per";
					status = "okay";
					interrupts = <0x0 0x1a 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2020000 0x4000>;
					pinctrl-0 = <0xa>;
					dmas = <0x9 0x19 0x4 0x0 0x9 0x1a 0x4 0x0>;
					pinctrl-names = "default";
				};

				ssi@0202c000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb3 0x2 0x9e>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x2f 0x4>;
					dma-names = "rx", "tx";
					reg = <0x202c000 0x4000>;
					dmas = <0x9 0x29 0x1 0x0 0x9 0x2a 0x1 0x0>;
				};

				ecspi@0200c000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x71 0x2 0x71>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x20 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x200c000 0x4000>;
					dmas = <0x9 0x5 0x8 0x1 0x9 0x6 0x8 0x2>;
				};

				spdif@02004000 {
					compatible = "fsl,imx35-spdif";
					clocks = <0x2 0xf4 0x2 0x3 0x2 0xc5 0x2 0x6b 0x2 0x0 0x2 0x76 0x2 0x3e 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", "rxtx5", "rxtx6", "rxtx7", "spba";
					status = "disabled";
					interrupts = <0x0 0x34 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2004000 0x4000>;
					dmas = <0x9 0xe 0x12 0x0 0x9 0xf 0x12 0x0>;
				};

				ecspi@02014000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x73 0x2 0x73>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x22 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2014000 0x4000>;
					dmas = <0x9 0x9 0x8 0x1 0x9 0xa 0x8 0x2>;
				};
			};

			sdma@020ec000 {
				#dma-cells = <0x3>;
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				clocks = <0x2 0x9b 0x2 0x9b>;
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
				clock-names = "ipg", "ahb";
				interrupts = <0x0 0x2 0x4>;
				phandle = <0x9>;
				reg = <0x20ec000 0x4000>;
				linux,phandle = <0x9>;
			};

			wdog@020c0000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				status = "disabled";
				interrupts = <0x0 0x51 0x4>;
				reg = <0x20c0000 0x4000>;
			};

			kpp@020b8000 {
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
				clocks = <0x2 0x3e>;
				status = "disabled";
				interrupts = <0x0 0x52 0x4>;
				reg = <0x20b8000 0x4000>;
			};

			dcic@020e8000 {
				interrupts = <0x0 0x7d 0x4>;
				reg = <0x20e8000 0x4000>;
			};

			pxp@020f0000 {
				interrupts = <0x0 0x62 0x4>;
				reg = <0x20f0000 0x4000>;
			};

			gpio@020b0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x17 0x6 0xf 0x6 0x4b 0x1 0xf 0x7 0x9c 0x1 0xf 0x8 0x9b 0x1 0xf 0x9 0xaa 0x1 0xf 0xa 0xa9 0x1 0xf 0xb 0x9d 0x1 0xf 0xe 0x9e 0x3 0xf 0x11 0xcc 0x1 0xf 0x12 0xcb 0x1 0xf 0x13 0xb6 0x1 0xf 0x14 0xb1 0x4 0xf 0x18 0xaf 0x1 0xf 0x19 0xab 0x1 0xf 0x1a 0xb5 0x1 0xf 0x1b 0xac 0x3 0xf 0x1e 0xb0 0x1 0xf 0x1f 0x4e 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4c 0x4 0x0 0x4d 0x4>;
				reg = <0x20b0000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			gpio@020a8000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x5 0x88 0x1 0xf 0x6 0x91 0x1 0xf 0x7 0x96 0x1 0xf 0x8 0x92 0x1 0xf 0x9 0x97 0x1 0xf 0xa 0x93 0x1 0xf 0xb 0x97 0x1 0xf 0xc 0x94 0x1 0xf 0xd 0x99 0x1 0xf 0xe 0x95 0x1 0xf 0xf 0x9a 0x1 0xf 0x10 0x27 0x7 0xf 0x17 0x38 0x1 0xf 0x18 0x3d 0x7 0xf 0x1f 0x2e 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x48 0x4 0x0 0x49 0x4>;
				reg = <0x20a8000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			snvs@020cc000 {
				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
				phandle = <0x12>;
				reg = <0x20cc000 0x4000>;
				linux,phandle = <0x12>;

				snvs-poweroff {
					compatible = "syscon-poweroff";
					mask = <0x60>;
					offset = <0x38>;
					status = "disabled";
					regmap = <0x12>;
				};

				snvs-rtc-lp {
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
					offset = <0x34>;
					interrupts = <0x0 0x13 0x4 0x0 0x14 0x4>;
					regmap = <0x12>;
				};
			};

			pwm@02088000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x93>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x55 0x4>;
				reg = <0x2088000 0x4000>;
				#pwm-cells = <0x2>;
			};

			tempmon {
				compatible = "fsl,imx6q-tempmon";
				clocks = <0x2 0xac>;
				interrupts = <0x0 0x31 0x4>;
				fsl,tempmon = <0x10>;
				fsl,tempmon-data = <0x11>;
			};

			src@020d8000 {
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
				#reset-cells = <0x1>;
				interrupts = <0x0 0x5b 0x4 0x0 0x60 0x4>;
				phandle = <0xb>;
				reg = <0x20d8000 0x4000>;
				linux,phandle = <0xb>;
			};

			gpio@0209c000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0xf 0x0 0x83 0x2 0xf 0x2 0x89 0x8 0xf 0xa 0xbd 0x2 0xf 0xc 0xc2 0x1 0xf 0xd 0xc1 0x1 0xf 0xe 0xc0 0x1 0xf 0xf 0xbf 0x1 0xf 0x10 0xb9 0x2 0xf 0x12 0xb8 0x1 0xf 0x13 0xbb 0x1 0xf 0x14 0xb7 0x1 0xf 0x15 0xbc 0x1 0xf 0x16 0x7b 0x3 0xf 0x19 0x79 0x1 0xf 0x1a 0x7f 0x1 0xf 0x1b 0x7e 0x1 0xf 0x1c 0x80 0x1 0xf 0x1d 0x82 0x1 0xf 0x1e 0x81 0x1 0xf 0x1f 0x7a 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x42 0x4 0x0 0x43 0x4>;
				phandle = <0x2f>;
				reg = <0x209c000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x2f>;
				interrupt-controller;
			};

			epit@020d4000 {
				interrupts = <0x0 0x39 0x4>;
				reg = <0x20d4000 0x4000>;
			};
		};

		interrupt-controller@00a01000 {
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <0x3>;
			interrupt-parent = <0x8>;
			phandle = <0x8>;
			reg = <0xa01000 0x1000 0xa00100 0x100>;
			linux,phandle = <0x8>;
			interrupt-controller;
		};

		gpu@00134000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1a 0x2 0x79>;
			clock-names = "bus", "core";
			interrupts = <0x0 0xa 0x4>;
			phandle = <0x44>;
			reg = <0x134000 0x4000>;
			linux,phandle = <0x44>;
		};

		pmu {
			compatible = "arm,cortex-a9-pmu";
			interrupts = <0x0 0x5e 0x4>;
		};

		hdmi@0120000 {
			compatible = "fsl,imx6dl-hdmi";
			clocks = <0x2 0x7b 0x2 0x7c>;
			clock-names = "iahb", "isfr";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0x73 0x4>;
			#size-cells = <0x0>;
			reg = <0x120000 0x9000>;
			ddc-i2c-bus = <0x5>;
			gpr = <0x4>;

			port@1 {
				reg = <0x1>;

				endpoint {
					remote-endpoint = <0x7>;
					phandle = <0x3b>;
					linux,phandle = <0x3b>;
				};
			};

			port@0 {
				reg = <0x0>;

				endpoint {
					remote-endpoint = <0x6>;
					phandle = <0x37>;
					linux,phandle = <0x37>;
				};
			};
		};

		gpmi-nand@00112000 {
			compatible = "fsl,imx6q-gpmi-nand";
			clocks = <0x2 0x98 0x2 0x99 0x2 0x97 0x2 0x96 0x2 0x95>;
			reg-names = "gpmi-nand", "bch";
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch", "gpmi_bch_apb", "per1_bch";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0xf 0x4>;
			#size-cells = <0x1>;
			dma-names = "rx-tx";
			reg = <0x112000 0x2000 0x114000 0x2000>;
			dmas = <0x3 0x0>;
			interrupt-names = "bch";
		};

		l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			cache-level = <0x2>;
			arm,shared-override;
			cache-unified;
			arm,data-latency = <0x4 0x2 0x3>;
			interrupts = <0x0 0x5c 0x4>;
			phandle = <0x3f>;
			reg = <0xa02000 0x1000>;
			linux,phandle = <0x3f>;
			arm,tag-latency = <0x4 0x2 0x3>;
		};

		ipu@02400000 {
			compatible = "fsl,imx6q-ipu";
			clocks = <0x2 0x82 0x2 0x83 0x2 0x84>;
			resets = <0xb 0x2>;
			clock-names = "bus", "di0", "di1";
			#address-cells = <0x1>;
			interrupts = <0x0 0x6 0x4 0x0 0x5 0x4>;
			#size-cells = <0x0>;
			reg = <0x2400000 0x400000>;

			port@3 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x43>;
				reg = <0x3>;
				linux,phandle = <0x43>;

				lvds1-endpoint {
					remote-endpoint = <0x3e>;
					phandle = <0x1a>;
					linux,phandle = <0x1a>;
				};

				mipi-endpoint {
					remote-endpoint = <0x3c>;
					phandle = <0x34>;
					linux,phandle = <0x34>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x3b>;
					phandle = <0x7>;
					linux,phandle = <0x7>;
				};

				disp1-endpoint {
				};

				lvds0-endpoint {
					remote-endpoint = <0x3d>;
					phandle = <0x16>;
					linux,phandle = <0x16>;
				};
			};

			port@1 {
				reg = <0x1>;
			};

			port@2 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x42>;
				reg = <0x2>;
				linux,phandle = <0x42>;

				lvds1-endpoint {
					remote-endpoint = <0x3a>;
					phandle = <0x19>;
					linux,phandle = <0x19>;
				};

				disp0-endpoint {
				};

				mipi-endpoint {
					remote-endpoint = <0x38>;
					phandle = <0x33>;
					linux,phandle = <0x33>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x37>;
					phandle = <0x6>;
					linux,phandle = <0x6>;
				};

				lvds0-endpoint {
					remote-endpoint = <0x39>;
					phandle = <0x15>;
					linux,phandle = <0x15>;
				};
			};

			port@0 {
				reg = <0x0>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";
		status = "okay";
		pinctrl-0 = <0x46>;
		pinctrl-names = "default";

		led0 {
			gpios = <0x47 0xb 0x1>;
			label = "led";
			default-state = "off";
		};
	};

	aliases {
		i2c3 = "/soc/aips-bus@02100000/i2c@021f8000";
		gpio2 = "/soc/aips-bus@02000000/gpio@020a4000";
		spi2 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000";
		i2c1 = "/soc/aips-bus@02100000/i2c@021a4000";
		mmc3 = "/soc/aips-bus@02100000/usdhc@0219c000";
		gpio0 = "/soc/aips-bus@02000000/gpio@0209c000";
		spi0 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000";
		mmc1 = "/soc/aips-bus@02100000/usdhc@02194000";
		ethernet0 = "/soc/aips-bus@02100000/ethernet@02188000";
		pwm3 = "/soc/aips-bus@02000000/pwm@0208c000";
		serial3 = "/soc/aips-bus@02100000/serial@021f0000";
		usbphy1 = "/soc/aips-bus@02000000/usbphy@020ca000";
		gpio5 = "/soc/aips-bus@02000000/gpio@020b0000";
		pwm1 = "/soc/aips-bus@02000000/pwm@02084000";
		serial1 = "/soc/aips-bus@02100000/serial@021e8000";
		gpio3 = "/soc/aips-bus@02000000/gpio@020a8000";
		can0 = "/soc/aips-bus@02000000/flexcan@02090000";
		spi3 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000";
		i2c2 = "/soc/aips-bus@02100000/i2c@021a8000";
		gpio1 = "/soc/aips-bus@02000000/gpio@020a0000";
		spi1 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000";
		i2c0 = "/soc/aips-bus@02100000/i2c@021a0000";
		mmc2 = "/soc/aips-bus@02100000/usdhc@02198000";
		mmc0 = "/soc/aips-bus@02100000/usdhc@02190000";
		serial4 = "/soc/aips-bus@02100000/serial@021f4000";
		gpio6 = "/soc/aips-bus@02000000/gpio@020b4000";
		pwm2 = "/soc/aips-bus@02000000/pwm@02088000";
		serial2 = "/soc/aips-bus@02100000/serial@021ec000";
		usbphy0 = "/soc/aips-bus@02000000/usbphy@020c9000";
		ipu0 = "/soc/ipu@02400000";
		gpio4 = "/soc/aips-bus@02000000/gpio@020ac000";
		pwm0 = "/soc/aips-bus@02000000/pwm@02080000";
		can1 = "/soc/aips-bus@02000000/flexcan@02094000";
		serial0 = "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000";
	};

	chosen {
		bootargs = "console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  imxdrm.legacyfb_depth=32 ";
		linux,stdout-path = "/soc/aips-bus@02100000/serial@021ec000";
	};

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

		regulator@3 {
			compatible = "regulator-fixed";
			phandle = <0x24>;
			regulator-min-microvolt = <0x325aa0>;
			reg = <0x3>;
			regulator-max-microvolt = <0x325aa0>;
			regulator-always-on;
			regulator-name = "3P3V";
			linux,phandle = <0x24>;
		};

		regulator@1 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x16e360>;
			reg = <0x1>;
			regulator-max-microvolt = <0x16e360>;
			regulator-always-on;
			regulator-name = "1P5V";
		};

		regulator@6 {
			compatible = "regulator-fixed";
			enable-active-high;
			gpio = <0x2a 0x3 0x0>;
			phandle = <0x28>;
			regulator-min-microvolt = <0x1f78a40>;
			reg = <0x6>;
			regulator-max-microvolt = <0x1f78a40>;
			regulator-always-on;
			regulator-name = "sdio_en";
			linux,phandle = <0x28>;
		};

		regulator@4 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x26 0x16 0x1>;
			phandle = <0x1d>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x4>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-name = "usb_otg_vbus";
			linux,phandle = <0x1d>;
		};

		regulator@2 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x2625a0>;
			reg = <0x2>;
			regulator-max-microvolt = <0x2625a0>;
			regulator-always-on;
			regulator-name = "2P5V";
		};

		regulator@0 {
			compatible = "regulator-fixed";
			phandle = <0x2d>;
			regulator-min-microvolt = <0x124f80>;
			reg = <0x0>;
			regulator-max-microvolt = <0x124f80>;
			regulator-always-on;
			regulator-name = "1P2V";
			linux,phandle = <0x2d>;
		};

		regulator@7 {
			compatible = "regulator-fixed";
			phandle = <0xe>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x7>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "5P0V";
			linux,phandle = <0xe>;
		};

		regulator@5 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x26 0x1f 0x1>;
			phandle = <0x21>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x5>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "usb_h1_vbus";
			linux,phandle = <0x21>;
		};
	};

	sound {
		compatible = "fsl,imx-audio-sgtl5000";
		ssi-controller = <0x4a>;
		model = "imx6-ek360-sgtl5000";
		micbias-voltage-m-volts = <0xbb8>;
		mux-int-port = <0x1>;
		status = "okay";
		mux-ext-port = <0x3>;
		micbias-resistor-k-ohms = <0x2>;
		audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT";
		audio-codec = <0x4b>;
	};

	memory {
		device_type = "memory";
		reg = <0x10000000 0x40000000>;
	};

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

		cpu@1 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <0x3f>;
			reg = <0x1>;
		};

		cpu@0 {
			compatible = "arm,cortex-a9";
			clocks = <0x2 0x68 0x2 0x6 0x2 0x10 0x2 0x11 0x2 0xaa>;
			device_type = "cpu";
			soc-supply = <0x41>;
			arm-supply = <0x40>;
			clock-names = "arm", "pll2_pfd2_396m", "step", "pll1_sw", "pll1_sys";
			fsl,soc-operating-points = <0xf32a0 0x11edd8 0xc15c0 0x11edd8 0x60ae0 0x11edd8>;
			next-level-cache = <0x3f>;
			reg = <0x0>;
			operating-points = <0xf32a0 0x1312d0 0xc15c0 0x11edd8 0x60ae0 0x118c30>;
			pu-supply = <0x13>;
			clock-latency = <0xee6c>;
		};
	};

	backlight {
		compatible = "pwm-backlight";
		default-brightness-level = <0x6>;
		brightness-levels = <0x0 0x4 0x8 0x10 0x20 0x40 0x80 0xff>;
		status = "okay";
		phandle = <0x4c>;
		pinctrl-0 = <0x48>;
		pwms = <0x49 0x0 0x65b9aa>;
		linux,phandle = <0x4c>;
		power-supply = <0x24>;
		pinctrl-names = "default";
	};

	panel {
		compatible = "innolux,g101ice-l01", "panel-lvds";
		width-mm = <0xd9>;
		height-mm = <0x88>;
		status = "okay";
		phandle = <0x14>;
		linux,phandle = <0x14>;
		backlight = <0x4c>;
		data-mapping = "jeida-24";

		panel-timing {
			hsync-active = <0x0>;
			vsync-active = <0x0>;
			hsync-len = <0x3c>;
			hfront-porch = <0x32>;
			vfront-porch = <0x5>;
			pixelclk-active = <0x0>;
			vsync-len = <0xd>;
			de-active = <0x1>;
			vactive = <0x320>;
			hback-porch = <0x32>;
			clock-frequency = <0x43b5fc0>;
			hactive = <0x500>;
			vback-porch = <0x5>;
		};

		port {

			endpoint {
				remote-endpoint = <0x4d>;
				phandle = <0x18>;
				linux,phandle = <0x18>;
			};
		};
	};
};

[-- Attachment #5: dts-imx6q --]
[-- Type: text/plain, Size: 51186 bytes --]

/dts-v1/;

/ {
	compatible = "eurek,ek360", "fsl,imx6qp";
	model = "Eurek EK360 i.MX6QP";
	#address-cells = <0x1>;
	#size-cells = <0x1>;

	gpu-subsystem {
		compatible = "fsl,imx-gpu-subsystem";
		cores = <0x56 0x57 0x58>;
	};

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

		osc {
			compatible = "fsl,imx-osc", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x16e3600>;
		};

		ckih1 {
			compatible = "fsl,imx-ckih1", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x0>;
		};

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x8000>;
		};
	};

	display-subsystem {
		compatible = "fsl,imx-display-subsystem";
		ports = <0x52 0x53 0x54 0x55>;
	};

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

		sram@00900000 {
			compatible = "mmio-sram";
			clocks = <0x2 0x8e>;
			phandle = <0xe>;
			reg = <0x900000 0x40000>;
			linux,phandle = <0xe>;
		};

		sram@00940000 {
			compatible = "mmio-sram";
			clocks = <0x2 0x8e>;
			reg = <0x940000 0x20000>;
		};

		gpu@00130000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1b 0x2 0x7a 0x2 0x4a>;
			clock-names = "bus", "core", "shader";
			interrupts = <0x0 0x9 0x4>;
			phandle = <0x57>;
			reg = <0x130000 0x4000>;
			linux,phandle = <0x57>;
		};

		timer@00a00600 {
			compatible = "arm,cortex-a9-twd-timer";
			clocks = <0x2 0xf>;
			interrupt-parent = <0xa>;
			interrupts = <0x1 0xd 0xf01>;
			reg = <0xa00600 0x20>;
		};

		dma-apbh@00110000 {
			#dma-cells = <0x1>;
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			clocks = <0x2 0x6a>;
			dma-channels = <0x4>;
			interrupts = <0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4 0x0 0xd 0x4>;
			phandle = <0x3>;
			reg = <0x110000 0x2000>;
			linux,phandle = <0x3>;
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
		};

		ipu@02800000 {
			compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
			clocks = <0x2 0x85 0x2 0x86 0x2 0x89 0x2 0x29 0x2 0x2a 0x2 0x4d 0x2 0x4e 0x2 0x101>;
			resets = <0xd 0x4>;
			clock-names = "bus", "di0", "di1", "di0_sel", "di1_sel", "ldb_di0", "ldb_di1", "prg";
			#address-cells = <0x1>;
			interrupts = <0x0 0x8 0x4 0x0 0x7 0x4>;
			#size-cells = <0x0>;
			reg = <0x2800000 0x400000>;

			port@3 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x55>;
				reg = <0x3>;
				linux,phandle = <0x55>;

				lvds1-endpoint {
					remote-endpoint = <0x4e>;
					phandle = <0x20>;
					linux,phandle = <0x20>;
				};

				mipi-endpoint {
					remote-endpoint = <0x4c>;
					phandle = <0x3c>;
					linux,phandle = <0x3c>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x4b>;
					phandle = <0x9>;
					linux,phandle = <0x9>;
				};

				lvds0-endpoint {
					remote-endpoint = <0x4d>;
					phandle = <0x1a>;
					linux,phandle = <0x1a>;
				};
			};

			port@1 {
				reg = <0x1>;
			};

			port@2 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x54>;
				reg = <0x2>;
				linux,phandle = <0x54>;

				lvds1-endpoint {
					remote-endpoint = <0x4a>;
					phandle = <0x1f>;
					linux,phandle = <0x1f>;
				};

				disp0-endpoint {
				};

				mipi-endpoint {
					remote-endpoint = <0x48>;
					phandle = <0x3b>;
					linux,phandle = <0x3b>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x47>;
					phandle = <0x8>;
					linux,phandle = <0x8>;
				};

				lvds0-endpoint {
					remote-endpoint = <0x49>;
					phandle = <0x19>;
					linux,phandle = <0x19>;
				};
			};

			port@0 {
				reg = <0x0>;
			};
		};

		pcie@0x01000000 {
			compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
			clocks = <0x2 0x90 0x2 0xce 0x2 0xbd>;
			reg-names = "dbi", "config";
			device_type = "pci";
			num-lanes = <0x1>;
			clock-names = "pcie", "pcie_bus", "pcie_phy";
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			ranges = <0x81000000 0x0 0x0 0x1f80000 0x0 0x10000 0x82000000 0x0 0x1000000 0x1000000 0x0 0xf00000>;
			status = "disabled";
			#interrupt-cells = <0x1>;
			#address-cells = <0x3>;
			interrupts = <0x0 0x78 0x4>;
			interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x7b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x7a 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x79 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x78 0x4>;
			#size-cells = <0x2>;
			reg = <0x1ffc000 0x4000 0x1f00000 0x80000>;
			interrupt-names = "msi";
		};

		aips-bus@02100000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2100000 0x100000>;

			i2c@021a8000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7f>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x26 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a8000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x37>;
				pinctrl-names = "default";
			};

			usbmisc@02184800 {
				compatible = "fsl,imx6q-usbmisc";
				clocks = <0x2 0xa2>;
				#index-cells = <0x1>;
				phandle = <0x22>;
				reg = <0x2184800 0x200>;
				linux,phandle = <0x22>;
			};

			mlb@0218c000 {
				interrupts = <0x0 0x35 0x4 0x0 0x75 0x4 0x0 0x7e 0x4>;
				reg = <0x218c000 0x4000>;
			};

			mmdc@021b4000 {
				reg = <0x21b4000 0x4000>;
			};

			usdhc@02190000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa3 0x2 0xa3 0x2 0xa3>;
				clock-names = "ipg", "ahb", "per";
				status = "disabled";
				interrupts = <0x0 0x16 0x4>;
				bus-width = <0x4>;
				reg = <0x2190000 0x4000>;
			};

			usb@02184000 {
				vbus-supply = <0x23>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x22 0x0>;
				fsl,usbphy = <0x21>;
				status = "okay";
				interrupts = <0x0 0x2b 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184000 0x200>;
				pinctrl-0 = <0x24 0x25>;
				dr_mode = "otg";
				pinctrl-names = "default";
			};

			mipi@021dc000 {
				reg = <0x21dc000 0x4000>;
			};

			ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
				clocks = <0x2 0x80>;
				phandle = <0x13>;
				reg = <0x21bc000 0x4000>;
				linux,phandle = <0x13>;
			};

			weim@021b8000 {
				compatible = "fsl,imx6q-weim";
				clocks = <0x2 0xc4>;
				fsl,weim-cs-gpr = <0x4>;
				status = "disabled";
				#address-cells = <0x2>;
				interrupts = <0x0 0xe 0x4>;
				#size-cells = <0x1>;
				reg = <0x21b8000 0x4000>;
			};

			usb@02184600 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x22 0x3>;
				status = "disabled";
				interrupts = <0x0 0x2a 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184600 0x200>;
				dr_mode = "host";
			};

			usdhc@02198000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa5 0x2 0xa5 0x2 0xa5>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				cd-gpios = <0x30 0x0 0x1>;
				status = "okay";
				interrupts = <0x0 0x18 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2198000 0x4000>;
				pinctrl-0 = <0x2f>;
				vmmc-supply = <0x2a>;
				pinctrl-names = "default";
			};

			i2c@021a4000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7e>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x25 0x4>;
				#size-cells = <0x0>;
				phandle = <0x5>;
				reg = <0x21a4000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x36>;
				linux,phandle = <0x5>;
				pinctrl-names = "default";
			};

			caam@2100000 {
				compatible = "fsl,sec-v4.0";
				clocks = <0x2 0xf1 0x2 0xf2 0x2 0xf3 0x2 0xc4>;
				clock-names = "mem", "aclk", "ipg", "emi_slow";
				ranges = <0x0 0x2100000 0x10000>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2100000 0x10000>;
				fsl,sec-era = <0x4>;

				jr1@2000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x6a 0x4>;
					reg = <0x2000 0x1000>;
				};

				jr0@1000 {
					compatible = "fsl,sec-v4.0-job-ring";
					interrupts = <0x0 0x69 0x4>;
					reg = <0x1000 0x1000>;
				};
			};

			mmdc@021b0000 {
				compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc";
				reg = <0x21b0000 0x4000>;
			};

			serial@021ec000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x1c 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21ec000 0x4000>;
				pinctrl-0 = <0x3e>;
				dmas = <0xb 0x1d 0x4 0x0 0xb 0x1e 0x4 0x0>;
				pinctrl-names = "default";
			};

			romcp@021ac000 {
				reg = <0x21ac000 0x4000>;
			};

			audmux@021d8000 {
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
				status = "okay";
				reg = <0x21d8000 0x4000>;
				pinctrl-0 = <0x38>;
				pinctrl-names = "default";
			};

			tzasc@021d4000 {
				interrupts = <0x0 0x6d 0x4>;
				reg = <0x21d4000 0x4000>;
			};

			serial@021f4000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1e 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f4000 0x4000>;
				dmas = <0xb 0x21 0x4 0x0 0xb 0x22 0x4 0x0>;
			};

			usb@02184200 {
				vbus-supply = <0x27>;
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x22 0x1>;
				fsl,usbphy = <0x26>;
				status = "okay";
				interrupts = <0x0 0x28 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184200 0x200>;
				pinctrl-0 = <0x28 0x29>;
				dr_mode = "host";
				pinctrl-names = "default";
			};

			vdoa@021e4000 {
				interrupts = <0x0 0x12 0x4>;
				reg = <0x21e4000 0x4000>;
			};

			mipi@021e0000 {
				status = "disabled";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				reg = <0x21e0000 0x4000>;

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

					port@3 {
						reg = <0x3>;

						endpoint {
							remote-endpoint = <0x3c>;
							phandle = <0x4c>;
							linux,phandle = <0x4c>;
						};
					};

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x3a>;
							phandle = <0x44>;
							linux,phandle = <0x44>;
						};
					};

					port@2 {
						reg = <0x2>;

						endpoint {
							remote-endpoint = <0x3b>;
							phandle = <0x48>;
							linux,phandle = <0x48>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x39>;
							phandle = <0x40>;
							linux,phandle = <0x40>;
						};
					};
				};
			};

			usdhc@02194000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa4 0x2 0xa4 0x2 0xa4>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x17 0x4>;
				no-1-8-v;
				bus-width = <0x4>;
				reg = <0x2194000 0x4000>;
				pinctrl-0 = <0x2d>;
				vmmc-supply = <0x2e>;
				non-removable;
				max-frequency = <0x17d7840>;
				pinctrl-names = "default";
			};

			i2c@021a0000 {
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
				clocks = <0x2 0x7d>;
				status = "okay";
				#address-cells = <0x1>;
				interrupts = <0x0 0x24 0x4>;
				#size-cells = <0x0>;
				reg = <0x21a0000 0x4000>;
				clock-frequency = <0x186a0>;
				pinctrl-0 = <0x32>;
				pinctrl-names = "default";

				touchscreen@48 {
					compatible = "eurek,sx8656-ek";
					status = "okay";
					interrupt-parent = <0x35>;
					interrupts = <0x11 0x2>;
					reg = <0x48>;
					pinctrl-0 = <0x34>;
					pinctrl-names = "default";
				};

				at24@50 {
					compatible = "at24,24c64";
					status = "okay";
					pagesize = <0x40>;
					reg = <0x50>;
				};

				codec@0a {
					VDDIO-supply = <0x2a>;
					compatible = "fsl,sgtl5000";
					clocks = <0x2 0xc9>;
					VDDA-supply = <0x2a>;
					status = "okay";
					phandle = <0x5e>;
					reg = <0xa>;
					VDDD-supply = <0x33>;
					linux,phandle = <0x5e>;
				};

				rtc@51 {
					compatible = "phg,pcf8563";
					status = "okay";
					reg = <0x51>;
				};
			};

			tzasc@021d0000 {
				interrupts = <0x0 0x6c 0x4>;
				reg = <0x21d0000 0x4000>;
			};

			serial@021f0000 {
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x1d 0x4>;
				dma-names = "rx", "tx";
				reg = <0x21f0000 0x4000>;
				dmas = <0xb 0x1f 0x4 0x0 0xb 0x20 0x4 0x0>;
			};

			usdhc@0219c000 {
				compatible = "fsl,imx6q-usdhc";
				clocks = <0x2 0xa6 0x2 0xa6 0x2 0xa6>;
				voltage-ranges = <0xce4 0xce4>;
				clock-names = "ipg", "ahb", "per";
				status = "okay";
				interrupts = <0x0 0x19 0x4>;
				no-1-8-v;
				bus-width = <0x8>;
				reg = <0x219c000 0x4000>;
				pinctrl-0 = <0x31>;
				vmmc-supply = <0x2a>;
				non-removable;
				pinctrl-names = "default";
			};

			ethernet@02188000 {
				txd1-skew-ps = <0x0>;
				interrupts-extended = <0xa 0x0 0x76 0x4 0xa 0x0 0x77 0x4>;
				compatible = "fsl,imx6q-fec";
				clocks = <0x2 0x75 0x2 0x75 0x2 0xbe>;
				txc-skew-ps = <0xbb8>;
				rxd3-skew-ps = <0x0>;
				clock-names = "ipg", "ahb", "ptp";
				rxd0-skew-ps = <0x0>;
				txd2-skew-ps = <0x0>;
				phy-supply = <0x2a>;
				rxc-skew-ps = <0xbb8>;
				status = "okay";
				rxd1-skew-ps = <0x0>;
				txd3-skew-ps = <0x0>;
				rxdv-skew-ps = <0x0>;
				txd0-skew-ps = <0x0>;
				reg = <0x2188000 0x4000>;
				phy-mode = "rgmii";
				pinctrl-0 = <0x2b>;
				phy-reset-duration = <0x64>;
				phy-reset-gpios = <0x2c 0x17 0x0>;
				txen-skew-ps = <0x0>;
				rxd2-skew-ps = <0x0>;
				pinctrl-names = "default";
			};

			serial@021e8000 {
				compatible = "eurek,imx6-ek-uart";
				clocks = <0x2 0xa0 0x2 0xa1>;
				rs485-rts-delay = <0x0 0x0>;
				linux,rs485-enabled-at-boot-time;
				clock-names = "ipg", "per";
				rts-gpio = <0x2c 0x12 0x1>;
				status = "okay";
				interrupts = <0x0 0x1b 0x4>;
				dma-names = "rx", "tx";
				rs485-rts-active-low;
				reg = <0x21e8000 0x4000>;
				pinctrl-0 = <0x3d>;
				dmas = <0xb 0x1b 0x4 0x0 0xb 0x1c 0x4 0x0>;
				pinctrl-names = "default";
			};

			usb@02184400 {
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				clocks = <0x2 0xa2>;
				fsl,usbmisc = <0x22 0x2>;
				status = "disabled";
				interrupts = <0x0 0x29 0x4>;
				tx-burst-size-dword = <0x10>;
				ahb-burst-config = <0x0>;
				rx-burst-size-dword = <0x10>;
				reg = <0x2184400 0x200>;
				dr_mode = "host";
			};

			aipstz@0217c000 {
				reg = <0x217c000 0x4000>;
			};
		};

		gpu@02204000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x8f 0x2 0x79>;
			clock-names = "bus", "core";
			interrupts = <0x0 0xb 0x4>;
			phandle = <0x58>;
			reg = <0x2204000 0x4000>;
			linux,phandle = <0x58>;
		};

		sata@02200000 {
			compatible = "fsl,imx6q-ahci";
			clocks = <0x2 0x9a 0x2 0xbb 0x2 0x69>;
			clock-names = "sata", "sata_ref", "ahb";
			status = "disabled";
			interrupts = <0x0 0x27 0x4>;
			reg = <0x2200000 0x4000>;
		};

		sram@00960000 {
			compatible = "mmio-sram";
			clocks = <0x2 0x8e>;
			reg = <0x960000 0x20000>;
		};

		aips-bus@02000000 {
			compatible = "fsl,aips-bus", "simple-bus";
			ranges;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			reg = <0x2000000 0x100000>;

			usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb7>;
				interrupts = <0x0 0x2d 0x4>;
				phandle = <0x26>;
				fsl,anatop = <0x12>;
				reg = <0x20ca000 0x1000>;
				linux,phandle = <0x26>;
			};

			dcic@020e4000 {
				interrupts = <0x0 0x7c 0x4>;
				reg = <0x20e4000 0x4000>;
			};

			aipstz@0207c000 {
				reg = <0x207c000 0x4000>;
			};

			gpc@020dc000 {
				compatible = "fsl,imx6q-gpc";
				clocks = <0x2 0x7a 0x2 0x4a 0x2 0x79 0x2 0x1a 0x2 0x8f 0x2 0xa8>;
				#interrupt-cells = <0x3>;
				interrupt-parent = <0xa>;
				interrupts = <0x0 0x59 0x4 0x0 0x5a 0x4>;
				phandle = <0x1>;
				reg = <0x20dc000 0x4000>;
				pu-supply = <0x15>;
				linux,phandle = <0x1>;
				#power-domain-cells = <0x1>;
				interrupt-controller;
			};

			flexcan@02094000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6e 0x2 0x6f>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x6f 0x4>;
				reg = <0x2094000 0x4000>;
			};

			ccm@020c4000 {
				compatible = "fsl,imx6q-ccm";
				interrupts = <0x0 0x57 0x4 0x0 0x58 0x4>;
				#clock-cells = <0x1>;
				phandle = <0x2>;
				reg = <0x20c4000 0x4000>;
				linux,phandle = <0x2>;
			};

			gpio@020a4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0x45 0x10 0x11 0x10 0x24 0x8 0x11 0x18 0x2d 0x8>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x46 0x4 0x0 0x47 0x4>;
				phandle = <0x2c>;
				reg = <0x20a4000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x2c>;
				interrupt-controller;
			};

			anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
				interrupts = <0x0 0x31 0x4 0x0 0x36 0x4 0x0 0x7f 0x4>;
				phandle = <0x12>;
				reg = <0x20c8000 0x1000>;
				linux,phandle = <0x12>;

				regulator-vddpu {
					regulator-enable-ramp-delay = <0x96>;
					anatop-delay-bit-shift = <0x1a>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x9>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x15>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddpu";
					linux,phandle = <0x15>;
				};

				regulator-2p5 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x29f630>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x1e8480>;
					regulator-min-microvolt = <0x1e8480>;
					regulator-max-microvolt = <0x29f630>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x130>;
					regulator-name = "vdd2p5";
				};

				regulator-vddcore {
					anatop-delay-bit-shift = <0x18>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x0>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x50>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddarm";
					linux,phandle = <0x50>;
				};

				regulator-3p0 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x33e140>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0x280de8>;
					regulator-min-microvolt = <0x2ab980>;
					regulator-max-microvolt = <0x3010b0>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x0>;
					anatop-reg-offset = <0x120>;
					regulator-name = "vdd3p0";
				};

				regulator-1p1 {
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x14fb18>;
					anatop-vol-bit-shift = <0x8>;
					anatop-min-voltage = <0xc3500>;
					regulator-min-microvolt = <0xc3500>;
					regulator-max-microvolt = <0x14fb18>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x4>;
					anatop-reg-offset = <0x110>;
					regulator-name = "vdd1p1";
				};

				regulator-vddsoc {
					anatop-delay-bit-shift = <0x1c>;
					compatible = "fsl,anatop-regulator";
					anatop-max-voltage = <0x162010>;
					anatop-vol-bit-shift = <0x12>;
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-width = <0x2>;
					anatop-min-voltage = <0xb1008>;
					phandle = <0x51>;
					regulator-min-microvolt = <0xb1008>;
					regulator-max-microvolt = <0x162010>;
					anatop-vol-bit-width = <0x5>;
					regulator-always-on;
					anatop-min-bit-val = <0x1>;
					anatop-reg-offset = <0x140>;
					regulator-name = "vddsoc";
					linux,phandle = <0x51>;
				};
			};

			pwm@02084000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x92>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x54 0x4>;
				reg = <0x2084000 0x4000>;
				#pwm-cells = <0x2>;
			};

			wdog@020bc000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				interrupts = <0x0 0x50 0x4>;
				reg = <0x20bc000 0x4000>;
			};

			epit@020d0000 {
				interrupts = <0x0 0x38 0x4>;
				reg = <0x20d0000 0x4000>;
			};

			gpio@020ac000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0x55 0x1 0x11 0x2 0x22 0x1 0x11 0x4 0x35 0x1 0x11 0x5 0x67 0xd 0x11 0x12 0x96 0xe>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4a 0x4 0x0 0x4b 0x4>;
				phandle = <0x5a>;
				reg = <0x20ac000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x5a>;
				interrupt-controller;
			};

			gpio@020b4000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0xac 0x9 0x11 0x9 0xbd 0x2 0x11 0xb 0x92 0x3>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4e 0x4 0x0 0x4f 0x4>;
				reg = <0x20b4000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			pwm@0208c000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x94>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x56 0x4>;
				reg = <0x208c000 0x4000>;
				#pwm-cells = <0x2>;
			};

			vpu@02040000 {
				power-domains = <0x1 0x1>;
				compatible = "fsl,imx6q-vpu", "cnm,coda960";
				clocks = <0x2 0xa8 0x2 0x8c>;
				resets = <0xd 0x1>;
				iram = <0xe>;
				clock-names = "per", "ahb";
				interrupts = <0x0 0xc 0x4 0x0 0x3 0x4>;
				reg = <0x2040000 0x3c000>;
				interrupt-names = "bit", "jpeg";
			};

			ldb@020e0008 {
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				clocks = <0x2 0x21 0x2 0x22 0x2 0x27 0x2 0x28 0x2 0x29 0x2 0x2a 0x2 0x4d 0x2 0x4e>;
				clock-names = "di0_pll", "di1_pll", "di0_sel", "di1_sel", "di2_sel", "di3_sel", "di0", "di1";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				gpr = <0x4>;

				lvds-channel@0 {
					fsl,data-mapping = "spwg";
					fsl,panel = <0x16>;
					status = "okay";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x0>;
					fsl,data-width = <0x18>;

					port@3 {
						reg = <0x3>;

						endpoint {
							remote-endpoint = <0x1a>;
							phandle = <0x4d>;
							linux,phandle = <0x4d>;
						};
					};

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x18>;
							phandle = <0x45>;
							linux,phandle = <0x45>;
						};
					};

					port@4 {
						reg = <0x4>;

						endpoint {
							remote-endpoint = <0x1c>;
							phandle = <0x60>;
							linux,phandle = <0x60>;
						};
					};

					port@2 {
						reg = <0x2>;

						endpoint {
							remote-endpoint = <0x19>;
							phandle = <0x49>;
							linux,phandle = <0x49>;
						};
					};

					display-timings {
						native-mode = <0x61>;

						am1280800n3tz {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x3c>;
							hfront-porch = <0x32>;
							vfront-porch = <0x5>;
							pixelclk-active = <0x0>;
							vsync-len = <0xd>;
							de-active = <0x1>;
							vactive = <0x320>;
							phandle = <0x61>;
							hback-porch = <0x32>;
							clock-frequency = <0x43b5fc0>;
							hactive = <0x500>;
							vback-porch = <0x5>;
						};

						am1024600l {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0x140>;
							vfront-porch = <0x23>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x258>;
							hback-porch = <0x0>;
							clock-frequency = <0x30d4000>;
							hactive = <0x400>;
							vback-porch = <0x0>;
						};

						ph800480t013 {
							hsync-active = <0x0>;
							vsync-active = <0x0>;
							hsync-len = <0x1>;
							hfront-porch = <0xd2>;
							vfront-porch = <0x16>;
							pixelclk-active = <0x0>;
							vsync-len = <0x1>;
							de-active = <0x1>;
							vactive = <0x1e0>;
							phandle = <0x1b>;
							hback-porch = <0x2e>;
							clock-frequency = <0x1fc1e20>;
							hactive = <0x320>;
							vback-porch = <0x17>;
							linux,phandle = <0x1b>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x17>;
							phandle = <0x41>;
							linux,phandle = <0x41>;
						};
					};
				};

				lvds-channel@1 {
					status = "disabled";
					#address-cells = <0x1>;
					#size-cells = <0x0>;
					reg = <0x1>;

					port@3 {
						reg = <0x3>;

						endpoint {
							remote-endpoint = <0x20>;
							phandle = <0x4e>;
							linux,phandle = <0x4e>;
						};
					};

					port@1 {
						reg = <0x1>;

						endpoint {
							remote-endpoint = <0x1e>;
							phandle = <0x46>;
							linux,phandle = <0x46>;
						};
					};

					port@2 {
						reg = <0x2>;

						endpoint {
							remote-endpoint = <0x1f>;
							phandle = <0x4a>;
							linux,phandle = <0x4a>;
						};
					};

					port@0 {
						reg = <0x0>;

						endpoint {
							remote-endpoint = <0x1d>;
							phandle = <0x42>;
							linux,phandle = <0x42>;
						};
					};
				};
			};

			flexcan@02090000 {
				compatible = "fsl,imx6q-flexcan";
				clocks = <0x2 0x6c 0x2 0x6d>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x6e 0x4>;
				reg = <0x2090000 0x4000>;
				pinctrl-0 = <0xf>;
				xceiver-supply = <0x10>;
				pinctrl-names = "default";
			};

			gpt@02098000 {
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
				clocks = <0x2 0x77 0x2 0x78 0x2 0xed>;
				clock-names = "ipg", "per", "osc_per";
				interrupts = <0x0 0x37 0x4>;
				reg = <0x2098000 0x4000>;
			};

			usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
				clocks = <0x2 0xb6>;
				interrupts = <0x0 0x2c 0x4>;
				phandle = <0x21>;
				fsl,anatop = <0x12>;
				reg = <0x20c9000 0x1000>;
				linux,phandle = <0x21>;
			};

			iomuxc@020e0000 {
				compatible = "fsl,imx6q-iomuxc";
				phandle = <0x11>;
				reg = <0x20e0000 0x4000>;
				linux,phandle = <0x11>;
				pinctrl-names = "default";

				imx6qp-ek360 {

					touchscreengrp {
						fsl,pins = <0x33c 0x724 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x34>;
						linux,phandle = <0x34>;
					};

					usdhc4grp {
						fsl,pins = <0x2f4 0x6dc 0x0 0x0 0x0 0x17059 0x2f8 0x6e0 0x0 0x0 0x0 0x10059 0x31c 0x704 0x0 0x1 0x0 0x17059 0x320 0x708 0x0 0x1 0x0 0x17059 0x324 0x70c 0x0 0x1 0x0 0x17059 0x328 0x710 0x0 0x1 0x0 0x17059 0x32c 0x714 0x0 0x1 0x0 0x17059 0x330 0x718 0x0 0x1 0x0 0x17059 0x334 0x71c 0x0 0x1 0x0 0x17059 0x338 0x720 0x0 0x1 0x0 0x17059>;
						phandle = <0x31>;
						linux,phandle = <0x31>;
					};

					uart1grp {
						fsl,pins = <0x280 0x650 0x0 0x3 0x0 0x1b0b1 0x284 0x654 0x920 0x3 0x1 0x1b0b1>;
						phandle = <0xc>;
						linux,phandle = <0xc>;
					};

					usbh1vccgrp {
						fsl,pins = <0xd0 0x3e4 0x0 0x5 0x0 0x1b0b0>;
						phandle = <0x29>;
						linux,phandle = <0x29>;
					};

					i2c2grp {
						fsl,pins = <0x214 0x5e4 0x8a4 0x4 0x1 0x4001b8b1 0x210 0x5e0 0x8a0 0x4 0x1 0x4001b8b1>;
						phandle = <0x36>;
						linux,phandle = <0x36>;
					};

					ledgrp {
						fsl,pins = <0x1b4 0x4c8 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x59>;
						linux,phandle = <0x59>;
					};

					enetgrp {
						fsl,pins = <0x84 0x398 0x844 0x1 0x0 0x1b0b0 0x70 0x384 0x848 0x1 0x0 0x1b0b0 0x78 0x38c 0x84c 0x1 0x0 0x1b0b0 0x7c 0x390 0x850 0x1 0x0 0x1b0b0 0x80 0x394 0x854 0x1 0x0 0x1b0b0 0x6c 0x380 0x858 0x1 0x0 0x1b0b0 0x58 0x36c 0x0 0x1 0x0 0x1b0b0 0x5c 0x370 0x0 0x1 0x0 0x1b0b0 0x60 0x374 0x0 0x1 0x0 0x1b0b0 0x64 0x378 0x0 0x1 0x0 0x1b0b0 0x68 0x37c 0x0 0x1 0x0 0x1b0b0 0x74 0x388 0x0 0x1 0x0 0x1b0b0 0x1d4 0x4e8 0x0 0x1 0x0 0x1b0b0 0x1d0 0x4e4 0x840 0x1 0x0 0x1b0b0 0x1f4 0x508 0x0 0x1 0x0 0x1b0b0 0xac 0x3c0 0x0 0x5 0x0 0x80000000>;
						phandle = <0x2b>;
						linux,phandle = <0x2b>;
					};

					audmuxgrp {
						fsl,pins = <0x220 0x5f0 0x0 0x0 0x0 0x30b0 0x268 0x638 0x0 0x4 0x0 0x130b0 0x26c 0x63c 0x0 0x4 0x0 0x110b0 0x270 0x640 0x0 0x4 0x0 0x130b0 0x274 0x644 0x0 0x4 0x0 0x130b0>;
						phandle = <0x38>;
						linux,phandle = <0x38>;
					};

					uart3grp {
						fsl,pins = <0xb4 0x3c8 0x0 0x2 0x0 0x1b0b1 0xb8 0x3cc 0x930 0x2 0x1 0x1b0b1>;
						phandle = <0x3e>;
						linux,phandle = <0x3e>;
					};

					usdhc3grp {
						fsl,pins = <0x2b8 0x6a0 0x0 0x0 0x0 0x17059 0x2bc 0x6a4 0x0 0x0 0x0 0x10059 0x2c0 0x6a8 0x0 0x0 0x0 0x17059 0x2c4 0x6ac 0x0 0x0 0x0 0x17059 0x2c8 0x6b0 0x0 0x0 0x0 0x17059 0x2cc 0x6b4 0x0 0x0 0x0 0x17059 0x2fc 0x6e4 0x0 0x5 0x0 0x1f071 0x300 0x6e8 0x0 0x5 0x0 0x1f071>;
						phandle = <0x2f>;
						linux,phandle = <0x2f>;
					};

					usbotgvccgrp {
						fsl,pins = <0xa8 0x3bc 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x25>;
						linux,phandle = <0x25>;
					};

					usbh1grp {
						fsl,pins = <0xcc 0x3e0 0x948 0x6 0x0 0x1b0b0>;
						phandle = <0x28>;
						linux,phandle = <0x28>;
					};

					flexcan1grp {
						fsl,pins = <0x240 0x610 0x0 0x3 0x0 0x1b0b0 0x244 0x614 0x7e4 0x3 0x1 0x1b0b0>;
						phandle = <0xf>;
						linux,phandle = <0xf>;
					};

					i2c1grp {
						fsl,pins = <0x278 0x648 0x89c 0x4 0x1 0x4001b8b1 0x27c 0x64c 0x898 0x4 0x1 0x4001b8b1>;
						phandle = <0x32>;
						linux,phandle = <0x32>;
					};

					usbotggrp {
						fsl,pins = <0x224 0x5f4 0x4 0x3 0xff0d0101 0x17059 0xa4 0x3b8 0x944 0x4 0x0 0x1b0b0>;
						phandle = <0x24>;
						linux,phandle = <0x24>;
					};

					dispgrp {
						fsl,pins = <0x350 0x738 0x0 0x5 0x0 0x1b0b1 0x34c 0x734 0x0 0x5 0x0 0x1b0b1>;
					};

					uart2grp {
						fsl,pins = <0xbc 0x3d0 0x0 0x4 0x0 0x1b0b1 0xc0 0x3d4 0x928 0x4 0x1 0x1b0b1 0x98 0x3ac 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x3d>;
						linux,phandle = <0x3d>;
					};

					usdhc2grp {
						fsl,pins = <0x358 0x740 0x0 0x0 0x0 0x17059 0x354 0x73c 0x0 0x0 0x0 0x10059 0x54 0x368 0x0 0x0 0x0 0x17059 0x4c 0x360 0x0 0x0 0x0 0x17059 0x50 0x364 0x0 0x0 0x0 0x17059 0x35c 0x744 0x0 0x0 0x0 0x17059 0x308 0x6f0 0x0 0x5 0x0 0x1b0b1>;
						phandle = <0x2d>;
						linux,phandle = <0x2d>;
					};

					i2c3grp {
						fsl,pins = <0x230 0x600 0x8ac 0x2 0x1 0x4001b8b1 0x22c 0x5fc 0x8a8 0x2 0x1 0x4001b8b1>;
						phandle = <0x37>;
						linux,phandle = <0x37>;
					};

					pwm1grp {
						fsl,pins = <0x344 0x72c 0x0 0x3 0x0 0x1b0b1>;
						phandle = <0x5b>;
						linux,phandle = <0x5b>;
					};
				};
			};

			gpio@020a0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0xbf 0x10 0x11 0x10 0x37 0xe 0x11 0x1e 0x23 0x1 0x11 0x1f 0x2c 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x44 0x4 0x0 0x45 0x4>;
				phandle = <0x30>;
				reg = <0x20a0000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x30>;
				interrupt-controller;
			};

			iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				phandle = <0x4>;
				reg = <0x20e0000 0x38>;
				linux,phandle = <0x4>;
			};

			pwm@02080000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x91>;
				clock-names = "ipg", "per";
				status = "okay";
				interrupts = <0x0 0x53 0x4>;
				phandle = <0x5c>;
				reg = <0x2080000 0x4000>;
				linux,phandle = <0x5c>;
				#pwm-cells = <0x2>;
			};

			spba-bus@02000000 {
				compatible = "fsl,spba-bus", "simple-bus";
				ranges;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x2000000 0x40000>;

				spba@0203c000 {
					reg = <0x203c000 0x4000>;
				};

				ssi@02030000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb4 0x2 0x9f>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x30 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2030000 0x4000>;
					dmas = <0xb 0x2d 0x1 0x0 0xb 0x2e 0x1 0x0>;
				};

				ssi@02028000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb2 0x2 0x9d>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "okay";
					interrupts = <0x0 0x2e 0x4>;
					dma-names = "rx", "tx";
					phandle = <0x5d>;
					reg = <0x2028000 0x4000>;
					dmas = <0xb 0x25 0x1 0x0 0xb 0x26 0x1 0x0>;
					linux,phandle = <0x5d>;
				};

				asrc@02034000 {
					compatible = "fsl,imx53-asrc";
					clocks = <0x2 0xd2 0x2 0xd3 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x0 0x2 0x6b 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "mem", "ipg", "asrck_0", "asrck_1", "asrck_2", "asrck_3", "asrck_4", "asrck_5", "asrck_6", "asrck_7", "asrck_8", "asrck_9", "asrck_a", "asrck_b", "asrck_c", "asrck_d", "asrck_e", "asrck_f", "spba";
					fsl,asrc-rate = <0xbb80>;
					fsl,asrc-width = <0x10>;
					status = "okay";
					interrupts = <0x0 0x32 0x4>;
					dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc";
					reg = <0x2034000 0x4000>;
					dmas = <0xb 0x11 0x17 0x1 0xb 0x12 0x17 0x1 0xb 0x13 0x17 0x1 0xb 0x14 0x17 0x1 0xb 0x15 0x17 0x1 0xb 0x16 0x17 0x1>;
				};

				esai@02024000 {
					compatible = "fsl,imx35-esai";
					clocks = <0x2 0xd0 0x2 0xd1 0x2 0x76 0x2 0xd0 0x2 0x9c>;
					#sound-dai-cells = <0x0>;
					clock-names = "core", "mem", "extal", "fsys", "spba";
					status = "disabled";
					interrupts = <0x0 0x33 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2024000 0x4000>;
					dmas = <0xb 0x17 0x15 0x0 0xb 0x18 0x15 0x0>;
				};

				ecspi@02010000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x72 0x2 0x72>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x21 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2010000 0x4000>;
					dmas = <0xb 0x7 0x8 0x1 0xb 0x8 0x8 0x2>;
				};

				ecspi@02008000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x70 0x2 0x70>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x1f 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2008000 0x4000>;
					dmas = <0xb 0x3 0x8 0x1 0xb 0x4 0x8 0x2>;
				};

				ecspi@02018000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x74 0x2 0x74>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x23 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2018000 0x4000>;
					dmas = <0xb 0xb 0x7 0x1 0xb 0xc 0x7 0x2>;
				};

				serial@02020000 {
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					clocks = <0x2 0xa0 0x2 0xa1>;
					clock-names = "ipg", "per";
					status = "okay";
					interrupts = <0x0 0x1a 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2020000 0x4000>;
					pinctrl-0 = <0xc>;
					dmas = <0xb 0x19 0x4 0x0 0xb 0x1a 0x4 0x0>;
					pinctrl-names = "default";
				};

				ssi@0202c000 {
					fsl,fifo-depth = <0xf>;
					compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
					clocks = <0x2 0xb3 0x2 0x9e>;
					#sound-dai-cells = <0x0>;
					clock-names = "ipg", "baud";
					status = "disabled";
					interrupts = <0x0 0x2f 0x4>;
					dma-names = "rx", "tx";
					reg = <0x202c000 0x4000>;
					dmas = <0xb 0x29 0x1 0x0 0xb 0x2a 0x1 0x0>;
				};

				ecspi@0200c000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x71 0x2 0x71>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x20 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x200c000 0x4000>;
					dmas = <0xb 0x5 0x8 0x1 0xb 0x6 0x8 0x2>;
				};

				spdif@02004000 {
					compatible = "fsl,imx35-spdif";
					clocks = <0x2 0xf4 0x2 0x3 0x2 0xc5 0x2 0x6b 0x2 0x0 0x2 0x76 0x2 0x3e 0x2 0x0 0x2 0x0 0x2 0x9c>;
					clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", "rxtx5", "rxtx6", "rxtx7", "spba";
					status = "disabled";
					interrupts = <0x0 0x34 0x4>;
					dma-names = "rx", "tx";
					reg = <0x2004000 0x4000>;
					dmas = <0xb 0xe 0x12 0x0 0xb 0xf 0x12 0x0>;
				};

				ecspi@02014000 {
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					clocks = <0x2 0x73 0x2 0x73>;
					clock-names = "ipg", "per";
					status = "disabled";
					#address-cells = <0x1>;
					interrupts = <0x0 0x22 0x4>;
					#size-cells = <0x0>;
					dma-names = "rx", "tx";
					reg = <0x2014000 0x4000>;
					dmas = <0xb 0x9 0x8 0x1 0xb 0xa 0x8 0x2>;
				};
			};

			sdma@020ec000 {
				#dma-cells = <0x3>;
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				clocks = <0x2 0x9b 0x2 0x9b>;
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
				clock-names = "ipg", "ahb";
				interrupts = <0x0 0x2 0x4>;
				phandle = <0xb>;
				reg = <0x20ec000 0x4000>;
				linux,phandle = <0xb>;
			};

			wdog@020c0000 {
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				clocks = <0x2 0x0>;
				status = "disabled";
				interrupts = <0x0 0x51 0x4>;
				reg = <0x20c0000 0x4000>;
			};

			kpp@020b8000 {
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
				clocks = <0x2 0x3e>;
				status = "disabled";
				interrupts = <0x0 0x52 0x4>;
				reg = <0x20b8000 0x4000>;
			};

			dcic@020e8000 {
				interrupts = <0x0 0x7d 0x4>;
				reg = <0x20e8000 0x4000>;
			};

			gpio@020b0000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0xa4 0x6 0x11 0x6 0x36 0x1 0x11 0x7 0xb5 0x5 0x11 0xe 0xba 0x3 0x11 0x11 0xaa 0x2 0x11 0x13 0x16 0xc 0x11 0x1f 0x56 0x1>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x4c 0x4 0x0 0x4d 0x4>;
				reg = <0x20b0000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			gpio@020a8000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x5 0x95 0x1 0x11 0x6 0x7e 0xa 0x11 0x10 0x57 0x10>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x48 0x4 0x0 0x49 0x4>;
				reg = <0x20a8000 0x4000>;
				#gpio-cells = <0x2>;
				interrupt-controller;
			};

			snvs@020cc000 {
				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
				phandle = <0x14>;
				reg = <0x20cc000 0x4000>;
				linux,phandle = <0x14>;

				snvs-poweroff {
					compatible = "syscon-poweroff";
					mask = <0x60>;
					offset = <0x38>;
					status = "disabled";
					regmap = <0x14>;
				};

				snvs-rtc-lp {
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
					offset = <0x34>;
					interrupts = <0x0 0x13 0x4 0x0 0x14 0x4>;
					regmap = <0x14>;
				};
			};

			pwm@02088000 {
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
				clocks = <0x2 0x3e 0x2 0x93>;
				clock-names = "ipg", "per";
				status = "disabled";
				interrupts = <0x0 0x55 0x4>;
				reg = <0x2088000 0x4000>;
				#pwm-cells = <0x2>;
			};

			tempmon {
				compatible = "fsl,imx6q-tempmon";
				clocks = <0x2 0xac>;
				interrupts = <0x0 0x31 0x4>;
				fsl,tempmon = <0x12>;
				fsl,tempmon-data = <0x13>;
			};

			src@020d8000 {
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
				#reset-cells = <0x1>;
				interrupts = <0x0 0x5b 0x4 0x0 0x60 0x4>;
				phandle = <0xd>;
				reg = <0x20d8000 0x4000>;
				linux,phandle = <0xd>;
			};

			gpio@0209c000 {
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
				gpio-controller;
				gpio-ranges = <0x11 0x0 0x88 0x2 0x11 0x2 0x8d 0x1 0x11 0x3 0x8b 0x1 0x11 0x4 0x8e 0x2 0x11 0x6 0x8c 0x1 0x11 0x7 0x90 0x2 0x11 0x9 0x8a 0x1 0x11 0xa 0xd5 0x3 0x11 0xd 0x14 0x1 0x11 0xe 0x13 0x1 0x11 0xf 0x15 0x1 0x11 0x10 0xd0 0x1 0x11 0x11 0xcf 0x1 0x11 0x12 0xd2 0x3 0x11 0x15 0xd1 0x1 0x11 0x16 0x74 0xa>;
				#interrupt-cells = <0x2>;
				interrupts = <0x0 0x42 0x4 0x0 0x43 0x4>;
				phandle = <0x35>;
				reg = <0x209c000 0x4000>;
				#gpio-cells = <0x2>;
				linux,phandle = <0x35>;
				interrupt-controller;
			};

			epit@020d4000 {
				interrupts = <0x0 0x39 0x4>;
				reg = <0x20d4000 0x4000>;
			};
		};

		interrupt-controller@00a01000 {
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <0x3>;
			interrupt-parent = <0xa>;
			phandle = <0xa>;
			reg = <0xa01000 0x1000 0xa00100 0x100>;
			linux,phandle = <0xa>;
			interrupt-controller;
		};

		gpu@00134000 {
			power-domains = <0x1 0x1>;
			compatible = "vivante,gc";
			clocks = <0x2 0x1a 0x2 0x79>;
			clock-names = "bus", "core";
			interrupts = <0x0 0xa 0x4>;
			phandle = <0x56>;
			reg = <0x134000 0x4000>;
			linux,phandle = <0x56>;
		};

		pmu {
			compatible = "arm,cortex-a9-pmu";
			interrupts = <0x0 0x5e 0x4>;
		};

		hdmi@0120000 {
			compatible = "fsl,imx6q-hdmi";
			clocks = <0x2 0x7b 0x2 0x7c>;
			clock-names = "iahb", "isfr";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0x73 0x4>;
			#size-cells = <0x0>;
			reg = <0x120000 0x9000>;
			ddc-i2c-bus = <0x5>;
			gpr = <0x4>;

			port@3 {
				reg = <0x3>;

				endpoint {
					remote-endpoint = <0x9>;
					phandle = <0x4b>;
					linux,phandle = <0x4b>;
				};
			};

			port@1 {
				reg = <0x1>;

				endpoint {
					remote-endpoint = <0x7>;
					phandle = <0x43>;
					linux,phandle = <0x43>;
				};
			};

			port@2 {
				reg = <0x2>;

				endpoint {
					remote-endpoint = <0x8>;
					phandle = <0x47>;
					linux,phandle = <0x47>;
				};
			};

			port@0 {
				reg = <0x0>;

				endpoint {
					remote-endpoint = <0x6>;
					phandle = <0x3f>;
					linux,phandle = <0x3f>;
				};
			};
		};

		gpmi-nand@00112000 {
			compatible = "fsl,imx6q-gpmi-nand";
			clocks = <0x2 0x98 0x2 0x99 0x2 0x97 0x2 0x96 0x2 0x95>;
			reg-names = "gpmi-nand", "bch";
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch", "gpmi_bch_apb", "per1_bch";
			status = "disabled";
			#address-cells = <0x1>;
			interrupts = <0x0 0xf 0x4>;
			#size-cells = <0x1>;
			dma-names = "rx-tx";
			reg = <0x112000 0x2000 0x114000 0x2000>;
			dmas = <0x3 0x0>;
			interrupt-names = "bch";
		};

		l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			cache-level = <0x2>;
			arm,shared-override;
			cache-unified;
			arm,data-latency = <0x4 0x2 0x3>;
			interrupts = <0x0 0x5c 0x4>;
			phandle = <0x4f>;
			reg = <0xa02000 0x1000>;
			linux,phandle = <0x4f>;
			arm,tag-latency = <0x4 0x2 0x3>;
		};

		ipu@02400000 {
			compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
			clocks = <0x2 0x82 0x2 0x83 0x2 0x84 0x2 0x27 0x2 0x28 0x2 0x4d 0x2 0x4e 0x2 0x100>;
			resets = <0xd 0x2>;
			clock-names = "bus", "di0", "di1", "di0_sel", "di1_sel", "ldb_di0", "ldb_di1", "prg";
			#address-cells = <0x1>;
			interrupts = <0x0 0x6 0x4 0x0 0x5 0x4>;
			#size-cells = <0x0>;
			reg = <0x2400000 0x400000>;

			port@3 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x53>;
				reg = <0x3>;
				linux,phandle = <0x53>;

				lvds1-endpoint {
					remote-endpoint = <0x46>;
					phandle = <0x1e>;
					linux,phandle = <0x1e>;
				};

				mipi-endpoint {
					remote-endpoint = <0x44>;
					phandle = <0x3a>;
					linux,phandle = <0x3a>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x43>;
					phandle = <0x7>;
					linux,phandle = <0x7>;
				};

				disp1-endpoint {
				};

				lvds0-endpoint {
					remote-endpoint = <0x45>;
					phandle = <0x18>;
					linux,phandle = <0x18>;
				};
			};

			port@1 {
				reg = <0x1>;
			};

			port@2 {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				phandle = <0x52>;
				reg = <0x2>;
				linux,phandle = <0x52>;

				lvds1-endpoint {
					remote-endpoint = <0x42>;
					phandle = <0x1d>;
					linux,phandle = <0x1d>;
				};

				disp0-endpoint {
				};

				mipi-endpoint {
					remote-endpoint = <0x40>;
					phandle = <0x39>;
					linux,phandle = <0x39>;
				};

				hdmi-endpoint {
					remote-endpoint = <0x3f>;
					phandle = <0x6>;
					linux,phandle = <0x6>;
				};

				lvds0-endpoint {
					remote-endpoint = <0x41>;
					phandle = <0x17>;
					linux,phandle = <0x17>;
				};
			};

			port@0 {
				reg = <0x0>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";
		status = "okay";
		pinctrl-0 = <0x59>;
		pinctrl-names = "default";

		led0 {
			gpios = <0x5a 0xb 0x1>;
			label = "led";
			default-state = "off";
		};
	};

	aliases {
		gpio2 = "/soc/aips-bus@02000000/gpio@020a4000";
		spi2 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000";
		i2c1 = "/soc/aips-bus@02100000/i2c@021a4000";
		mmc3 = "/soc/aips-bus@02100000/usdhc@0219c000";
		gpio0 = "/soc/aips-bus@02000000/gpio@0209c000";
		spi0 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02008000";
		mmc1 = "/soc/aips-bus@02100000/usdhc@02194000";
		ethernet0 = "/soc/aips-bus@02100000/ethernet@02188000";
		pwm3 = "/soc/aips-bus@02000000/pwm@0208c000";
		serial3 = "/soc/aips-bus@02100000/serial@021f0000";
		usbphy1 = "/soc/aips-bus@02000000/usbphy@020ca000";
		ipu1 = "/soc/ipu@02800000";
		gpio5 = "/soc/aips-bus@02000000/gpio@020b0000";
		pwm1 = "/soc/aips-bus@02000000/pwm@02084000";
		serial1 = "/soc/aips-bus@02100000/serial@021e8000";
		gpio3 = "/soc/aips-bus@02000000/gpio@020a8000";
		can0 = "/soc/aips-bus@02000000/flexcan@02090000";
		spi3 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000";
		i2c2 = "/soc/aips-bus@02100000/i2c@021a8000";
		gpio1 = "/soc/aips-bus@02000000/gpio@020a0000";
		spi1 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@0200c000";
		i2c0 = "/soc/aips-bus@02100000/i2c@021a0000";
		mmc2 = "/soc/aips-bus@02100000/usdhc@02198000";
		mmc0 = "/soc/aips-bus@02100000/usdhc@02190000";
		serial4 = "/soc/aips-bus@02100000/serial@021f4000";
		gpio6 = "/soc/aips-bus@02000000/gpio@020b4000";
		pwm2 = "/soc/aips-bus@02000000/pwm@02088000";
		serial2 = "/soc/aips-bus@02100000/serial@021ec000";
		usbphy0 = "/soc/aips-bus@02000000/usbphy@020c9000";
		ipu0 = "/soc/ipu@02400000";
		gpio4 = "/soc/aips-bus@02000000/gpio@020ac000";
		pwm0 = "/soc/aips-bus@02000000/pwm@02080000";
		can1 = "/soc/aips-bus@02000000/flexcan@02094000";
		spi4 = "/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02018000";
		serial0 = "/soc/aips-bus@02000000/spba-bus@02000000/serial@02020000";
	};

	chosen {
		bootargs = "console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0  imxdrm.legacyfb_depth=32 ";
		linux,stdout-path = "/soc/aips-bus@02100000/serial@021ec000";
	};

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

		regulator@3 {
			compatible = "regulator-fixed";
			phandle = <0x2a>;
			regulator-min-microvolt = <0x325aa0>;
			reg = <0x3>;
			regulator-max-microvolt = <0x325aa0>;
			regulator-always-on;
			regulator-name = "3P3V";
			linux,phandle = <0x2a>;
		};

		regulator@1 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x16e360>;
			reg = <0x1>;
			regulator-max-microvolt = <0x16e360>;
			regulator-always-on;
			regulator-name = "1P5V";
		};

		regulator@6 {
			compatible = "regulator-fixed";
			enable-active-high;
			gpio = <0x30 0x3 0x0>;
			phandle = <0x2e>;
			regulator-min-microvolt = <0x1f78a40>;
			reg = <0x6>;
			regulator-max-microvolt = <0x1f78a40>;
			regulator-always-on;
			regulator-name = "sdio_en";
			linux,phandle = <0x2e>;
		};

		regulator@4 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x2c 0x16 0x1>;
			phandle = <0x23>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x4>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-name = "usb_otg_vbus";
			linux,phandle = <0x23>;
		};

		regulator@2 {
			compatible = "regulator-fixed";
			regulator-min-microvolt = <0x2625a0>;
			reg = <0x2>;
			regulator-max-microvolt = <0x2625a0>;
			regulator-always-on;
			regulator-name = "2P5V";
		};

		regulator@0 {
			compatible = "regulator-fixed";
			phandle = <0x33>;
			regulator-min-microvolt = <0x124f80>;
			reg = <0x0>;
			regulator-max-microvolt = <0x124f80>;
			regulator-always-on;
			regulator-name = "1P2V";
			linux,phandle = <0x33>;
		};

		regulator@7 {
			compatible = "regulator-fixed";
			phandle = <0x10>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x7>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "5P0V";
			linux,phandle = <0x10>;
		};

		regulator@5 {
			compatible = "regulator-fixed";
			enable-active-low;
			gpio = <0x2c 0x1f 0x1>;
			phandle = <0x27>;
			regulator-min-microvolt = <0x4c4b40>;
			reg = <0x5>;
			regulator-max-microvolt = <0x4c4b40>;
			regulator-always-on;
			regulator-name = "usb_h1_vbus";
			linux,phandle = <0x27>;
		};
	};

	sound {
		compatible = "fsl,imx-audio-sgtl5000";
		ssi-controller = <0x5d>;
		model = "imx6-ek360-sgtl5000";
		micbias-voltage-m-volts = <0xbb8>;
		mux-int-port = <0x1>;
		status = "okay";
		mux-ext-port = <0x3>;
		micbias-resistor-k-ohms = <0x2>;
		audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT";
		audio-codec = <0x5e>;
	};

	memory {
		device_type = "memory";
		reg = <0x10000000 0x40000000>;
	};

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

		cpu@3 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <0x4f>;
			reg = <0x3>;
		};

		cpu@1 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <0x4f>;
			reg = <0x1>;
		};

		cpu@2 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <0x4f>;
			reg = <0x2>;
		};

		cpu@0 {
			compatible = "arm,cortex-a9";
			clocks = <0x2 0x68 0x2 0x6 0x2 0x10 0x2 0x11 0x2 0xaa>;
			device_type = "cpu";
			soc-supply = <0x51>;
			arm-supply = <0x50>;
			clock-names = "arm", "pll2_pfd2_396m", "step", "pll1_sw", "pll1_sys";
			fsl,soc-operating-points = <0x124f80 0x137478 0xf32a0 0x1312d0 0xd0020 0x1312d0 0xc15c0 0x11edd8 0x60ae0 0x11edd8>;
			next-level-cache = <0x4f>;
			reg = <0x0>;
			operating-points = <0x124f80 0x137478 0xf32a0 0x1312d0 0xd0020 0x1312d0 0xc15c0 0x11edd8 0x60ae0 0xee098>;
			pu-supply = <0x15>;
			clock-latency = <0xee6c>;
		};
	};

	backlight {
		compatible = "pwm-backlight";
		default-brightness-level = <0x6>;
		brightness-levels = <0x0 0x4 0x8 0x10 0x20 0x40 0x80 0xff>;
		status = "okay";
		phandle = <0x5f>;
		pinctrl-0 = <0x5b>;
		pwms = <0x5c 0x0 0x65b9aa>;
		linux,phandle = <0x5f>;
		power-supply = <0x2a>;
		pinctrl-names = "default";
	};

	panel {
		compatible = "innolux,g101ice-l01", "panel-lvds";
		width-mm = <0xd9>;
		height-mm = <0x88>;
		status = "okay";
		phandle = <0x16>;
		linux,phandle = <0x16>;
		backlight = <0x5f>;
		data-mapping = "jeida-24";

		panel-timing {
			hsync-active = <0x0>;
			vsync-active = <0x0>;
			hsync-len = <0x3c>;
			hfront-porch = <0x32>;
			vfront-porch = <0x5>;
			pixelclk-active = <0x0>;
			vsync-len = <0xd>;
			de-active = <0x1>;
			vactive = <0x320>;
			hback-porch = <0x32>;
			clock-frequency = <0x43b5fc0>;
			hactive = <0x500>;
			vback-porch = <0x5>;
		};

		port {

			endpoint {
				remote-endpoint = <0x60>;
				phandle = <0x1c>;
				linux,phandle = <0x1c>;
			};
		};
	};
};

[-- Attachment #6: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-28 16:55                         ` gianluca
@ 2017-06-29  8:37                           ` Lucas Stach
  2017-06-29 10:07                             ` gianluca
  0 siblings, 1 reply; 17+ messages in thread
From: Lucas Stach @ 2017-06-29  8:37 UTC (permalink / raw)
  To: gianluca; +Cc: barebox

Am Mittwoch, den 28.06.2017, 18:55 +0200 schrieb gianluca:
> On 06/26/2017 03:28 PM, gianluca wrote:
> >>
> >> Your kernel is too old. Full support for the QuadPlus is a really
> >> recent addition. Either update your kernel to 4.12-rc, or add
> >> "clk_ignore_unused" to get at least basic functionality working.
> >>
> >
> >
> > Now I am compiling the 4.12-rc7. Hope this helps.
> >
> > I will keep you informed about that...
> >
> 
> 
> Now I am using the kernel 4.12-rc7 as the time of this writing.

And now your devicetree is too old, it's missing the PRE/PRG nodes on
imx6qp.

Regards,
Lucas


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/
  2017-06-29  8:37                           ` Lucas Stach
@ 2017-06-29 10:07                             ` gianluca
  0 siblings, 0 replies; 17+ messages in thread
From: gianluca @ 2017-06-29 10:07 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On 06/29/2017 10:37 AM, Lucas Stach wrote:
> Am Mittwoch, den 28.06.2017, 18:55 +0200 schrieb gianluca:
>> On 06/26/2017 03:28 PM, gianluca wrote:
>>>>
>>>> Your kernel is too old. Full support for the QuadPlus is a really
>>>> recent addition. Either update your kernel to 4.12-rc, or add
>>>> "clk_ignore_unused" to get at least basic functionality working.
>>>>
>>>
>>>
>>> Now I am compiling the 4.12-rc7. Hope this helps.
>>>
>>> I will keep you informed about that...
>>>
>>
>>
>> Now I am using the kernel 4.12-rc7 as the time of this writing.
>
> And now your devicetree is too old, it's missing the PRE/PRG nodes on
> imx6qp.
>

Now, it works. After adding in the /soc node and in the ipu node the 
pre[x] and prg[x] stuff, it works.

Are those parameters defined in the device-tree present in the latest 
Barebox 2017.06.[whatever]?? If so, next step is use the latest Barebox...

Now the only issue is how to fix the volume/dac/pcm value in alsa...


> # amixer
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [2147483647%] [12.00dB] [on]
>   Front Right: Playback 63 [2147483647%] [-20.00dB] [on]
> Simple mixer control 'Headphone Mux',0
>   Capabilities: enum
>   Items: 'DAC' 'LINE_IN'
>   Item0: 'DAC'
> Simple mixer control 'Headphone Playback ZC',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 192
>   Mono:
>   Front Left: Playback 1 [2147483647%]
>   Front Right: Playback 0 [2147483647%]
> Simple mixer control 'Lineout',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 18 [2147483647%] [-6.50dB] [on]
>   Front Right: Playback 18 [2147483647%] [-6.50dB] [on]
> Simple mixer control 'Mic',0
>   Capabilities: volume volume-joined
>   Playback channels: Mono
>   Capture channels: Mono
>   Limits: 0 - 3
>   Mono: 0 [2147483647%] [0.00dB]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 15
>   Front Left: Capture 0 [2147483647%]
>   Front Right: Capture 0 [2147483647%]
> Simple mixer control 'Capture Attenuate Switch (-6dB)',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'Capture Mux',0
>   Capabilities: enum
>   Items: 'MIC_IN' 'LINE_IN'
>   Item0: 'MIC_IN'
> Simple mixer control 'Capture ZC',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]

2147483647% looks like an max-int value 0x7FFFFFFF...

Regards,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-06-29 10:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <63687e34-f354-81d3-aed7-1a59866925c5@eurekelettronica.it>
2017-02-21 13:04 ` Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/ gianluca
2017-02-21 14:56   ` gianluca
2017-02-21 15:03   ` Lucas Stach
2017-02-21 17:59     ` gianluca
2017-06-19 15:49     ` gianluca
2017-06-21  6:32       ` Sascha Hauer
2017-06-21 11:35         ` gianluca
2017-06-21 11:50           ` Lucas Stach
2017-06-21 15:18             ` gianluca
2017-06-21 15:30               ` Lucas Stach
2017-06-23  9:45                 ` gianluca
2017-06-26  8:40                   ` gianluca
2017-06-26  8:46                     ` Lucas Stach
2017-06-26 13:28                       ` gianluca
2017-06-28 16:55                         ` gianluca
2017-06-29  8:37                           ` Lucas Stach
2017-06-29 10:07                             ` gianluca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox