lantiq: add Falcon support
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY98035SYNCE.dts
1 /dts-v1/;
2
3 #include "falcon.dtsi"
4 #include "falcon-sflash-16M.dtsi"
5
6 / {
7 model = "EASY98035SYNCE - Lantiq Falcon SFP Stick with SyncE";
8 compatible = "lantiq,falcon-easy98035synce", "lantiq,falcon-sfp", "lantiq,falcon";
9
10 chosen {
11 bootargs-append = "console=ttyLTQ0,115200 init=/etc/preinit";
12 };
13
14 aliases {
15 spi0 = &ebu_cs0;
16 };
17
18 memory@0 {
19 device_type = "memory";
20 reg = <0x0 0x4000000>; // 64M at 0x0
21 };
22
23 pinctrl {
24 compatible = "lantiq,pinctrl-falcon";
25
26 asc0_func1: func1 {
27 func1_tx {
28 lantiq,pins = "io32";
29 lantiq,mux = <1>;
30 lantiq,input = <0>;
31 };
32 func1_rx {
33 lantiq,pins = "io33";
34 lantiq,mux = <0>;
35 };
36 };
37 asc0_func2: func2 {
38 func2_tx {
39 lantiq,pins = "io32";
40 lantiq,mux = <0>;
41 };
42 func2_rx {
43 lantiq,pins = "io33";
44 lantiq,mux = <1>;
45 lantiq,input = <0>;
46 };
47 };
48 asc0_func3: func3 {
49 func3_tx {
50 lantiq,pins = "io32";
51 lantiq,mux = <1>;
52 lantiq,input = <0>;
53 };
54 func3_rx {
55 lantiq,pins = "io33";
56 lantiq,mux = <1>;
57 lantiq,input = <0>;
58 };
59 };
60 };
61
62 pinselect-asc0 {
63 compatible = "lantiq,pinselect-asc0";
64 pinctrl-names = "asc0", "func1", "func2", "func3";
65 pinctrl-0 = <&asc0_pins>;
66 pinctrl-1 = <&asc0_func1>;
67 pinctrl-2 = <&asc0_func2>;
68 pinctrl-3 = <&asc0_func3>;
69 };
70 };
71
72 &serial0 {
73 pinctrl-names = "default";
74 /* use "empty" pinctrl to leave setting from u-boot enabled */
75 pinctrl-0 = < >;
76 };
77
78 &i2c {
79 status = "okay";
80 };