OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | /dts-v1/; |
1 | /dts-v1/; |
|
2 | |
2 | |
|
3 | #include <dt-bindings/gpio/gpio.h> |
3 | #include <dt-bindings/gpio/gpio.h> |
|
4 | |
4 | |
|
5 | #include "falcon.dtsi" |
5 | #include "falcon.dtsi" |
|
6 | #include "falcon-sflash-16M.dtsi" |
6 | #include "falcon-sflash-16M.dtsi" |
|
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | model = "Lantiq Falcon Reference Board"; |
9 | model = "Lantiq Falcon Reference Board"; |
|
10 | compatible = "lantiq,easy98020", "lantiq,falcon"; |
10 | compatible = "lantiq,easy98020", "lantiq,falcon"; |
|
11 | |
11 | |
|
12 | aliases { |
12 | aliases { |
|
13 | spi0 = &ebu_cs0; |
13 | spi0 = &ebu_cs0; |
|
14 | }; |
14 | }; |
|
15 | |
15 | |
|
16 | memory@0 { |
16 | memory@0 { |
|
17 | device_type = "memory"; |
17 | device_type = "memory"; |
|
18 | reg = <0x0 0x4000000>; // 64M at 0x0 |
18 | reg = <0x0 0x4000000>; // 64M at 0x0 |
|
19 | }; |
19 | }; |
|
20 | |
20 | |
|
21 | gpio-keys { |
21 | gpio-keys { |
|
22 | compatible = "gpio-keys"; |
22 | compatible = "gpio-keys"; |
|
23 | reset { |
23 | reset { |
|
24 | label = "reset"; |
24 | label = "reset"; |
|
25 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
25 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
|
26 | linux,code = <0x198>; |
26 | linux,code = <0x198>; |
|
27 | }; |
27 | }; |
|
28 | }; |
28 | }; |
|
29 | |
29 | |
|
30 | pinctrl { |
30 | pinctrl { |
|
31 | led_pins: phy-led-pins { |
31 | led_pins: phy-led-pins { |
|
32 | lantiq,pins = "io42", "io41", "io38", "io37"; |
32 | lantiq,pins = "io42", "io41", "io38", "io37"; |
|
33 | lantiq,function = "gpio"; |
33 | lantiq,function = "gpio"; |
|
34 | }; |
34 | }; |
|
35 | }; |
35 | }; |
|
36 | |
36 | |
|
37 | easy98020-leds { |
37 | easy98020-leds { |
|
38 | compatible = "gpio-leds"; |
38 | compatible = "gpio-leds"; |
|
39 | pinctrl-names = "default"; |
39 | pinctrl-names = "default"; |
|
40 | pinctrl-0 = <&bootled_pins>; |
40 | pinctrl-0 = <&bootled_pins>; |
|
41 | |
41 | |
|
42 | GPON { |
42 | GPON { |
|
43 | label = "easy98020:green:gpon"; |
43 | label = "easy98020:green:gpon"; |
|
44 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
44 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
|
45 | default-state = "keep"; |
45 | default-state = "keep"; |
|
46 | }; |
46 | }; |
|
47 | TEST { |
47 | TEST { |
|
48 | label = "easy98020:green:test"; |
48 | label = "easy98020:green:test"; |
|
49 | gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; |
49 | gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; |
|
50 | default-state = "keep"; |
50 | default-state = "keep"; |
|
51 | }; |
51 | }; |
|
52 | ETH { |
52 | ETH { |
|
53 | label = "easy98020:green:status"; |
53 | label = "easy98020:green:status"; |
|
54 | gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
54 | gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
|
55 | default-state = "keep"; |
55 | default-state = "keep"; |
|
56 | }; |
56 | }; |
|
57 | VOICE { |
57 | VOICE { |
|
58 | label = "easy98020:green:voice"; |
58 | label = "easy98020:green:voice"; |
|
59 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
59 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
|
60 | default-state = "keep"; |
60 | default-state = "keep"; |
|
61 | }; |
61 | }; |
|
62 | VIDEO { |
62 | VIDEO { |
|
63 | label = "easy98020:green:video"; |
63 | label = "easy98020:green:video"; |
|
64 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
64 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
|
65 | default-state = "keep"; |
65 | default-state = "keep"; |
|
66 | }; |
66 | }; |
|
67 | }; |
67 | }; |
|
68 | |
68 | |
|
69 | easy98020-phy-leds { |
69 | easy98020-phy-leds { |
|
70 | compatible = "gpio-leds"; |
70 | compatible = "gpio-leds"; |
|
71 | pinctrl-names = "default"; |
71 | pinctrl-names = "default"; |
|
72 | pinctrl-0 = <&led_pins>; |
72 | pinctrl-0 = <&led_pins>; |
|
73 | |
73 | |
|
74 | GE0_ACT { |
74 | GE0_ACT { |
|
75 | label = "easy98020:ge0_act"; |
75 | label = "easy98020:ge0_act"; |
|
76 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
76 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
|
- | 77 | default-state = "off"; |
||
77 | }; |
78 | }; |
|
78 | GE0_LINK { |
79 | GE0_LINK { |
|
79 | label = "easy98020:ge0_link"; |
80 | label = "easy98020:ge0_link"; |
|
80 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
81 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
|
- | 82 | default-state = "off"; |
||
81 | }; |
83 | }; |
|
82 | GE1_ACT { |
84 | GE1_ACT { |
|
83 | label = "easy98020:ge1_act"; |
85 | label = "easy98020:ge1_act"; |
|
84 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
86 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
|
- | 87 | default-state = "off"; |
||
85 | }; |
88 | }; |
|
86 | GE1_LINK { |
89 | GE1_LINK { |
|
87 | label = "easy98020:ge1_link"; |
90 | label = "easy98020:ge1_link"; |
|
88 | gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
91 | gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; |
|
- | 92 | default-state = "off"; |
||
89 | }; |
93 | }; |
|
90 | }; |
94 | }; |
|
91 | }; |
95 | }; |
|
92 | |
96 | |