diff options
| author | Richard Zhao <richard.zhao@linaro.org> | 2011-12-13 20:26:46 -0500 |
|---|---|---|
| committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-14 08:25:45 -0500 |
| commit | 3c8276c6bc912025db50ff7e93af6bc7c3de0c8c (patch) | |
| tree | f3604c8204787e2cc8cd1fba2f743f8d40d27388 | |
| parent | 8f9ffecfa9c6d4d813e6fa9f20f549b01f8d070e (diff) | |
arm/imx6: add imx6q sabrelite board support
- Add basic board dts file
- Add board compatible string to mach-imx6q.
- Update fsl DT board doc.
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| -rw-r--r-- | Documentation/devicetree/bindings/arm/fsl.txt | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/imx6q-sabrelite.dts | 49 | ||||
| -rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index c9848ad0e2e3..d4e50adbba4a 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt | |||
| @@ -24,3 +24,7 @@ Required root node properties: | |||
| 24 | i.MX6 Quad SABRE Automotive Board | 24 | i.MX6 Quad SABRE Automotive Board |
| 25 | Required root node properties: | 25 | Required root node properties: |
| 26 | - compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; | 26 | - compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; |
| 27 | |||
| 28 | i.MX6 Quad SABRE Lite Board | ||
| 29 | Required root node properties: | ||
| 30 | - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; | ||
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts new file mode 100644 index 000000000000..08d920de7286 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. | ||
| 3 | * Copyright 2011 Linaro Ltd. | ||
| 4 | * | ||
| 5 | * The code contained herein is licensed under the GNU General Public | ||
| 6 | * License. You may obtain a copy of the GNU General Public License | ||
| 7 | * Version 2 or later at the following locations: | ||
| 8 | * | ||
| 9 | * http://www.opensource.org/licenses/gpl-license.html | ||
| 10 | * http://www.gnu.org/copyleft/gpl.html | ||
| 11 | */ | ||
| 12 | |||
| 13 | /dts-v1/; | ||
| 14 | /include/ "imx6q.dtsi" | ||
| 15 | |||
| 16 | / { | ||
| 17 | model = "Freescale i.MX6 Quad SABRE Lite Board"; | ||
| 18 | compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; | ||
| 19 | |||
| 20 | memory { | ||
| 21 | reg = <0x10000000 0x40000000>; | ||
| 22 | }; | ||
| 23 | |||
| 24 | soc { | ||
| 25 | aips-bus@02100000 { /* AIPS2 */ | ||
| 26 | enet@02188000 { | ||
| 27 | phy-mode = "rgmii"; | ||
| 28 | phy-reset-gpios = <&gpio3 23 0>; | ||
| 29 | status = "okay"; | ||
| 30 | }; | ||
| 31 | |||
| 32 | usdhc@02198000 { /* uSDHC3 */ | ||
| 33 | cd-gpios = <&gpio7 0 0>; | ||
| 34 | wp-gpios = <&gpio7 1 0>; | ||
| 35 | status = "okay"; | ||
| 36 | }; | ||
| 37 | |||
| 38 | usdhc@0219c000 { /* uSDHC4 */ | ||
| 39 | cd-gpios = <&gpio2 6 0>; | ||
| 40 | wp-gpios = <&gpio2 7 0>; | ||
| 41 | status = "okay"; | ||
| 42 | }; | ||
| 43 | |||
| 44 | uart2: uart@021e8000 { | ||
| 45 | status = "okay"; | ||
| 46 | }; | ||
| 47 | }; | ||
| 48 | }; | ||
| 49 | }; | ||
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 8deb012189b5..d24d6c485eee 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
| @@ -73,6 +73,7 @@ static struct sys_timer imx6q_timer = { | |||
| 73 | 73 | ||
| 74 | static const char *imx6q_dt_compat[] __initdata = { | 74 | static const char *imx6q_dt_compat[] __initdata = { |
| 75 | "fsl,imx6q-sabreauto", | 75 | "fsl,imx6q-sabreauto", |
| 76 | "fsl,imx6q-sabrelite", | ||
| 76 | NULL, | 77 | NULL, |
| 77 | }; | 78 | }; |
| 78 | 79 | ||
