diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-02-26 03:28:30 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-30 04:38:51 -0400 |
commit | 54183bd7f7662930ec52ef6bbe20ed1a805262d7 (patch) | |
tree | 26aac5bed644c0bd1be97a12989ef01f6ac1e18c /arch/arm/boot/dts | |
parent | 1bb733f64f2abdf5bf113244ace3e4083bac4f91 (diff) |
ARM: imx6sx-sdb: add revb board and make it default
Since imx6sx-sdb reva board is experimental and will not be used
formally (eg, no software release based on it), we set revb board
as the formal imx6sx-sdb board.
The imx6sx-sdb uses pfuse200 as pmic which has only one power supply
for both VDDARM_IN and VDDSOC_IN, so VDDARM_IN and VDDSOC_IN have to
use the same (higher one in the same frequency) one as its power supply,
that's the reason we override the OPP setting in board dts file.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 145 |
2 files changed, 147 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 92d0389e3092..4a4ae422481b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -302,7 +302,8 @@ dtb-$(CONFIG_SOC_IMX6SL) += \ | |||
302 | imx6sl-evk.dtb | 302 | imx6sl-evk.dtb |
303 | dtb-$(CONFIG_SOC_IMX6SX) += \ | 303 | dtb-$(CONFIG_SOC_IMX6SX) += \ |
304 | imx6sx-sabreauto.dtb \ | 304 | imx6sx-sabreauto.dtb \ |
305 | imx6sx-sdb-reva.dtb | 305 | imx6sx-sdb-reva.dtb \ |
306 | imx6sx-sdb.dtb | ||
306 | dtb-$(CONFIG_SOC_LS1021A) += \ | 307 | dtb-$(CONFIG_SOC_LS1021A) += \ |
307 | ls1021a-qds.dtb \ | 308 | ls1021a-qds.dtb \ |
308 | ls1021a-twr.dtb | 309 | ls1021a-twr.dtb |
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts new file mode 100644 index 000000000000..0bfc4e7865b2 --- /dev/null +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -0,0 +1,145 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2015 Freescale Semiconductor, Inc. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #include "imx6sx-sdb.dtsi" | ||
10 | |||
11 | / { | ||
12 | model = "Freescale i.MX6 SoloX SDB RevB Board"; | ||
13 | }; | ||
14 | |||
15 | &cpu0 { | ||
16 | operating-points = < | ||
17 | /* kHz uV */ | ||
18 | 996000 1250000 | ||
19 | 792000 1175000 | ||
20 | 396000 1175000 | ||
21 | >; | ||
22 | fsl,soc-operating-points = < | ||
23 | /* ARM kHz SOC uV */ | ||
24 | 996000 1250000 | ||
25 | 792000 1175000 | ||
26 | 396000 1175000 | ||
27 | >; | ||
28 | }; | ||
29 | |||
30 | &i2c1 { | ||
31 | clock-frequency = <100000>; | ||
32 | pinctrl-names = "default"; | ||
33 | pinctrl-0 = <&pinctrl_i2c1>; | ||
34 | status = "okay"; | ||
35 | |||
36 | pmic: pfuze100@08 { | ||
37 | compatible = "fsl,pfuze200"; | ||
38 | reg = <0x08>; | ||
39 | |||
40 | regulators { | ||
41 | sw1a_reg: sw1ab { | ||
42 | regulator-min-microvolt = <300000>; | ||
43 | regulator-max-microvolt = <1875000>; | ||
44 | regulator-boot-on; | ||
45 | regulator-always-on; | ||
46 | regulator-ramp-delay = <6250>; | ||
47 | }; | ||
48 | |||
49 | sw2_reg: sw2 { | ||
50 | regulator-min-microvolt = <800000>; | ||
51 | regulator-max-microvolt = <3300000>; | ||
52 | regulator-boot-on; | ||
53 | regulator-always-on; | ||
54 | }; | ||
55 | |||
56 | sw3a_reg: sw3a { | ||
57 | regulator-min-microvolt = <400000>; | ||
58 | regulator-max-microvolt = <1975000>; | ||
59 | regulator-boot-on; | ||
60 | regulator-always-on; | ||
61 | }; | ||
62 | |||
63 | sw3b_reg: sw3b { | ||
64 | regulator-min-microvolt = <400000>; | ||
65 | regulator-max-microvolt = <1975000>; | ||
66 | regulator-boot-on; | ||
67 | regulator-always-on; | ||
68 | }; | ||
69 | |||
70 | swbst_reg: swbst { | ||
71 | regulator-min-microvolt = <5000000>; | ||
72 | regulator-max-microvolt = <5150000>; | ||
73 | }; | ||
74 | |||
75 | snvs_reg: vsnvs { | ||
76 | regulator-min-microvolt = <1000000>; | ||
77 | regulator-max-microvolt = <3000000>; | ||
78 | regulator-boot-on; | ||
79 | regulator-always-on; | ||
80 | }; | ||
81 | |||
82 | vref_reg: vrefddr { | ||
83 | regulator-boot-on; | ||
84 | regulator-always-on; | ||
85 | }; | ||
86 | |||
87 | vgen1_reg: vgen1 { | ||
88 | regulator-min-microvolt = <800000>; | ||
89 | regulator-max-microvolt = <1550000>; | ||
90 | regulator-always-on; | ||
91 | }; | ||
92 | |||
93 | vgen2_reg: vgen2 { | ||
94 | regulator-min-microvolt = <800000>; | ||
95 | regulator-max-microvolt = <1550000>; | ||
96 | }; | ||
97 | |||
98 | vgen3_reg: vgen3 { | ||
99 | regulator-min-microvolt = <1800000>; | ||
100 | regulator-max-microvolt = <3300000>; | ||
101 | regulator-always-on; | ||
102 | }; | ||
103 | |||
104 | vgen4_reg: vgen4 { | ||
105 | regulator-min-microvolt = <1800000>; | ||
106 | regulator-max-microvolt = <3300000>; | ||
107 | regulator-always-on; | ||
108 | }; | ||
109 | |||
110 | vgen5_reg: vgen5 { | ||
111 | regulator-min-microvolt = <1800000>; | ||
112 | regulator-max-microvolt = <3300000>; | ||
113 | regulator-always-on; | ||
114 | }; | ||
115 | |||
116 | vgen6_reg: vgen6 { | ||
117 | regulator-min-microvolt = <1800000>; | ||
118 | regulator-max-microvolt = <3300000>; | ||
119 | regulator-always-on; | ||
120 | }; | ||
121 | }; | ||
122 | }; | ||
123 | }; | ||
124 | |||
125 | &qspi2 { | ||
126 | pinctrl-names = "default"; | ||
127 | pinctrl-0 = <&pinctrl_qspi2>; | ||
128 | status = "okay"; | ||
129 | |||
130 | flash0: n25q256a@0 { | ||
131 | #address-cells = <1>; | ||
132 | #size-cells = <1>; | ||
133 | compatible = "micron,n25q256a"; | ||
134 | spi-max-frequency = <29000000>; | ||
135 | reg = <0>; | ||
136 | }; | ||
137 | |||
138 | flash1: n25q256a@1 { | ||
139 | #address-cells = <1>; | ||
140 | #size-cells = <1>; | ||
141 | compatible = "micron,n25q256a"; | ||
142 | spi-max-frequency = <29000000>; | ||
143 | reg = <1>; | ||
144 | }; | ||
145 | }; | ||