Commit | Line | Data |
---|---|---|
1f5e6c63 SH |
1 | /dts-v1/; |
2 | ||
fbd99d51 | 3 | #include "dove.dtsi" |
1f5e6c63 SH |
4 | |
5 | / { | |
6 | model = "SolidRun CuBox"; | |
7 | compatible = "solidrun,cubox", "marvell,dove"; | |
8 | ||
9 | memory { | |
10 | device_type = "memory"; | |
11 | reg = <0x00000000 0x40000000>; | |
12 | }; | |
13 | ||
14 | chosen { | |
15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
16 | }; | |
17 | ||
18 | leds { | |
19 | compatible = "gpio-leds"; | |
e35e40cd SH |
20 | pinctrl-0 = <&pmx_gpio_18>; |
21 | pinctrl-names = "default"; | |
22 | ||
1f5e6c63 SH |
23 | power { |
24 | label = "Power"; | |
25 | gpios = <&gpio0 18 1>; | |
dcdf14c7 | 26 | default-state = "keep"; |
1f5e6c63 SH |
27 | }; |
28 | }; | |
41e364bb SH |
29 | |
30 | regulators { | |
31 | compatible = "simple-bus"; | |
32 | #address-cells = <1>; | |
33 | #size-cells = <0>; | |
34 | ||
35 | usb_power: regulator@1 { | |
36 | compatible = "regulator-fixed"; | |
37 | reg = <1>; | |
38 | regulator-name = "USB Power"; | |
39 | regulator-min-microvolt = <5000000>; | |
40 | regulator-max-microvolt = <5000000>; | |
41 | enable-active-high; | |
42 | regulator-always-on; | |
43 | regulator-boot-on; | |
44 | gpio = <&gpio0 1 0>; | |
535fb344 SH |
45 | pinctrl-0 = <&pmx_gpio_1>; |
46 | pinctrl-names = "default"; | |
41e364bb SH |
47 | }; |
48 | }; | |
53e9cb1d SH |
49 | |
50 | clocks { | |
51 | /* 25MHz reference crystal */ | |
52 | ref25: oscillator { | |
53 | compatible = "fixed-clock"; | |
54 | #clock-cells = <0>; | |
55 | clock-frequency = <25000000>; | |
56 | }; | |
57 | }; | |
3bba6797 SH |
58 | |
59 | ir_recv: ir-receiver { | |
60 | compatible = "gpio-ir-receiver"; | |
61 | gpios = <&gpio0 19 1>; | |
62 | pinctrl-0 = <&pmx_gpio_19>; | |
63 | pinctrl-names = "default"; | |
64 | }; | |
1f5e6c63 SH |
65 | }; |
66 | ||
67 | &uart0 { status = "okay"; }; | |
1f5e6c63 | 68 | &sata0 { status = "okay"; }; |
4c3f6b86 SH |
69 | &mdio { status = "okay"; }; |
70 | ð { status = "okay"; }; | |
71 | ||
72 | ðphy { | |
73 | compatible = "marvell,88e1310"; | |
74 | reg = <1>; | |
75 | }; | |
53e9cb1d SH |
76 | |
77 | &i2c0 { | |
78 | status = "okay"; | |
79 | clock-frequency = <100000>; | |
80 | ||
81 | si5351: clock-generator { | |
82 | compatible = "silabs,si5351a-msop"; | |
83 | reg = <0x60>; | |
84 | #address-cells = <1>; | |
85 | #size-cells = <0>; | |
86 | #clock-cells = <1>; | |
87 | ||
88 | /* connect xtal input to 25MHz reference */ | |
89 | clocks = <&ref25>; | |
ba0a1ff8 | 90 | clock-names = "xtal"; |
53e9cb1d SH |
91 | |
92 | /* connect xtal input as source of pll0 and pll1 */ | |
93 | silabs,pll-source = <0 0>, <1 0>; | |
94 | ||
95 | clkout0 { | |
96 | reg = <0>; | |
97 | silabs,drive-strength = <8>; | |
98 | silabs,multisynth-source = <0>; | |
99 | silabs,clock-source = <0>; | |
100 | silabs,pll-master; | |
101 | }; | |
102 | ||
53e9cb1d SH |
103 | clkout2 { |
104 | reg = <2>; | |
1deb122c | 105 | silabs,drive-strength = <8>; |
53e9cb1d SH |
106 | silabs,multisynth-source = <1>; |
107 | silabs,clock-source = <0>; | |
1deb122c | 108 | silabs,pll-master; |
53e9cb1d SH |
109 | }; |
110 | }; | |
111 | }; | |
1f5e6c63 | 112 | |
9e1c96ed SH |
113 | &sdio0 { |
114 | status = "okay"; | |
9e1c96ed SH |
115 | }; |
116 | ||
1f5e6c63 SH |
117 | &spi0 { |
118 | status = "okay"; | |
119 | ||
120 | /* spi0.0: 4M Flash Winbond W25Q32BV */ | |
121 | spi-flash@0 { | |
122 | compatible = "st,w25q32"; | |
123 | spi-max-frequency = <20000000>; | |
124 | reg = <0>; | |
125 | }; | |
126 | }; | |
34ea5342 JFM |
127 | |
128 | &audio1 { | |
129 | status = "okay"; | |
130 | clocks = <&gate_clk 13>, <&si5351 2>; | |
131 | clock-names = "internal", "extclk"; | |
132 | pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>; | |
133 | pinctrl-names = "default"; | |
134 | }; |