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