diff options
author | Arthur LAMBERT <lambertarthur22@gmail.com> | 2015-07-01 11:22:42 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-04 15:03:15 +0200 |
commit | 2c6e667caa845e3eef116fd2085f19fdb625a6f1 (patch) | |
tree | b7bd67e6d8474d5b3677c6190c5a0bf1b51dc533 /board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch | |
parent | 2e52be798276fe0c28949f4a16fce0ca20e52153 (diff) | |
download | buildroot-2c6e667caa845e3eef116fd2085f19fdb625a6f1.tar.gz buildroot-2c6e667caa845e3eef116fd2085f19fdb625a6f1.zip |
board: add support for WarPboard
This is a set of patch to add support for warpboard
(Freescale board based on imx6sl)
The patch contains :
- defconfig for warpboard
- linux patches from Fabio Estevam to fix device tree due to last change on
warpboard schematics (rev 1.12) and to fix kernel imx_v6_v7 defconfig which
use incorrect hci protocol
- specific firmware file for warpboard bluetooth
nvram : brcmfmac4330-sdio.txt
Origin of nvram config file for wifi :
https://github.com/Freescale/meta-fsl-arm-extra
[Thomas: misc rewording/improvements in the README file.]
Signed-off-by: Arthur LAMBERT <arthur@dreem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch')
-rw-r--r-- | board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch b/board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch new file mode 100644 index 0000000000..d742c24893 --- /dev/null +++ b/board/freescale/warpboard/patches/linux/0002-replace-uart2-by-uart5.patch @@ -0,0 +1,103 @@ +From: Fabio Estevam <fabio.estevam@freescale.com> +Date: Fri, 29 May 2015 16:19:39 -0300 +Subject: [PATCH] ARM: dts: imx6sl-warp: Add changes for rev1.12 + +Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> +--- + arch/arm/boot/dts/imx6sl-warp.dts | 32 +++++++++++++++++++------------- + 1 file changed, 19 insertions(+), 13 deletions(-) + +diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts +index 0da906b..bdfa82b 100644 +--- a/arch/arm/boot/dts/imx6sl-warp.dts ++++ b/arch/arm/boot/dts/imx6sl-warp.dts +@@ -61,7 +61,9 @@ + usdhc3_pwrseq: usdhc3_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>, /* WL_REG_ON */ ++ <&gpio4 7 GPIO_ACTIVE_LOW>, /* WL_HOSTWAKE */ + <&gpio3 25 GPIO_ACTIVE_LOW>, /* BT_REG_ON */ ++ <&gpio3 27 GPIO_ACTIVE_LOW>, /* BT_HOSTWAKE */ + <&gpio4 4 GPIO_ACTIVE_LOW>, /* BT_WAKE */ + <&gpio4 6 GPIO_ACTIVE_LOW>; /* BT_RST_N */ + }; +@@ -73,16 +75,16 @@ + status = "okay"; + }; + +-&uart2 { ++&uart3 { + pinctrl-names = "default"; +- pinctrl-0 = <&pinctrl_uart2>; +- fsl,uart-has-rtscts; ++ pinctrl-0 = <&pinctrl_uart3>; + status = "okay"; + }; + +-&uart3 { ++&uart5 { + pinctrl-names = "default"; +- pinctrl-0 = <&pinctrl_uart3>; ++ pinctrl-0 = <&pinctrl_uart5>; ++ fsl,uart-has-rtscts; + status = "okay"; + }; + +@@ -130,14 +132,6 @@ + >; + }; + +- pinctrl_uart2: uart2grp { +- fsl,pins = < +- MX6SL_PAD_EPDC_D12__UART2_RX_DATA 0x41b0b1 +- MX6SL_PAD_EPDC_D13__UART2_TX_DATA 0x41b0b1 +- MX6SL_PAD_EPDC_D14__UART2_RTS_B 0x4130B1 +- MX6SL_PAD_EPDC_D15__UART2_CTS_B 0x4130B1 +- >; +- }; + + pinctrl_uart3: uart3grp { + fsl,pins = < +@@ -146,6 +140,15 @@ + >; + }; + ++ pinctrl_uart5: uart5grp { ++ fsl,pins = < ++ MX6SL_PAD_ECSPI1_SCLK__UART5_RX_DATA 0x41b0b1 ++ MX6SL_PAD_ECSPI1_MOSI__UART5_TX_DATA 0x41b0b1 ++ MX6SL_PAD_ECSPI1_MISO__UART5_RTS_B 0x4130b1 ++ MX6SL_PAD_ECSPI1_SS0__UART5_CTS_B 0x4130b1 ++ >; ++ }; ++ + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX6SL_PAD_SD2_CMD__SD2_CMD 0x417059 +@@ -158,6 +161,7 @@ + MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x417059 + MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x417059 + MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x417059 ++ MX6SL_PAD_SD2_RST__SD2_RESET 0x417059 + >; + }; + +@@ -173,6 +177,7 @@ + MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x4170b9 + MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x4170b9 + MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x4170b9 ++ MX6SL_PAD_SD2_RST__SD2_RESET 0x4170b9 + >; + }; + +@@ -188,6 +193,7 @@ + MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x4170f9 + MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x4170f9 + MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x4170f9 ++ MX6SL_PAD_SD2_RST__SD2_RESET 0x4170f9 + >; + }; + +-- +1.9.1 + |