• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 *  Copyright (C) 2011 Picochip, Jamie Iles
4 */
5
6/dts-v1/;
7/include/ "picoxcell-pc3x3.dtsi"
8/ {
9	model = "Picochip PC7302 (PC3X3)";
10	compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3";
11
12	memory {
13		device_type = "memory";
14		reg = <0x0 0x08000000>;
15	};
16
17	chosen {
18		stdout-path = &uart0;
19	};
20
21	clocks {
22		ref_clk: clock@10 {
23			compatible = "fixed-clock";
24			clock-outputs = "ref";
25			clock-frequency = <20000000>;
26		};
27
28		clkgate: clkgate@800a0048 {
29			clock@4 {
30				picochip,clk-no-disable;
31			};
32		};
33	};
34
35	rwid-axi {
36		ebi@50000000 {
37			nand: gpio-nand@2,0 {
38				compatible = "gpio-control-nand";
39				#address-cells = <1>;
40				#size-cells = <1>;
41				reg = <2 0x0000 0x1000>;
42				bus-clock = <&ebi_clk>, "bus";
43				gpio-control-nand,io-sync-reg =
44					<0x00000000 0x80220000>;
45
46				gpios = <&banka 1 0	/* rdy */
47					 &banka 2 0 	/* nce */
48					 &banka 3 0 	/* ale */
49					 &banka 4 0 	/* cle */
50					 0		/* nwp */>;
51
52				boot@100000 {
53					label = "Boot";
54					reg = <0x100000 0x80000>;
55				};
56
57				redundant-boot@200000 {
58					label = "Redundant Boot";
59					reg = <0x200000 0x80000>;
60				};
61
62				boot-env@300000 {
63					label = "Boot Evironment";
64					reg = <0x300000 0x20000>;
65				};
66
67				redundant-boot-env@320000 {
68					label = "Redundant Boot Environment";
69					reg = <0x300000 0x20000>;
70				};
71
72				kernel@380000 {
73					label = "Kernel";
74					reg = <0x380000 0x800000>;
75				};
76
77				fs@b80000 {
78					label = "File System";
79					reg = <0xb80000 0xf480000>;
80				};
81			};
82		};
83	};
84};
85