OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "mt7621.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "thunder,timecloud", "mediatek,mt7621-soc";
10 model = "Thunder Timecloud";
11  
12 memory@0 {
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
15 };
16  
17 chosen {
18 bootargs = "console=ttyS0,115200";
19 };
20  
3 office 21 gpio-leds {
1 office 22 compatible = "gpio-leds";
23  
24 statw {
25 label = "timecloud:white:status";
26 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
27 };
28  
3 office 29 stato {
1 office 30 label = "timecloud:orange:status";
31 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
32 };
3 office 33  
1 office 34 };
35  
3 office 36 gpio-keys-polled {
1 office 37 compatible = "gpio-keys-polled";
3 office 38 #address-cells = <1>;
39 #size-cells = <0>;
1 office 40 poll-interval = <20>;
41  
42 reset {
43 label = "reset";
44 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
46 };
47  
48 BTN_0 {
49 label = "BTN_0";
50 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
51 linux,code = <BTN_0>;
52 };
53 };
54 };
55  
56 &sdhci {
57 status = "okay";
3 office 58  
59 pinctrl-names = "default";
60 pinctrl-0 = <&sdhci_pins>;
1 office 61 };
62  
63 &spi0 {
64 status = "okay";
65  
66 m25p80@0 {
3 office 67 #address-cells = <1>;
68 #size-cells = <1>;
1 office 69 compatible = "jedec,spi-nor";
70 reg = <0>;
71 spi-max-frequency = <10000000>;
3 office 72 m25p,chunked-io = <32>;
1 office 73  
3 office 74 partition@0 {
75 label = "u-boot";
76 reg = <0x0 0x30000>;
77 read-only;
78 };
1 office 79  
3 office 80 partition@30000 {
81 label = "u-boot-env";
82 reg = <0x30000 0x10000>;
83 read-only;
84 };
1 office 85  
3 office 86 factory: partition@40000 {
87 label = "factory";
88 reg = <0x40000 0x10000>;
89 read-only;
90 };
1 office 91  
3 office 92 partition@50000 {
93 label = "firmware";
94 reg = <0x50000 0xfb0000>;
1 office 95 };
96 };
97 };
98  
99 &ethernet {
100 mtd-mac-address = <&factory 0xe000>;
101 };
102  
103 &pinctrl {
104 state_default: pinctrl0 {
105 gpio {
106 ralink,group = "i2c", "uart2", "jtag";
107 ralink,function = "gpio";
108 };
109 };
110 };