Commit f39195a5 authored by Giuseppe Pagano's avatar Giuseppe Pagano
Browse files

B08: Improve platform support

parent 22fb30b7
......@@ -213,6 +213,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx6q-udoo-lvds7.dtb \
imx6q-udoo-lvds15.dtb \
imx6q-udoo-lvds7hdmi.dtb \
imx6sx-seco-b08-full-rgb7.dtb \
imx6sx-udoo-neo-basic.dtb \
imx6sx-udoo-neo-basic-hdmi.dtb \
imx6sx-udoo-neo-basic-hdmi-m4.dtb \
......
/*
* Author: Giuseppe Pagano <giuseppe.pagano@seco.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*
*/
/dts-v1/;
#include "imx6sx-seco-b08-rgb7.dtsi"
/ {
model = "SECO B08 FULL (based on iMX.6 SoloX) RGB 7'' Display";
compatible = "fsl,imx6sx-seco-b08", "fsl,imx6sx-sdb", "fsl,imx6sx";
};
/*
* Author: Giuseppe Pagano <giuseppe.pagano@seco.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*
*/
#include "imx6sx-seco-b08.dtsi"
/ {
backlight2 {
compatible = "pwm-backlight";
pwms = <&pwm6 0 5000000>;
brightness-levels = <0 4 8 16 32 64 128 200 255>;
default-brightness-level = <7>;
fb-names = "mxs-lcdif1";
default-on;
power-supply = <&reg_rgb_panel_on>;
enable-gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&pwm6 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm6>;
status = "okay";
};
&lcdif1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat_0
&pinctrl_rbg_lcd
&pinctrl_lcdif_ctrl_0>;
lcd-supply = <&vgen5_reg>;
display = <&display0>;
status = "okay";
display0: display {
bits-per-pixel = <32>;
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <38000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <56>;
hfront-porch = <50>;
vback-porch = <20>;
vfront-porch = <53>;
hsync-len = <180>;
vsync-len = <30>;
hsync-active = <0>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
};
&i2c1 {
touch_goodix: gt911@14 {
compatible = "goodix,gt911";
reg = <0x14>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gt911>;
interrupt-parent = <&gpio6>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
gpios = <&gpio6 5 GPIO_ACTIVE_LOW>;
interrupt-gpio = <164>;
reset-gpio = <165>;
ts-max-width = <800>;
ts-max-height = <480>;
ts-max-finger = <1>;
swap-xy;
invert-y;
};
};
......@@ -14,15 +14,12 @@
/ {
model = "SECO B08 (based on iMX.6 SoloX)";
compatible = "fsl,imx6sx-seco-b08", "fsl,imx6sx-sdb", "fsl,imx6sx";
memory {
linux,usable-memory = <0x80000000 0x3f800000>;
reg = <0x80000000 0x40000000>;
};
aliases {
mmc0 = &usdhc2;
mmc1 = &usdhc4;
// mmc0 = &usdhc2; // uSD as mmc0
// mmc1 = &usdhc4; // eMMC as mmc1
mmc0 = &usdhc4; // eMMC as mmc0
mmc1 = &usdhc2; // uSD as mmc1
mmc2 = &usdhc3;
};
......@@ -49,27 +46,27 @@
regulator-boot-on;
};
reg_usb_otg1_vbus: usb_otg1_vbus {
reg_usb_otg1_vbus_j2: usb_otg1_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg1_vbus";
regulator-name = "usb_otg1_vbus_j2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
enable-active-high;
gpio = <&gpio1 9 GPIO_ACTIVE_LOW>;
enable-active-low;
};
reg_usb_otg2_vbus: usb_otg2_vbus {
reg_usb_otg2_vbus_j3: usb_otg2_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg2_vbus";
regulator-name = "usb_otg2_vbus_j3";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
gpio = <&gpio4 22 GPIO_ACTIVE_LOW>;
enable-active-low;
};
reg_usb_otg3_vbus: usb_otg3_vbus {
reg_usb_hub_port3_vbus_j5: usb_otg3_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg3_vbus";
regulator-name = "usb_hub_port3_vbus_j5";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
......@@ -77,20 +74,20 @@
regulator-boot-on;
};
reg_usb_otg4_vbus: usb_otg4_vbus {
reg_usb_hub_port4_vbus_j4: usb_otg4_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg4_vbus";
regulator-name = "usb_hub_port4_vbus_j4";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio4 9 1>;
gpio = <&gpio4 9 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
reg_lcd_panel_on: lcd_pon {
reg_rgb_panel_on: rgb_pon {
compatible = "regulator-fixed";
regulator-name = "LCD PANEL_ON";
gpio = <&gpio4 18 GPIO_ACTIVE_HIGH>;
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
......@@ -129,24 +126,9 @@
};
backlight_lcd {
compatible = "gpio-backlight";
gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
default-on;
status = "okay";
};
// sii902x_reset: gpio-reset {
// compatible = "gpio-reset";
// reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
// reset-delay-us = <10000>;
// initially-in-reset;
// #reset-cells = <0>;
// };
emmc_reset: gpio-reset {
compatible = "gpio-reset";
gpios = "eMMC RESET_N";
gpios = "eMMC_RESET_N";
gpio = <&gpio6 22 GPIO_ACTIVE_HIGH>;
status = "okay";
};
......@@ -179,13 +161,14 @@
imx6x-seco-b08 {
pinctrl_hog: hoggrp {
fsl,pins = <
MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x80000000 // USB_VCC_SW_J3
MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x17059 // USB_VCC_SW_J3_OC
MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000 // USB_VCC_SW_J3 on REV B
MX6SX_PAD_NAND_DATA04__GPIO4_IO_8 0x80000000 // USB_VCC_SW_J5_hub_port1
MX6SX_PAD_NAND_DATA05__GPIO4_IO_9 0x80000000 // USB_VCC_SW_J4_hub_port2
MX6SX_PAD_KEY_COL1__GPIO2_IO_11 0x80000000 // HUB USB INT
MX6SX_PAD_KEY_COL3__GPIO2_IO_13 0x80000000 // HUB USB RESET
MX6SX_PAD_RGMII1_RD2__GPIO5_IO_2 0x80000000 // HUB USB RESET
MX6SX_PAD_QSPI1B_DATA3__GPIO4_IO_27 0x80000000 // ACC_GYRO_RESET
MX6SX_PAD_NAND_DATA06__GPIO4_IO_10 0x80000000 // INT1_FXOS8700CQ
MX6SX_PAD_NAND_DATA07__GPIO4_IO_11 0x80000000 // INT2_FXOS8700CQ
......@@ -198,28 +181,15 @@
MX6SX_PAD_SD1_CLK__GPIO6_IO_0 0x80000000 // LED
MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x80000000 // {{external-gpio-23}}
MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x80000000 // {{external-gpio-23}}
/* ENET2_COL / ENET2_CRS / KEY_ROW3 */
MX6SX_PAD_ENET2_COL__GPIO2_IO_6 0x80000000 // CFG0
MX6SX_PAD_ENET2_CRS__GPIO2_IO_7 0x80000000 // CFG1
/* MX6SX_PAD_KEY_ROW3__GPIO2_IO_18 0x80000000 // CFG2 */
>;
};
// MX6SX_PAD_RGMII2_RX_CTL__GPIO5_IO_16 0x8000E038
// MX6SX_PAD_ENET1_COL__GPIO2_IO_0 0x80000000
pinctrl_audmux: audmuxgrp {
fsl,pins = <
MX6SX_PAD_CSI_VSYNC__AUDMUX_AUD6_RXD 0x130b0 // {{external-gpio-24}}
MX6SX_PAD_CSI_HSYNC__AUDMUX_AUD6_TXD 0x120b0 // {{external-gpio-25}}
MX6SX_PAD_CSI_DATA00__AUDMUX_AUD6_TXC 0x130b0 // {{external-gpio-26}}
MX6SX_PAD_CSI_DATA01__AUDMUX_AUD6_TXFS 0x130b0 // {{external-gpio-27}}
>;
};
pinctrl_flexcan1: flexcan1grp {
fsl,pins = <
MX6SX_PAD_QSPI1B_DQS__CAN1_TX 0x80000000
MX6SX_PAD_QSPI1A_SS1_B__CAN1_RX 0x80000000
>;
};
pinctrl_flexcan2: flexcan2grp {
fsl,pins = <
......@@ -233,6 +203,8 @@
fsl,pins = <
MX6SX_PAD_GPIO1_IO04__UART1_TX 0x1b0b1
MX6SX_PAD_GPIO1_IO05__UART1_RX 0x1b0b1
MX6SX_PAD_GPIO1_IO06__GPIO1_IO_6 0x1b0b1
MX6SX_PAD_GPIO1_IO07__GPIO1_IO_7 0x1b0b1
>;
};
......@@ -243,6 +215,13 @@
>;
};
pinctrl_uart5: uart5grp-1 {
fsl,pins = <
MX6SX_PAD_KEY_COL3__UART5_TX 0x1b0b1
MX6SX_PAD_KEY_ROW3__UART5_RX 0x1b0b1
>;
};
pinctrl_uart6: uart6grp-1 {
fsl,pins = <
MX6SX_PAD_CSI_DATA07__UART6_CTS_B 0x1b0b1
......@@ -257,26 +236,19 @@
MX6SX_PAD_CSI_MCLK__OSC32K_32K_OUT 0x10059
MX6SX_PAD_SD3_DATA4__UART3_RX 0x13059
MX6SX_PAD_SD3_DATA5__UART3_TX 0x13059
MX6SX_PAD_SD3_DATA6__UART3_RTS_B 0x13059
MX6SX_PAD_SD3_DATA7__UART3_CTS_B 0x13059
MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059
MX6SX_PAD_SD3_DATA6__GPIO7_IO_8 0x15059
MX6SX_PAD_SD3_DATA7__GPIO7_IO_9 0x15059
>;
};
pinctrl_usbotg1_1: usbotg1grp-1 {
fsl,pins = <
MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x80000000 // USB_VCC_SW_J2
MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x17059 // USB_VCC_SW_J2_OC
MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059
>;
};
pinctrl_ecspi3_1: ecspi3grp-1 {
fsl,pins = <
MX6SX_PAD_QSPI1B_SCLK__ECSPI3_SCLK 0x100b1
MX6SX_PAD_QSPI1B_SS0_B__ECSPI3_SS0 0x100b1
MX6SX_PAD_QSPI1B_DATA0__ECSPI3_MOSI 0x100b1
MX6SX_PAD_QSPI1B_DATA1__ECSPI3_MISO 0x100b1
MX6SX_PAD_QSPI1B_SS0_B__GPIO4_IO_30 0x80000000
>;
};
......@@ -306,7 +278,6 @@
>;
};
// MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081
pinctrl_enet1_2: enet1grp-2 {
fsl,pins = <
MX6SX_PAD_RGMII1_RX_CTL__GPIO5_IO_4 0x80000000
......@@ -332,7 +303,6 @@
MX6SX_PAD_KEY_ROW0__GPIO2_IO_15 0x80000000
>;
};
// MX6SX_PAD_RGMII2_RX_CTL__GPIO5_IO_16 0x80000000
pinctrl_enet2_2: enet2grp-2 {
fsl,pins = <
......@@ -346,12 +316,6 @@
>;
};
// MX6SX_PAD_ENET1_COL__GPIO2_IO_0 0x80000000
// MX6SX_PAD_ENET1_COL__GPIO2_IO_0 0x80000000
// MX6SX_PAD_RGMII2_RX_CTL__ENET2_RX_EN 0x3081
// MX6SX_PAD_RGMII2_RX_CTL__ENET2_RX_EN 0x3081
// MX6SX_PAD_RGMII2_RX_CTL__GPIO5_IO_16 0x80000000
pinctrl_usdhc2_1: usdhc2grp-1 {
fsl,pins = <
MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059
......@@ -361,7 +325,7 @@
MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x17059
MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059
MX6SX_PAD_SD1_CMD__GPIO6_IO_1 0x80000000 // uSD USDHC2 PWR
MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x80000000 // uSD USDHC2 CD
MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0xb0b0 // uSD USDHC2 CD
>;
};
......@@ -373,8 +337,8 @@
MX6SX_PAD_SD3_DATA1__USDHC3_DATA1 0x17069
MX6SX_PAD_SD3_DATA2__USDHC3_DATA2 0x17069
MX6SX_PAD_SD3_DATA3__USDHC3_DATA3 0x17069
MX6SX_PAD_KEY_COL2__GPIO2_IO_12 0x15059
MX6SX_PAD_KEY_ROW1__GPIO2_IO_16 0x13059
MX6SX_PAD_KEY_COL2__GPIO2_IO_12 0x80000000
MX6SX_PAD_KEY_ROW1__GPIO2_IO_16 0x80000000
>;
};
......@@ -393,7 +357,6 @@
MX6SX_PAD_SD4_RESET_B__GPIO6_IO_22 0x80000000
>;
};
// MX6SX_PAD_SD4_RESET_B__USDHC4_RESET_B 0x17069
pinctrl_i2c1_1: i2c1grp-1 {
fsl,pins = <
......@@ -416,36 +379,43 @@
>;
};
pinctrl_lcdif_dat_0: lcdifdatgrp {
fsl,pins = <
MX6SX_PAD_LCD1_DATA00__LCDIF1_DATA_0 0x4001b0b0
MX6SX_PAD_LCD1_DATA01__LCDIF1_DATA_1 0x4001b0b0
MX6SX_PAD_LCD1_DATA02__LCDIF1_DATA_2 0x4001b0b0
MX6SX_PAD_LCD1_DATA03__LCDIF1_DATA_3 0x4001b0b0
MX6SX_PAD_LCD1_DATA04__LCDIF1_DATA_4 0x4001b0b0
MX6SX_PAD_LCD1_DATA05__LCDIF1_DATA_5 0x4001b0b0
MX6SX_PAD_LCD1_DATA06__LCDIF1_DATA_6 0x4001b0b0
MX6SX_PAD_LCD1_DATA07__LCDIF1_DATA_7 0x4001b0b0
MX6SX_PAD_LCD1_DATA08__LCDIF1_DATA_8 0x4001b0b0
MX6SX_PAD_LCD1_DATA09__LCDIF1_DATA_9 0x4001b0b0
MX6SX_PAD_LCD1_DATA10__LCDIF1_DATA_10 0x4001b0b0
MX6SX_PAD_LCD1_DATA11__LCDIF1_DATA_11 0x4001b0b0
MX6SX_PAD_LCD1_DATA12__LCDIF1_DATA_12 0x4001b0b0
MX6SX_PAD_LCD1_DATA13__LCDIF1_DATA_13 0x4001b0b0
MX6SX_PAD_LCD1_DATA14__LCDIF1_DATA_14 0x4001b0b0
MX6SX_PAD_LCD1_DATA15__LCDIF1_DATA_15 0x4001b0b0
MX6SX_PAD_LCD1_DATA16__LCDIF1_DATA_16 0x4001b0b0
MX6SX_PAD_LCD1_DATA17__LCDIF1_DATA_17 0x4001b0b0
MX6SX_PAD_LCD1_DATA18__LCDIF1_DATA_18 0x4001b0b0
MX6SX_PAD_LCD1_DATA19__LCDIF1_DATA_19 0x4001b0b0
MX6SX_PAD_LCD1_DATA20__LCDIF1_DATA_20 0x4001b0b0
MX6SX_PAD_LCD1_DATA21__LCDIF1_DATA_21 0x4001b0b0
MX6SX_PAD_LCD1_DATA22__LCDIF1_DATA_22 0x4001b0b0
MX6SX_PAD_LCD1_DATA23__LCDIF1_DATA_23 0x4001b0b0
MX6SX_PAD_LCD1_DATA00__LCDIF1_DATA_0 0x4001b088
MX6SX_PAD_LCD1_DATA01__LCDIF1_DATA_1 0x4001b088
MX6SX_PAD_LCD1_DATA02__LCDIF1_DATA_2 0x4001b088
MX6SX_PAD_LCD1_DATA03__LCDIF1_DATA_3 0x4001b088
MX6SX_PAD_LCD1_DATA04__LCDIF1_DATA_4 0x4001b088
MX6SX_PAD_LCD1_DATA05__LCDIF1_DATA_5 0x4001b088
MX6SX_PAD_LCD1_DATA06__LCDIF1_DATA_6 0x4001b088
MX6SX_PAD_LCD1_DATA07__LCDIF1_DATA_7 0x4001b088
MX6SX_PAD_LCD1_DATA08__LCDIF1_DATA_8 0x4001b088
MX6SX_PAD_LCD1_DATA09__LCDIF1_DATA_9 0x4001b088
MX6SX_PAD_LCD1_DATA10__LCDIF1_DATA_10 0x4001b088
MX6SX_PAD_LCD1_DATA11__LCDIF1_DATA_11 0x4001b088
MX6SX_PAD_LCD1_DATA12__LCDIF1_DATA_12 0x4001b088
MX6SX_PAD_LCD1_DATA13__LCDIF1_DATA_13 0x4001b088
MX6SX_PAD_LCD1_DATA14__LCDIF1_DATA_14 0x4001b088
MX6SX_PAD_LCD1_DATA15__LCDIF1_DATA_15 0x4001b088
MX6SX_PAD_LCD1_DATA16__LCDIF1_DATA_16 0x4001b088
MX6SX_PAD_LCD1_DATA17__LCDIF1_DATA_17 0x4001b088
MX6SX_PAD_LCD1_DATA18__LCDIF1_DATA_18 0x4001b088
MX6SX_PAD_LCD1_DATA19__LCDIF1_DATA_19 0x4001b088
MX6SX_PAD_LCD1_DATA20__LCDIF1_DATA_20 0x4001b088
MX6SX_PAD_LCD1_DATA21__LCDIF1_DATA_21 0x4001b088
MX6SX_PAD_LCD1_DATA22__LCDIF1_DATA_22 0x4001b088
MX6SX_PAD_LCD1_DATA23__LCDIF1_DATA_23 0x4001b088
>;
};
pinctrl_usb_otg1_id: usbotg1idgrp {
fsl,pins = <
MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059 // USB_ID
MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0 // USB_VCC_SW_J2
MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0 // USB_VCC_SW_J2_OC
>;
};
pinctrl_usbh_1: usbhgrp-1 {
fsl,pins = <
MX6SX_PAD_USB_H_STROBE__USB_H_STROBE 0x40013030
......@@ -461,11 +431,11 @@
pinctrl_lcdif_ctrl_0: lcdifctrlgrp {
fsl,pins = <
MX6SX_PAD_LCD1_CLK__LCDIF1_CLK 0x4001b0b0
MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE 0x4001b0b0
MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC 0x4001b0b0
MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC 0x4001b0b0
MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x80000000
MX6SX_PAD_LCD1_CLK__LCDIF1_CLK 0x4001b088
MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE 0x4001b088
MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC 0x4001b080
MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC 0x40018080
MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x80000000
>;
};
......@@ -476,21 +446,28 @@
>;
};
pinctrl_pwm6: pwm6grp {
fsl,pins = <
MX6SX_PAD_RGMII2_TD2__PWM6_OUT 0x1b0b1 // RGB_BL_CTRL
>;
};
pinctrl_rbg_lcd: rgblcdgrp-0 {
fsl,pins = <
MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000 // RGB_VGH_ON
MX6SX_PAD_RGMII2_TXC__GPIO5_IO_23 0x80000000 // RGB_BL_ON
MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x80000000 // RGB_VGH_ON
MX6SX_PAD_QSPI1A_SCLK__GPIO4_IO_21 0x80000000 // RGB_PANEL_ON
>;
};
pinctrl_qspi1_1: qspi1grp_1 {
pinctrl_qspi2_1: qspi2grp_1 {
fsl,pins = <
MX6SX_PAD_NAND_WP_B__QSPI2_A_DATA_0 0x70a1
MX6SX_PAD_NAND_READY_B__QSPI2_A_DATA_1 0x70a1
MX6SX_PAD_NAND_CE0_B__QSPI2_A_DATA_2 0x70a1
MX6SX_PAD_NAND_CE1_B__QSPI2_A_DATA_3 0x70a1
MX6SX_PAD_NAND_CLE__QSPI2_A_SCLK 0x70a1
MX6SX_PAD_NAND_ALE__QSPI2_A_SS0_B 0x70a1
MX6SX_PAD_NAND_WP_B__QSPI2_A_DATA_0 0x70f1
MX6SX_PAD_NAND_READY_B__QSPI2_A_DATA_1 0x70f1
MX6SX_PAD_NAND_CE0_B__QSPI2_A_DATA_2 0x70f1
MX6SX_PAD_NAND_CE1_B__QSPI2_A_DATA_3 0x70f1
MX6SX_PAD_NAND_CLE__QSPI2_A_SCLK 0x70f1
MX6SX_PAD_NAND_ALE__QSPI2_A_SS0_B 0x70f1
>;
};
......@@ -500,10 +477,10 @@
>;
};
pinctrl_spdif_1: spdif1grp-1 {
pinctrl_gt911: gt911grp {
fsl,pins = <
MX6SX_PAD_GPIO1_IO11__SPDIF_IN 0x1b0b0
MX6SX_PAD_GPIO1_IO12__SPDIF_OUT 0x1b0b0
MX6SX_PAD_SD1_DATA2__GPIO6_IO_4 0x80000000 // TOUCH_INT
MX6SX_PAD_SD1_DATA3__GPIO6_IO_5 0x80000000 // TOUCH_RST
>;
};
......@@ -546,17 +523,18 @@
status = "okay";
};
&spdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spdif_1>;
status = "disabled";
};
&ecspi3 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi3_1>;
cs-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
status = "okay";
rtcO: pcf2123@0 {
compatible = "nxp,rtc-pcf2123";
spi-max-frequency = <1000000>;
spi-cs-high;
reg = <0>;
};
};
&ecspi5 {
......@@ -580,10 +558,10 @@
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
ethphy0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
};
......@@ -619,12 +597,6 @@
status = "okay";
};
&flexcan1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1>;
status = "disabled";
};
&flexcan2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan2>;
......@@ -636,7 +608,6 @@
fsl,ldo-bypass = <1>;
};
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
......@@ -740,14 +711,8 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2_1>;
status = "okay";
barometer: mpl3115@60 {
compatible = "fsl,mpl3115";
reg = <0x60>;
};
};
&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
......@@ -758,30 +723,33 @@
compatible = "smsc,usb3503";
reg = <0x08>;
disabled-ports = <>;
vbusport3-supply = <&reg_usb_otg3_vbus>;
vbusport4-supply = <&reg_usb_otg4_vbus>;
vbusport3-supply = <&reg_usb_hub_port3_vbus_j5>;
vbusport4-supply = <&reg_usb_hub_port4_vbus_j4>;
intn-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
initial-mode = <1>;
};
};
// &i2c4 {
// clock-frequency = <100000>;
// pinctrl-names = "default";
// pinctrl-0 = <&pinctrl_i2c4_1>;
//
// accelerometer: fxos8700@1e {
// compatible = "fsl,fxos8700";
// reg = <0x1e>;
// };
//
// gyroscope: fxas2100x@20 {
// compatible = "fsl,fxas2100x";
// reg = <0x20>;
// };
// };
accelerometer: fxos8700@1e {