OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7621.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | #include <dt-bindings/gpio/gpio.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc"; |
||
3 | office | 10 | model = "MikroTik RB750Gr3"; |
1 | office | 11 | |
12 | memory@0 { |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x10000000>; |
||
15 | }; |
||
16 | |||
17 | chosen { |
||
3 | office | 18 | bootargs = "console=ttyS0,57600"; |
1 | office | 19 | }; |
20 | |||
3 | office | 21 | gpio-leds { |
1 | office | 22 | compatible = "gpio-leds"; |
23 | |||
24 | pwr { |
||
25 | label = "rb750gr3:blue:pwr"; |
||
26 | gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; |
||
27 | }; |
||
28 | |||
3 | office | 29 | usr { |
1 | office | 30 | label = "rb750gr3:green:usr"; |
31 | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
||
32 | }; |
||
33 | }; |
||
34 | |||
3 | office | 35 | gpio-keys-polled { |
1 | office | 36 | compatible = "gpio-keys-polled"; |
3 | office | 37 | #address-cells = <1>; |
38 | #size-cells = <0>; |
||
1 | office | 39 | poll-interval = <20>; |
40 | |||
41 | mode { |
||
42 | label = "mode"; |
||
43 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
3 | office | 44 | linux,code = <KEY_RFKILL>; |
1 | office | 45 | }; |
46 | |||
3 | office | 47 | res { |
48 | label = "res"; |
||
1 | office | 49 | gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |
50 | linux,code = <KEY_RESTART>; |
||
51 | }; |
||
52 | }; |
||
53 | |||
54 | gpio_export { |
||
55 | compatible = "gpio-export"; |
||
56 | #size-cells = <0>; |
||
57 | |||
3 | office | 58 | buzzer { |
59 | gpio-export,name = "buzzer"; |
||
60 | gpio-export,output = <0>; |
||
61 | gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; |
||
62 | }; |
||
63 | |||
64 | usb { |
||
65 | gpio-export,name = "usb"; |
||
1 | office | 66 | gpio-export,output = <1>; |
67 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
||
68 | }; |
||
69 | }; |
||
70 | }; |
||
71 | |||
72 | &spi0 { |
||
73 | status = "okay"; |
||
74 | |||
3 | office | 75 | m25p80@0 { |
76 | #address-cells = <1>; |
||
77 | #size-cells = <1>; |
||
1 | office | 78 | compatible = "jedec,spi-nor"; |
79 | reg = <0>; |
||
3 | office | 80 | spi-max-frequency = <10000000>; |
81 | m25p,chunked-io = <32>; |
||
1 | office | 82 | |
3 | office | 83 | partition@0 { |
84 | label = "u-boot"; |
||
85 | reg = <0x0 0x30000>; |
||
86 | read-only; |
||
87 | }; |
||
1 | office | 88 | |
3 | office | 89 | partition@30000 { |
90 | label = "u-boot-env"; |
||
91 | reg = <0x30000 0x10000>; |
||
92 | read-only; |
||
93 | }; |
||
1 | office | 94 | |
3 | office | 95 | factory: partition@40000 { |
96 | label = "factory"; |
||
97 | reg = <0x40000 0x10000>; |
||
98 | read-only; |
||
99 | }; |
||
1 | office | 100 | |
3 | office | 101 | partition@50000 { |
102 | label = "firmware"; |
||
103 | reg = <0x50000 0xfb0000>; |
||
104 | }; |
||
1 | office | 105 | |
106 | }; |
||
107 | }; |
||
108 | |||
109 | ðernet { |
||
3 | office | 110 | mtd-mac-address = <&factory 0xe000>; |
1 | office | 111 | mtd-mac-address-increment = <1>; |
112 | }; |
||
113 | |||
114 | &pinctrl { |
||
115 | state_default: pinctrl0 { |
||
116 | gpio { |
||
3 | office | 117 | ralink,group = "i2c", "uart2", "uart3", "pcie", "rgmii2", "jtag"; |
1 | office | 118 | ralink,function = "gpio"; |
119 | }; |
||
120 | }; |
||
121 | }; |
||
122 | |||
123 | &sdhci { |
||
124 | status = "okay"; |
||
125 | }; |