forked from Minki/linux
4bacf2a3fc
i.MX6 Quad and i.MX6 DualLite is similar enough to share one dtsi file, so rename imx6q.dtsi to imx6qdl.dtsi preparing for the addition of imx6dl support. Another member of i.MX6 series i.MX6 SoloLite is different enough from the other two, so it will stand as a separate dtsi. That's why we rename to imx6qdl.dtsi not imx6.dtsi. 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/ "imx6qdl.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";
|
|
};
|