diff options
author | Bai Ping <ping.bai@nxp.com> | 2016-02-02 05:01:36 -0500 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-02-29 03:17:29 -0500 |
commit | 6ab0057f49ba389b3dfb9838ea9a042a526c031c (patch) | |
tree | c438f72783d65f1439828d27d3eeec7d373e95ff /arch/arm | |
parent | 5d6253750f111183e14bc25a9e90aec0b61b0ddd (diff) |
ARM: dts: imx: Add basic dts support for imx6qp-sabreauto
This patch adds basic dts file for i.MX6QP-Sbreauto board.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qp-sabreauto.dts | 93 |
2 files changed, 95 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 5d1f978cd3a8..01d42137cf67 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -350,7 +350,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ | |||
350 | imx6q-tx6q-1110.dtb \ | 350 | imx6q-tx6q-1110.dtb \ |
351 | imx6q-udoo.dtb \ | 351 | imx6q-udoo.dtb \ |
352 | imx6q-wandboard.dtb \ | 352 | imx6q-wandboard.dtb \ |
353 | imx6q-wandboard-revb1.dtb | 353 | imx6q-wandboard-revb1.dtb \ |
354 | imx6qp-sabreauto.dtb | ||
354 | dtb-$(CONFIG_SOC_IMX6SL) += \ | 355 | dtb-$(CONFIG_SOC_IMX6SL) += \ |
355 | imx6sl-evk.dtb \ | 356 | imx6sl-evk.dtb \ |
356 | imx6sl-warp.dtb | 357 | imx6sl-warp.dtb |
diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts new file mode 100644 index 000000000000..5ce3840d83d3 --- /dev/null +++ b/arch/arm/boot/dts/imx6qp-sabreauto.dts | |||
@@ -0,0 +1,93 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Freescale Semiconductor, Inc. | ||
3 | * | ||
4 | * This file is dual-licensed: you can use it either under the terms | ||
5 | * of the GPL or the X11 license, at your option. Note that this dual | ||
6 | * licensing only applies to this file, and not this project as a | ||
7 | * whole. | ||
8 | * | ||
9 | * a) This file is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License as | ||
11 | * published by the Free Software Foundation; either version 2 of the | ||
12 | * License, or (at your option) any later version. | ||
13 | * | ||
14 | * This file is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | * Or, alternatively, | ||
20 | * | ||
21 | * b) Permission is hereby granted, free of charge, to any person | ||
22 | * obtaining a copy of this software and associated documentation | ||
23 | * files (the "Software"), to deal in the Software without | ||
24 | * restriction, including without limitation the rights to use, | ||
25 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
26 | * sell copies of the Software, and to permit persons to whom the | ||
27 | * Software is furnished to do so, subject to the following | ||
28 | * conditions: | ||
29 | * | ||
30 | * The above copyright notice and this permission notice shall be | ||
31 | * included in all copies or substantial portions of the Software. | ||
32 | * | ||
33 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
34 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
35 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
36 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
37 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
38 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
39 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
40 | * OTHER DEALINGS IN THE SOFTWARE. | ||
41 | */ | ||
42 | |||
43 | /dts-v1/; | ||
44 | |||
45 | #include "imx6qp.dtsi" | ||
46 | #include "imx6qdl-sabreauto.dtsi" | ||
47 | |||
48 | / { | ||
49 | model = "Freescale i.MX6 Quad Plus SABRE Automotive Board"; | ||
50 | compatible = "fsl,imx6qp-sabreauto", "fsl,imx6qp"; | ||
51 | }; | ||
52 | |||
53 | &i2c2 { | ||
54 | max7322: gpio@68 { | ||
55 | compatible = "maxim,max7322"; | ||
56 | reg = <0x68>; | ||
57 | gpio-controller; | ||
58 | #gpio-cells = <2>; | ||
59 | }; | ||
60 | }; | ||
61 | |||
62 | &iomuxc { | ||
63 | imx6qdl-sabreauto { | ||
64 | pinctrl_enet: enetgrp { | ||
65 | fsl,pins = < | ||
66 | MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0 | ||
67 | MX6QDL_PAD_KEY_COL2__ENET_MDC 0x1b0b0 | ||
68 | MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b018 | ||
69 | MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b018 | ||
70 | MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b018 | ||
71 | MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b018 | ||
72 | MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b018 | ||
73 | MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b018 | ||
74 | MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b018 | ||
75 | MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b018 | ||
76 | MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b018 | ||
77 | MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b018 | ||
78 | MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b018 | ||
79 | MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b018 | ||
80 | MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 | ||
81 | MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 | ||
82 | >; | ||
83 | }; | ||
84 | }; | ||
85 | }; | ||
86 | |||
87 | &pcie { | ||
88 | status = "disabled"; | ||
89 | }; | ||
90 | |||
91 | &vgen3_reg { | ||
92 | regulator-always-on; | ||
93 | }; | ||