brcm63xx: fix image generation and broken patch
[oweals/openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
1 /dts-v1/;
2
3 /include/ "bcm6358.dtsi"
4
5 / {
6         model = "Comtrend CT-6373";
7         compatible = "comtrend,ct-6373", "brcm,bcm6358";
8 /*
9         spi-gpio {
10                 #address-cells = <1>;
11                 #size-cells = <1>;
12                 compatible = "spi-gpio";
13
14                 gpio-mosi = <&gpio0 7 0>;
15                 gpio-sck = <&gpio0 6 0>;
16                 num-chipselects = <0>;
17
18                 hc595: gpio-spi-controller@0 {
19                         compatible = "fairchild,74hc595";
20                         reg = <0>;
21                         registers-number = <1>;
22                         spi-max-frequency = <100000>;
23
24                         gpio-controller;
25                         #gpio-cells = <2>;
26                 };
27         };
28 */
29         gpio-keys-polled {
30                 compatible = "gpio-keys-polled";
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33                 poll-interval = <20>;
34                 debounce-interval = <60>;
35
36                 reset {
37                         label = "reset";
38                         gpios = <&gpio1 3 1>;
39                         linux,code = <0x198>;
40                 };
41         };
42
43         gpio-leds {
44                 compatible = "gpio-leds";
45
46                 power_green {
47                         label = "CT6373-1:green:power";
48                         gpios = <&gpio0 0 0>;
49                         default-state = "on";
50                 };
51                 usb_green {
52                         label = "CT6373-1:green:usb";
53                         gpios = <&gpio0 3 1>;
54                 };
55                 wlan_green {
56                         label = "CT6373-1:green:wlan";
57                         gpios = <&gpio0 9 1>;
58                 };
59 /*
60                 dsl_green {
61                         label = "CT6373-1:green:adsl";
62                         gpios = <&hc595 0 1>;
63                 };
64                 line_green {
65                         label = "CT6373-1:green:line";
66                         gpios = <&hc595 1 1>;
67                 };
68                 fxs1_green {
69                         label = "CT6373-1:green:fxs1";
70                         gpios = <&hc595 2 1>;
71                 };
72                 fxs2_green {
73                         label = "CT6373-1:green:fxs2";
74                         gpios = <&hc595 3 1>;
75                 };
76 */
77         };
78 };
79
80 &pflash {
81         status = "ok";
82
83         linux,part-probe = "bcm63xxpart";
84
85         cfe@0 {
86                 label = "CFE";
87                 reg = <0x000000 0x010000>;
88                 read-only;
89         };
90
91         linux@10000 {
92                 label = "linux";
93                 reg = <0x010000 0x7e0000>;
94         };
95
96         nvram@7f0000 {
97                 label = "nvram";
98                 reg = <0x7f0000 0x010000>;
99         };
100 };