mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +08:00
7c1da5854f
Add dtsi for imx6q and imx6dl with non-common blocks moved into there. Major differences between imx6dl and imx6q: * Dual vs. Quad cores * single vs. dual IPU * 128 vs. 256 KB OCRAM * imx6q: ECSPI5, OpenVG (GC355), SATA * imx6dl: I2C4, PXP, EPDC, LCDIF * iomuxc/pads definition Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
87 lines
1.7 KiB
Plaintext
87 lines
1.7 KiB
Plaintext
/*
|
|
* 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"
|
|
|
|
/ {
|
|
model = "Freescale i.MX6Q SABRE Smart Device Board";
|
|
compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
|
|
|
|
memory {
|
|
reg = <0x10000000 0x40000000>;
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
volume-up {
|
|
label = "Volume Up";
|
|
gpios = <&gpio1 4 0>;
|
|
linux,code = <115>; /* KEY_VOLUMEUP */
|
|
};
|
|
|
|
volume-down {
|
|
label = "Volume Down";
|
|
gpios = <&gpio1 5 0>;
|
|
linux,code = <114>; /* KEY_VOLUMEDOWN */
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_uart1_1>;
|
|
status = "okay";
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_hog>;
|
|
|
|
hog {
|
|
pinctrl_hog: hoggrp {
|
|
fsl,pins = <
|
|
1004 0x80000000 /* MX6Q_PAD_GPIO_4__GPIO_1_4 */
|
|
1012 0x80000000 /* MX6Q_PAD_GPIO_5__GPIO_1_5 */
|
|
1402 0x80000000 /* MX6Q_PAD_NANDF_D0__GPIO_2_0 */
|
|
1410 0x80000000 /* MX6Q_PAD_NANDF_D1__GPIO_2_1 */
|
|
1418 0x80000000 /* MX6Q_PAD_NANDF_D2__GPIO_2_2 */
|
|
1426 0x80000000 /* MX6Q_PAD_NANDF_D3__GPIO_2_3 */
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&fec {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_enet_1>;
|
|
phy-mode = "rgmii";
|
|
status = "okay";
|
|
};
|
|
|
|
&usdhc2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usdhc2_1>;
|
|
cd-gpios = <&gpio2 2 0>;
|
|
wp-gpios = <&gpio2 3 0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usdhc3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usdhc3_1>;
|
|
cd-gpios = <&gpio2 0 0>;
|
|
wp-gpios = <&gpio2 1 0>;
|
|
status = "okay";
|
|
};
|