Update Sabre Lite
Subsystems (3)
v2 cover Update Sabre Lite
This series updates the Sabre Lite board
and then bases a new board Nitrogen6x on it.
Eric Nelson created a web page to show the
differences between the two boards.
http://boundarydevices.com/differences-sabre-lite-nitrogen6x
Troy Kisky (13):
ARM: dts: imx6qdl-sabrelite: move pcie to imx6qdl-sabrelite.dtsi
ARM: dts: imx6qdl-sabrelite: move USDHC4 CD to pinctrl_usdhc4
ARM: dts: imx6qdl-sabrelite: move USDHC3 CD/WP to pinctrl_usdhc3
ARM: dts: imx6qdl-sabrelite: move spi-nor CS to pinctrl_ecspi1
ARM: dts: imx6qdl-sabrelite: move usbotg power enable to
pinctrl_usbotg
ARM: dts: imx6qdl-sabrelite: move phy reset to pinctrl_enet
ARM: dts: imx6qdl-sabrelite: explicitly set pad for SGTL5000 sys_mclk
ARM: dts: imx6qdl-sabrelite: add gpio-keys
ARM: dts: imx6qdl-sabrelite: add pwms for backlights
ARM: dts: imx6qdl-sabrelite: add skews for Micrel phy
ARM: dts: imx6qdl-sabrelite: fix ENET group
ARM: dts: imx6qdl-sabrelite: Add over-current pin to usbotg
ARM: dts: imx: add nitrogen6x board
arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6dl-nitrogen6x.dts | 22 ++ arch/arm/boot/dts/imx6q-nitrogen6x.dts | 26 ++ arch/arm/boot/dts/imx6q-sabrelite.dts | 4 - arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 385 ++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 176 +++++++++++++- 6 files changed, 599 insertions(+), 16 deletions(-) create mode 100644 arch/arm/boot/dts/imx6dl-nitrogen6x.dts create mode 100644 arch/arm/boot/dts/imx6q-nitrogen6x.dts create mode 100644 arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
Signature · 1 line
1.8.1.2
PATCH v2 1/13 ARM: dts: imx6qdl-sabrelite: move pcie to imx6qdl-sabrelite.dtsi
PCIe is common to Quad, Dual, Dual Lite, and Solo variants of the processor. So, move enabling from imx6q-sabrelite.dts to imx6qdl-sabrelite.dtsi.
---
v2: new patch which can be squashed with 6bbb49ddfa8466a91a2ce1411a2ac969d0d0a614
ARM: dts: imx: sabrelite: add Dual Lite/Solo support
if desired.
--- arch/arm/boot/dts/imx6q-sabrelite.dts | 4 ---- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +0 -4
@@ -19,10 +19,6 @@ compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; }; -&pcie { - status = "okay"; -}; - &sata { status = "okay"; };
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +4 -0
@@ -187,6 +187,10 @@ }; }; +&pcie { + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay";
Signature · 1 line
1.8.1.2
PATCH v2 2/13 ARM: dts: imx6qdl-sabrelite: move USDHC4 CD to pinctrl_usdhc4
In reply to Troy KiskyThis patch moves pin NANDF_D6 (CD) from pinctrl_hog to pinctrl_usdhc4. It also explicitly sets the pad to 0x1b0b0, which is also the value that it has before this patch if using mainline u-boot.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +4 -2
@@ -114,7 +114,6 @@ imx6q-sabrelite { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
@@ -157,7 +156,10 @@ }; pinctrl_usdhc4: usdhc4grp { - fsl,pins = <MX6QDL_USDHC4_PINGRP_D4>; + fsl,pins = < + MX6QDL_USDHC4_PINGRP_D4 + MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */ + >; }; }; };
Signature · 1 line
1.8.1.2
PATCH v2 3/13 ARM: dts: imx6qdl-sabrelite: move USDHC3 CD/WP to pinctrl_usdhc3
In reply to Troy KiskyThis patch moves pin SD3_DAT5/4 (CD/WP) from pinctrl_hog to pinctrl_usdhc3. It also explicitly sets the pad SD3_DAT5 to 0x1b0b0, which is also the value that it has before this patch if using mainline u-boot.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +5 -3
@@ -117,8 +117,6 @@ MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 - MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000 - MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000 >; };
@@ -152,7 +150,11 @@ }; pinctrl_usdhc3: usdhc3grp { - fsl,pins = <MX6QDL_USDHC3_PINGRP_D4>; + fsl,pins = < + MX6QDL_USDHC3_PINGRP_D4 + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */ + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 /* WP */ + >; }; pinctrl_usdhc4: usdhc4grp {
Signature · 1 line
1.8.1.2
PATCH v2 4/13 ARM: dts: imx6qdl-sabrelite: move spi-nor CS to pinctrl_ecspi1
In reply to Troy KiskyThis patch moves pin EIM_D19 (CS) from pinctrl_hog to pinctrl_ecspi1. It also explicitly sets the pad to 0x000b1.
Before this patch, it has the value 0x100b1 if using mainline u-boot. So this patch also removes hysteresis since the pad is always an output.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +4 -2
@@ -114,7 +114,6 @@ imx6q-sabrelite { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000
@@ -126,7 +125,10 @@ }; pinctrl_ecspi1: ecspi1grp { - fsl,pins = <MX6QDL_ECSPI1_PINGRP1>; + fsl,pins = < + MX6QDL_ECSPI1_PINGRP1 + MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */ + >; }; pinctrl_enet: enetgrp {
Signature · 1 line
1.8.1.2
PATCH v2 5/13 ARM: dts: imx6qdl-sabrelite: move usbotg power enable to pinctrl_usbotg
In reply to Troy KiskyThis patch moves pin EIM_D22(power enable) from pinctrl_hog to pinctrl_usbotg. It also explicitly sets the pad to 0x000b0, which is also the value that it has before this patch if using mainline u-boot.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +5 -2
@@ -114,7 +114,6 @@ imx6q-sabrelite { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000 >;
@@ -148,7 +147,11 @@ }; pinctrl_usbotg: usbotggrp { - fsl,pins = <MX6QDL_USBOTG_PINGRP1>; + fsl,pins = < + MX6QDL_USBOTG_PINGRP1 + /* power enable, high active */ + MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0 + >; }; pinctrl_usdhc3: usdhc3grp {
Signature · 1 line
1.8.1.2
PATCH v2 6/13 ARM: dts: imx6qdl-sabrelite: move phy reset to pinctrl_enet
In reply to Troy KiskyThis patch moves pin EIM_D23 (phy reset) from pinctrl_hog to pinctrl_enet. It also explicitly sets the pad to 0x000b0.
Before this patch, it has the value 0x1b0b0 if using mainline u-boot. So this patch also removes hysteresis and a 100K pullup since the pad is always an output.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +5 -2
@@ -114,7 +114,6 @@ imx6q-sabrelite { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000 >; };
@@ -131,7 +130,11 @@ }; pinctrl_enet: enetgrp { - fsl,pins = <MX6QDL_ENET_PINGRP1>; + fsl,pins = < + MX6QDL_ENET_PINGRP1 + /* Phy reset */ + MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0 + >; }; pinctrl_i2c1: i2c1grp {
Signature · 1 line
1.8.1.2
PATCH v2 7/13 ARM: dts: imx6qdl-sabrelite: explicitly set pad for SGTL5000 sys_mclk
In reply to Troy KiskyExplicitly sets the pad GPIO_0 (sys_mclk) to 0x030b0.
Before this patch, it has the value 0x130b0 if using mainline u-boot. So this patch also removes hysteresis. The 100k pulldown remains so that a disabled clock will be low.
---
v2: New patch.. V1 patch to add comments was broken up into multiple patches
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +2 -1
@@ -114,7 +114,8 @@ imx6q-sabrelite { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x80000000 + /* SGTL5000 sys_mclk */ + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0 >; };
Signature · 1 line
1.8.1.2
PATCH v2 8/13 ARM: dts: imx6qdl-sabrelite: add gpio-keys
In reply to Troy KiskyAdd power, menu, home, back, volume up, and volume down buttons.
---
v2: add #include <dt-bindings/input/input.h>
to substitute KEY_POWER for 116
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +54 -0
@@ -9,6 +9,8 @@ * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> / { memory {
@@ -49,6 +51,46 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + power { + label = "Power Button"; + gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; + linux,code = <KEY_POWER>; + gpio-key,wakeup; + }; + + menu { + label = "Menu"; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; + linux,code = <KEY_MENU>; + }; + + home { + label = "Home"; + gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + linux,code = <KEY_HOME>; + }; + + back { + label = "Back"; + gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + linux,code = <KEY_BACK>; + }; + + volume-up { + label = "Volume Up"; + gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; + linux,code = <KEY_VOLUMEUP>; + }; + + volume-down { + label = "Volume Down"; + gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; + linux,code = <KEY_VOLUMEDOWN>; + }; + }; + sound { compatible = "fsl,imx6q-sabrelite-sgtl5000", "fsl,imx-audio-sgtl5000";
@@ -116,6 +158,18 @@ fsl,pins = < /* SGTL5000 sys_mclk */ MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0 + /* Power Button */ + MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 + /* Menu Button */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 + /* Home Button */ + MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 + /* Back Button */ + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 + /* Volume Up Button */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 + /* Volume Down Button */ + MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 >; };
Signature · 1 line
1.8.1.2
PATCH v2 8/13 ARM: dts: imx6qdl-sabrelite: add gpio-keys
Quoted 78 lines · Troy Kisky
Add power, menu, home, back, volume up, and volume down buttons.
Signed-off-by Troy Kisky <[email protected]>---
v2: add #include <dt-bindings/input/input.h>
to substituteKEY_POWERfor 116--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +44
-0@@ -9,6 +9,8 @@ * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> / { memory {@@ -49,6 +51,46 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + power { + label = "Power Button"; + gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; + linux,code = <KEY_POWER>; + gpio-key,wakeup; + }; + + menu { + label = "Menu"; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; + linux,code = <KEY_MENU>; + }; + + home { + label = "Home"; + gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + linux,code = <KEY_HOME>; + }; + + back { + label = "Back"; + gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + linux,code = <KEY_BACK>; + }; + + volume-up { + label = "Volume Up"; + gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; + linux,code = <KEY_VOLUMEUP>; + }; + + volume-down { + label = "Volume Down"; + gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; + linux,code = <KEY_VOLUMEDOWN>; + }; + }; + sound { compatible = "fsl,imx6q-sabrelite-sgtl5000", "fsl,imx-audio-sgtl5000";@@ -116,6 +158,18 @@ fsl,pins = < /* SGTL5000 sys_mclk */ MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0 + /* Power Button */ + MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi line 172
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +10
-0+ /* Menu Button */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 + /* Home Button */ + MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 + /* Back Button */ + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 + /* Volume Up Button */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 + /* Volume Down Button */ + MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
Why don't you create a pingrp for them and add a pinctrl phandle in gpio-keys node pointing to it?
Shawn
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +0
-0>; };Signature · 1 line
1.8.1.2
PATCH v2 9/13 ARM: dts: imx6qdl-sabrelite: add pwms for backlights
In reply to Troy Kiskyadd pwm1 for lcd backlight
add pwm4 for lvds backlight
add pwm3 for ov5640 mipi clock
---
v2: no change
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +54 -0
@@ -104,6 +104,24 @@ mux-int-port = <1>; mux-ext-port = <4>; }; + + backlight_lcd { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + power-supply = <®_3p3v>; + status = "okay"; + }; + + backlight_lvds { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + power-supply = <®_3p3v>; + status = "okay"; + }; }; &audmux {
@@ -196,6 +214,24 @@ fsl,pins = <MX6QDL_I2C1_PINGRP1>; }; + pinctrl_pwm1: pwm1grp { + fsl,pins = < + MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 + >; + }; + + pinctrl_pwm3: pwm3grp { + fsl,pins = < + MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1 + >; + }; + + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = <MX6QDL_UART1_PINGRP2>; };
@@ -258,6 +294,24 @@ status = "okay"; }; +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm1>; + status = "okay"; +}; + +&pwm3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm3>; + status = "okay"; +}; + +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &ssi1 { fsl,mode = "i2s-slave"; status = "okay";
Signature · 1 line
1.8.1.2
PATCH v2 10/13 ARM: dts: imx6qdl-sabrelite: add skews for Micrel phy
In reply to Troy KiskySet the data delays to min, and clock delays to max because the traces are equal length on pcb.
---
v2: no change
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +12 -0
@@ -149,6 +149,18 @@ pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii"; phy-reset-gpios = <&gpio3 23 0>; + txen-skew-ps = <0>; + txc-skew-ps = <3000>; + rxdv-skew-ps = <0>; + rxc-skew-ps = <3000>; + rxd0-skew-ps = <0>; + rxd1-skew-ps = <0>; + rxd2-skew-ps = <0>; + rxd3-skew-ps = <0>; + txd0-skew-ps = <0>; + txd1-skew-ps = <0>; + txd2-skew-ps = <0>; + txd3-skew-ps = <0>; status = "okay"; };
Signature · 1 line
1.8.1.2
PATCH v2 11/13 ARM: dts: imx6qdl-sabrelite: fix ENET group
In reply to Troy KiskyGPIO16 is used for I2C3, not ENET_REF_CLK. Replace MX6QDL_ENET_PINGRP1 with explicit list. Also, remove pull-ups from tx pins, and ENET_MDIO which has an external pull-up.
---
v2: minor change to commit message
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +15 -1
@@ -216,7 +216,21 @@ pinctrl_enet: enetgrp { fsl,pins = < - MX6QDL_ENET_PINGRP1 + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0 + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0 + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0 + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0 + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0 + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0 + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0 + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0 + 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 /* Phy reset */ MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0 >;
Signature · 1 line
1.8.1.2
PATCH v2 12/13 ARM: dts: imx6qdl-sabrelite: Add over-current pin to usbotg
In reply to Troy KiskyKEY_COL4 is over-current for usbotg on Sabre Lite.
---
v2: no change
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +2 -1
@@ -268,7 +268,8 @@ pinctrl_usbotg: usbotggrp { fsl,pins = < - MX6QDL_USBOTG_PINGRP1 + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0 /* power enable, high active */ MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0 >;
Signature · 1 line
1.8.1.2
PATCH v2 13/13 ARM: dts: imx: add nitrogen6x board
In reply to Troy KiskyAdd file imx6q-nitrogen6x.dts,
imx6dl-nitrogen6x.dts,
imx6qdl-nitrogen6x.dtsi
And add board to makefile.
Eric Nelson created a web page to show the differences between Nitrogen6x and Sabre Lite boards.
http://boundarydevices.com/differences-sabre-lite-nitrogen6x
---
v2: rebase only
---
arch/arm/boot/dts/Makefile | 2 ++
arch/arm/boot/dts/imx6dl-nitrogen6x.dts | 22 ++++++++++++++++++
arch/arm/boot/dts/imx6q-nitrogen6x.dts | 26 ++++++++++++++++++++++
...6qdl-sabrelite.dtsi => imx6qdl-nitrogen6x.dtsi} | 17 +++++++-------
4 files changed, 58 insertions(+), 9 deletions(-)
create mode 100644 arch/arm/boot/dts/imx6dl-nitrogen6x.dts
create mode 100644 arch/arm/boot/dts/imx6q-nitrogen6x.dts
copy arch/arm/boot/dts/{imx6qdl-sabrelite.dtsi => imx6qdl-nitrogen6x.dtsi} (95%)arch/arm/boot/dts/Makefile +2 -0
@@ -150,6 +150,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6dl-gw52xx.dtb \ imx6dl-gw53xx.dtb \ imx6dl-gw54xx.dtb \ + imx6dl-nitrogen6x.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabrelite.dtb \ imx6dl-sabresd.dtb \
@@ -162,6 +163,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6q-gw53xx.dtb \ imx6q-gw5400-a.dtb \ imx6q-gw54xx.dtb \ + imx6q-nitrogen6x.dtb \ imx6q-phytec-pbab01.dtb \ imx6q-sabreauto.dtb \ imx6q-sabrelite.dtb \
arch/arm/boot/dts/imx6dl-nitrogen6x.dts new file +22 -0
@@ -0,0 +1,22 @@ +/* + * Copyright 2013 Boundary Devices, Inc. + * 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 "imx6dl.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Freescale i.MX6 DualLite Nitrogen6x Board"; + compatible = "fsl,imx6dl-nitrogen6x", "fsl,imx6dl"; + +};
arch/arm/boot/dts/imx6q-nitrogen6x.dts new file +26 -0
@@ -0,0 +1,26 @@ +/* + * Copyright 2013 Boundary Devices, Inc. + * 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 "imx6q.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Freescale i.MX6 Quad Nitrogen6x Board"; + compatible = "fsl,imx6q-nitrogen6x", "fsl,imx6q"; + +}; + +&sata { + status = "okay"; +};
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi renamed from arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +8 -9
@@ -1,4 +1,5 @@ /* + * Copyright 2013 Boundary Devices, Inc. * Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. *
@@ -92,9 +93,9 @@ }; sound { - compatible = "fsl,imx6q-sabrelite-sgtl5000", + compatible = "fsl,imx6q-nitrogen6x-sgtl5000", "fsl,imx-audio-sgtl5000"; - model = "imx6q-sabrelite-sgtl5000"; + model = "imx6q-nitrogen6x-sgtl5000"; ssi-controller = <&ssi1>; audio-codec = <&codec>; audio-routing =
@@ -102,7 +103,7 @@ "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT"; mux-int-port = <1>; - mux-ext-port = <4>; + mux-ext-port = <3>; }; backlight_lcd {
@@ -148,7 +149,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; + phy-reset-gpios = <&gpio1 27 0>; txen-skew-ps = <0>; txc-skew-ps = <3000>; rxdv-skew-ps = <0>;
@@ -183,7 +184,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; - imx6q-sabrelite { + imx6q-nitrogen6x { pinctrl_hog: hoggrp { fsl,pins = < /* SGTL5000 sys_mclk */
@@ -204,7 +205,7 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = <MX6QDL_AUDMUX_PINGRP1>; + fsl,pins = <MX6QDL_AUDMUX_PINGRP2>; }; pinctrl_ecspi1: ecspi1grp {
@@ -232,7 +233,7 @@ MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 /* Phy reset */ - MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0 + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0 >; };
@@ -279,7 +280,6 @@ fsl,pins = < MX6QDL_USDHC3_PINGRP_D4 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */ - MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 /* WP */ >; };
@@ -372,7 +372,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc3>; cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; vmmc-supply = <®_3p3v>; status = "okay"; };
Signature · 1 line
1.8.1.2
PATCH v2 13/13 ARM: dts: imx: add nitrogen6x board
Quoted 61 lines · Troy Kisky
Add file
imx6q-nitrogen6x.dts,
imx6dl-nitrogen6x.dts,
imx6qdl-nitrogen6x.dtsiAnd add board to makefile.
Eric Nelson created a web page to show the differences between Nitrogen6x and Sabre Lite boards.
http://boundarydevices.com/differences-sabre-lite-nitrogen6xSigned-off-by Troy Kisky <[email protected]>---
v2: rebase only--- arch/arm/boot/dts/Makefile | 2 ++ arch/arm/boot/dts/imx6dl-nitrogen6x.dts | 22 ++++++++++++++++++ arch/arm/boot/dts/imx6q-nitrogen6x.dts | 26 ++++++++++++++++++++++ ...6qdl-sabrelite.dtsi => imx6qdl-nitrogen6x.dtsi} | 17 +++++++------- 4 files changed, 58 insertions(+), 9 deletions(-) create mode 100644 arch/arm/boot/dts/imx6dl-nitrogen6x.dts create mode 100644 arch/arm/boot/dts/imx6q-nitrogen6x.dts copy arch/arm/boot/dts/{imx6qdl-sabrelite.dtsi => imx6qdl-nitrogen6x.dtsi} (95%)arch/arm/boot/dts/Makefile +2
-0@@ -150,6 +150,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6dl-gw52xx.dtb \ imx6dl-gw53xx.dtb \ imx6dl-gw54xx.dtb \ + imx6dl-nitrogen6x.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabrelite.dtb \ imx6dl-sabresd.dtb \@@ -162,6 +163,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6q-gw53xx.dtb \ imx6q-gw5400-a.dtb \ imx6q-gw54xx.dtb \ + imx6q-nitrogen6x.dtb \ imx6q-phytec-pbab01.dtb \ imx6q-sabreauto.dtb \ imx6q-sabrelite.dtb \arch/arm/boot/dts/imx6dl-nitrogen6x.dts new file +11
-0@@ -0,0 +1,22 @@ +/* + * Copyright 2013 Boundary Devices, Inc. + * 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
arch/arm/boot/dts/imx6dl-nitrogen6x.dts line 21
Quoted 10 lines
arch/arm/boot/dts/imx6dl-nitrogen6x.dts new file +10
-0+ */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Freescale i.MX6 DualLite Nitrogen6x Board"; + compatible = "fsl,imx6dl-nitrogen6x", "fsl,imx6dl"; +
Unnecessary blank line.
Quoted 18 lines
arch/arm/boot/dts/imx6dl-nitrogen6x.dts new file +1
-0+};arch/arm/boot/dts/imx6q-nitrogen6x.dts new file +11
-0@@ -0,0 +1,26 @@ +/* + * Copyright 2013 Boundary Devices, Inc. + * 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
arch/arm/boot/dts/imx6q-nitrogen6x.dts line 21
Quoted 10 lines
arch/arm/boot/dts/imx6q-nitrogen6x.dts new file +10
-0+ */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Freescale i.MX6 Quad Nitrogen6x Board"; + compatible = "fsl,imx6q-nitrogen6x", "fsl,imx6q"; +
Ditto
I fixed them up and applied the whole series expect patch #8, which I have a comment on.
Shawn
Quoted 94 lines
arch/arm/boot/dts/imx6q-nitrogen6x.dts new file +5
-0+}; + +&sata { + status = "okay"; +};arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi renamed from arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +8
-9@@ -1,4 +1,5 @@ /* + * Copyright 2013 Boundary Devices, Inc. * Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. *@@ -92,9 +93,9 @@ }; sound { - compatible = "fsl,imx6q-sabrelite-sgtl5000", + compatible = "fsl,imx6q-nitrogen6x-sgtl5000", "fsl,imx-audio-sgtl5000"; - model = "imx6q-sabrelite-sgtl5000"; + model = "imx6q-nitrogen6x-sgtl5000"; ssi-controller = <&ssi1>; audio-codec = <&codec>; audio-routing =@@ -102,7 +103,7 @@ "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT"; mux-int-port = <1>; - mux-ext-port = <4>; + mux-ext-port = <3>; }; backlight_lcd {@@ -148,7 +149,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; + phy-reset-gpios = <&gpio1 27 0>; txen-skew-ps = <0>; txc-skew-ps = <3000>; rxdv-skew-ps = <0>;@@ -183,7 +184,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; - imx6q-sabrelite { + imx6q-nitrogen6x { pinctrl_hog: hoggrp { fsl,pins = < /* SGTL5000 sys_mclk */@@ -204,7 +205,7 @@ }; pinctrl_audmux: audmuxgrp { - fsl,pins = <MX6QDL_AUDMUX_PINGRP1>; + fsl,pins = <MX6QDL_AUDMUX_PINGRP2>; }; pinctrl_ecspi1: ecspi1grp {@@ -232,7 +233,7 @@ MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 /* Phy reset */ - MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x000b0 + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0 >; };@@ -279,7 +280,6 @@ fsl,pins = < MX6QDL_USDHC3_PINGRP_D4 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */ - MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0 /* WP */ >; };@@ -372,7 +372,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc3>; cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; vmmc-supply = <®_3p3v>; status = "okay"; };Signature · 1 line
1.8.1.2
PATCH v2 13/13 ARM: dts: imx: add nitrogen6x board
Quoted 9 lines · Shawn Guo
Quoted 1 line · Troy Kisky
+
Unnecessary blank line.
arch/arm/boot/dts/imx6q-nitrogen6x.dts line 21
Quoted 3 lines
arch/arm/boot/dts/imx6q-nitrogen6x.dts new file +3
-0+}; + compatible = "fsl,imx6q-nitrogen6x", "fsl,imx6q"; +Ditto
Quoted 5 lines
I fixed them up and applied the whole series expect patch #8, which I have a comment on.
Shawn
Thanks a lot!!!
Troy