dc60935e059918475a843196217a539a095b5baf
[openwrt.git] / target / linux / ramips / dts / CARAMBOLA.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "CARAMBOLA", "ralink,rt3050-soc";
9         model = "8devices Carambola";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmmux = "uartlite", "sdram", "rgmii";
22                         ralink,gpiommux = "i2c", "spi", "jtag", "mdio";
23                         ralink,uartmux = "gpio";
24                         ralink,wdtmux = <1>;
25                 };
26
27                 gpio0: gpio@600 {
28                         status = "okay";
29                 };
30
31         };
32
33         cfi@1f000000 {
34                 compatible = "cfi-flash";
35                 reg = <0x1f000000 0x800000>;
36
37                 bank-width = <2>;
38                 device-width = <2>;
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41         };
42
43         ethernet@10100000 {
44                 status = "okay";
45         };
46
47         esw@10110000 {
48                 status = "okay";
49                 ralink,portmap = <0x3f>;
50         };
51
52         wmac@10180000 {
53                 status = "okay";
54         };
55
56         otg@101c0000 {
57                 status = "okay";
58         };
59
60         i2c-gpio {
61                 compatible = "i2c-gpio";
62
63                 gpios = <&gpio0 1 0 &gpio0 2 0>; 
64                 i2c-gpio,delay-us = <10>;
65         };
66 };