diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-08-01 09:25:24 -0400 |
---|---|---|
committer | Jamie Iles <jamie@jamieiles.com> | 2011-09-26 11:12:07 -0400 |
commit | a14bf143b317f9c0944bc7aedfd85c07b3b04150 (patch) | |
tree | 6d9f615cfd0af2535dc74a02d2c1b344ceae1a0d /arch/arm/boot | |
parent | fee7565679e39039bdd8083e9f1a54151ffac6d9 (diff) |
picoxcell: add the DTS for the PC7302 board
The PC7302 board can be populated with either a PC3X2 or PC3X3 device.
Add DTS files for both variants of the PC7302.
v3: - remove bootargs from dts files
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dts | 86 | ||||
-rw-r--r-- | arch/arm/boot/dts/picoxcell-pc7302-pc3x3.dts | 92 |
2 files changed, 178 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dts b/arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dts new file mode 100644 index 000000000000..1297414dd649 --- /dev/null +++ b/arch/arm/boot/dts/picoxcell-pc7302-pc3x2.dts | |||
@@ -0,0 +1,86 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2011 Picochip, Jamie Iles | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | /include/ "picoxcell-pc3x2.dtsi" | ||
16 | / { | ||
17 | model = "Picochip PC7302 (PC3X2)"; | ||
18 | compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; | ||
19 | |||
20 | memory { | ||
21 | device_type = "memory"; | ||
22 | reg = <0x0 0x08000000>; | ||
23 | }; | ||
24 | |||
25 | chosen { | ||
26 | linux,stdout-path = &uart0; | ||
27 | }; | ||
28 | |||
29 | clocks { | ||
30 | ref_clk: clock@1 { | ||
31 | compatible = "fixed-clock"; | ||
32 | clock-outputs = "ref"; | ||
33 | clock-frequency = <20000000>; | ||
34 | }; | ||
35 | }; | ||
36 | |||
37 | rwid-axi { | ||
38 | ebi@50000000 { | ||
39 | nand: gpio-nand@2,0 { | ||
40 | compatible = "gpio-control-nand"; | ||
41 | #address-cells = <1>; | ||
42 | #size-cells = <1>; | ||
43 | reg = <2 0x0000 0x1000>; | ||
44 | bus-clock = <&pclk>, "bus"; | ||
45 | gpio-control-nand,io-sync-reg = | ||
46 | <0x00000000 0x80220000>; | ||
47 | |||
48 | gpios = <&banka 1 0 /* rdy */ | ||
49 | &banka 2 0 /* nce */ | ||
50 | &banka 3 0 /* ale */ | ||
51 | &banka 4 0 /* cle */ | ||
52 | 0 /* nwp */>; | ||
53 | |||
54 | boot@100000 { | ||
55 | label = "Boot"; | ||
56 | reg = <0x100000 0x80000>; | ||
57 | }; | ||
58 | |||
59 | redundant-boot@200000 { | ||
60 | label = "Redundant Boot"; | ||
61 | reg = <0x200000 0x80000>; | ||
62 | }; | ||
63 | |||
64 | boot-env@300000 { | ||
65 | label = "Boot Evironment"; | ||
66 | reg = <0x300000 0x20000>; | ||
67 | }; | ||
68 | |||
69 | redundant-boot-env@320000 { | ||
70 | label = "Redundant Boot Environment"; | ||
71 | reg = <0x300000 0x20000>; | ||
72 | }; | ||
73 | |||
74 | kernel@380000 { | ||
75 | label = "Kernel"; | ||
76 | reg = <0x380000 0x800000>; | ||
77 | }; | ||
78 | |||
79 | fs@b80000 { | ||
80 | label = "File System"; | ||
81 | reg = <0xb80000 0xf480000>; | ||
82 | }; | ||
83 | }; | ||
84 | }; | ||
85 | }; | ||
86 | }; | ||
diff --git a/arch/arm/boot/dts/picoxcell-pc7302-pc3x3.dts b/arch/arm/boot/dts/picoxcell-pc7302-pc3x3.dts new file mode 100644 index 000000000000..9e317a4f431c --- /dev/null +++ b/arch/arm/boot/dts/picoxcell-pc7302-pc3x3.dts | |||
@@ -0,0 +1,92 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2011 Picochip, Jamie Iles | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | /include/ "picoxcell-pc3x3.dtsi" | ||
16 | / { | ||
17 | model = "Picochip PC7302 (PC3X3)"; | ||
18 | compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; | ||
19 | |||
20 | memory { | ||
21 | device_type = "memory"; | ||
22 | reg = <0x0 0x08000000>; | ||
23 | }; | ||
24 | |||
25 | chosen { | ||
26 | linux,stdout-path = &uart0; | ||
27 | }; | ||
28 | |||
29 | clocks { | ||
30 | ref_clk: clock@10 { | ||
31 | compatible = "fixed-clock"; | ||
32 | clock-outputs = "ref"; | ||
33 | clock-frequency = <20000000>; | ||
34 | }; | ||
35 | |||
36 | clkgate: clkgate@800a0048 { | ||
37 | clock@4 { | ||
38 | picochip,clk-no-disable; | ||
39 | }; | ||
40 | }; | ||
41 | }; | ||
42 | |||
43 | rwid-axi { | ||
44 | ebi@50000000 { | ||
45 | nand: gpio-nand@2,0 { | ||
46 | compatible = "gpio-control-nand"; | ||
47 | #address-cells = <1>; | ||
48 | #size-cells = <1>; | ||
49 | reg = <2 0x0000 0x1000>; | ||
50 | bus-clock = <&ebi_clk>, "bus"; | ||
51 | gpio-control-nand,io-sync-reg = | ||
52 | <0x00000000 0x80220000>; | ||
53 | |||
54 | gpios = <&banka 1 0 /* rdy */ | ||
55 | &banka 2 0 /* nce */ | ||
56 | &banka 3 0 /* ale */ | ||
57 | &banka 4 0 /* cle */ | ||
58 | 0 /* nwp */>; | ||
59 | |||
60 | boot@100000 { | ||
61 | label = "Boot"; | ||
62 | reg = <0x100000 0x80000>; | ||
63 | }; | ||
64 | |||
65 | redundant-boot@200000 { | ||
66 | label = "Redundant Boot"; | ||
67 | reg = <0x200000 0x80000>; | ||
68 | }; | ||
69 | |||
70 | boot-env@300000 { | ||
71 | label = "Boot Evironment"; | ||
72 | reg = <0x300000 0x20000>; | ||
73 | }; | ||
74 | |||
75 | redundant-boot-env@320000 { | ||
76 | label = "Redundant Boot Environment"; | ||
77 | reg = <0x300000 0x20000>; | ||
78 | }; | ||
79 | |||
80 | kernel@380000 { | ||
81 | label = "Kernel"; | ||
82 | reg = <0x380000 0x800000>; | ||
83 | }; | ||
84 | |||
85 | fs@b80000 { | ||
86 | label = "File System"; | ||
87 | reg = <0xb80000 0xf480000>; | ||
88 | }; | ||
89 | }; | ||
90 | }; | ||
91 | }; | ||
92 | }; | ||