10bc4b1c054bcf8104bb8c9b7c1a14f2d09a2fd3
[openwrt/openwrt.git] / target / linux / lantiq / dts / P2812HNUF1.dts
1 /dts-v1/;
2
3 /include/ "P2812HNUFX.dtsi"
4
5 / {
6 model = "P2812HNUF1 - ZyXEL P-2812HNU-F1";
7
8 chosen {
9 leds {
10 usb = &usb1;
11 usb2 = &usb2;
12 };
13 };
14
15 fpi@10000000 {
16 localbus@0 {
17 nand-parts@0 {
18 compatible = "gen_nand", "lantiq,nand-xway";
19 lantiq,cs = <1>;
20 bank-width = <2>;
21 reg = <0 0x0 0x2000000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partitions {
26 compatible = "fixed-partitions";
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "uboot";
32 reg = <0x00000 0x40000>;
33 };
34 partition@40000 {
35 label = "uboot-env";
36 reg = <0x40000 0x20000>;
37 };
38 partition@60000 {
39 label = "kernel";
40 reg = <0x60000 0x200000>;
41 };
42 partition@260000 {
43 label = "ubi";
44 reg = <0x260000 0x7da0000>;
45 };
46 };
47 };
48 };
49 pcie@d900000 {
50 status = "disabled";
51 };
52 };
53
54 ralink_eep {
55 compatible = "ralink,eeprom";
56 ralink,eeprom = "RT3062.eeprom";
57 };
58
59 gpio-leds {
60 usb1: usb1 {
61 label = "p2812hnuf1:green:usb1";
62 gpios = <&gpio 38 1>;
63 };
64 usb2: usb2 {
65 label = "p2812hnuf1:green:usb2";
66 gpios = <&gpio 44 1>;
67 };
68 };
69 };