5829ee5262c8dd0f454a2f6938478bc892e48d97
[librecmc/librecmc.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         aliases {
9                 led-usb = &usb1;
10                 led-usb2 = &usb2;
11         };
12
13         fpi@10000000 {
14                 localbus@0 {
15                         nand-parts@0 {
16                                 compatible = "gen_nand", "lantiq,nand-xway";
17                                 lantiq,cs = <1>;
18                                 bank-width = <2>;
19                                 reg = <0 0x0 0x2000000>;
20                                 #address-cells = <1>;
21                                 #size-cells = <1>;
22
23                                 partitions {
24                                         compatible = "fixed-partitions";
25                                         #address-cells = <1>;
26                                         #size-cells = <1>;
27
28                                         partition@0 {
29                                                 label = "uboot";
30                                                 reg = <0x00000 0x40000>;
31                                         };
32                                         partition@40000 {
33                                                 label = "uboot-env";
34                                                 reg = <0x40000 0x20000>;
35                                         };
36                                         partition@60000 {
37                                                 label = "kernel";
38                                                 reg = <0x60000 0x200000>;
39                                         };
40                                         partition@260000 {
41                                                 label = "ubi";
42                                                 reg = <0x260000 0x7da0000>;
43                                         };
44                                 };
45                         };
46                 };
47                 pcie@d900000 {
48                         status = "disabled";
49                 };
50         };
51
52         ralink_eep {
53                 compatible = "ralink,eeprom";
54                 ralink,eeprom = "RT3062.eeprom";
55         };
56
57         gpio-leds {
58                 usb1: usb1 {
59                         label = "p2812hnuf1:green:usb1";
60                         gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
61                 };
62                 usb2: usb2 {
63                         label = "p2812hnuf1:green:usb2";
64                         gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
65                 };
66         };
67 };