[ramips] move memory detect node to dtsi files
[openwrt.git] / target / linux / ramips / dts / CARAMBOLA.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "CARAMBOLA", "ralink,rt3050-soc";
7         model = "8devices Carambola";
8
9         chosen {
10                 bootargs = "console=ttyS0,115200";
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "uartlite", "sdram", "rgmii";
16                         ralink,gpiomux = "i2c", "spi", "jtag", "mdio";
17                         ralink,uartmux = "gpio";
18                         ralink,wdtmux = <1>;
19                 };
20
21                 gpio0: gpio@600 {
22                         status = "okay";
23                 };
24
25         };
26
27         cfi@1f000000 {
28                 compatible = "cfi-flash";
29                 reg = <0x1f000000 0x800000>;
30
31                 bank-width = <2>;
32                 device-width = <2>;
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35
36                 partition@0 {
37                         label = "u-boot";
38                         reg = <0x0 0x30000>;
39                         read-only;
40                 };
41
42                 partition@30000 {
43                         label = "u-boot-env";
44                         reg = <0x30000 0x10000>;
45                         read-only;
46                 };
47
48                 factory: partition@40000 {
49                         label = "factory";
50                         reg = <0x40000 0x10000>;
51                         read-only;
52                 };
53
54                 partition@50000 {
55                         label = "firmware";
56                         reg = <0x50000 0x7b0000>;
57                 };
58         };
59
60         ethernet@10100000 {
61                 status = "okay";
62         };
63
64         esw@10110000 {
65                 status = "okay";
66                 ralink,portmap = <0x3f>;
67         };
68
69         wmac@10180000 {
70                 status = "okay";
71         };
72
73         otg@101c0000 {
74                 status = "okay";
75         };
76
77         i2c-gpio {
78                 compatible = "i2c-gpio";
79
80                 gpios = <&gpio0 1 0 &gpio0 2 0>;
81                 i2c-gpio,delay-us = <10>;
82         };
83 };