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