Root/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts

1/*
2 * rbt-832.dts - Device Tree file for Tigal RBT-832
3 *
4 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
5 *
6 * Licensed under GPLv2
7 */
8
9/dts-v1/;
10/include/ "mcs8140.dtsi"
11
12/ {
13    model = "Tigal RBT-832";
14    compatible = "tigal,rbt-832", "moschip,mcs8140", "moschip,mcs814x";
15
16    chosen {
17        bootargs = "mem=32M console=ttyS0,115200 earlyprintk";
18    };
19
20    ahb {
21        vci {
22            eth0: ethernet@40084000 {
23                nuport-mac,link-activity = <0x01>;
24            };
25
26            adc {
27                sdram: memory@0,0 {
28                    reg = <0 0 0x2000000>;
29                };
30
31                nor: flash@7,0 {
32
33                    partition@0 {
34                        label = "ArmBoot";
35                        reg = <0 0x40000>;
36                    };
37                    partition@30000 {
38                        label = "Enviroment";
39                        reg = <0x40000 0x20000>;
40                    };
41                    partition@50000 {
42                        label = "bZimage";
43                        reg = <0x60000 0x1a0000>;
44                    };
45                    partition@150000 {
46                        label = "UserFS";
47                        reg = <0x200000 0x600000>;
48                    };
49                };
50            };
51
52            leds {
53                compatible = "gpio-leds";
54
55                ethernet {
56                    label = "rbt-832:red:ethernet";
57                    gpios = <&gpio 0 0>; // gpio 0 active high
58                };
59
60                usb0 {
61                    label = "rbt-832:red:usb0";
62                    gpios = <&gpio 4 0>; // gpio 4 active high
63                };
64
65                usb1 {
66                    label = "rbt-832:red:usb1";
67                    gpios = <&gpio 3 0>; // gpio 3 active high
68                };
69
70                usb2 {
71                    label = "rbt-832:red:usb2";
72                    gpios = <&gpio 2 0>; // gpio 2 active high
73                };
74
75                usb3 {
76                    label = "rbt-832:red:usb3";
77                    gpios = <&gpio 1 0>; // gpio 1 active high
78                };
79            };
80        };
81    };
82};
83
84

Archive Download this file



interactive