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