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}; 87