2012-08-15 17:07:35 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-29 12:31:50 +00:00
|
|
|
#include "dove.dtsi"
|
2012-08-15 17:07:35 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "SolidRun CuBox";
|
|
|
|
compatible = "solidrun,cubox", "marvell,dove";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
2012-12-27 22:21:10 +00:00
|
|
|
pinctrl-0 = <&pmx_gpio_18>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2012-08-15 17:07:35 +00:00
|
|
|
power {
|
|
|
|
label = "Power";
|
|
|
|
gpios = <&gpio0 18 1>;
|
2013-10-14 17:37:55 +00:00
|
|
|
default-state = "keep";
|
2012-08-15 17:07:35 +00:00
|
|
|
};
|
|
|
|
};
|
2012-12-27 22:21:59 +00:00
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
usb_power: regulator@1 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <1>;
|
|
|
|
regulator-name = "USB Power";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
gpio = <&gpio0 1 0>;
|
2013-07-29 12:29:04 +00:00
|
|
|
pinctrl-0 = <&pmx_gpio_1>;
|
|
|
|
pinctrl-names = "default";
|
2012-12-27 22:21:59 +00:00
|
|
|
};
|
|
|
|
};
|
2013-04-30 17:24:35 +00:00
|
|
|
|
|
|
|
clocks {
|
|
|
|
/* 25MHz reference crystal */
|
|
|
|
ref25: oscillator {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
};
|
2013-07-29 12:29:05 +00:00
|
|
|
|
|
|
|
ir_recv: ir-receiver {
|
|
|
|
compatible = "gpio-ir-receiver";
|
|
|
|
gpios = <&gpio0 19 1>;
|
|
|
|
pinctrl-0 = <&pmx_gpio_19>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2012-08-15 17:07:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 { status = "okay"; };
|
|
|
|
&sata0 { status = "okay"; };
|
2013-07-02 11:00:18 +00:00
|
|
|
&mdio { status = "okay"; };
|
|
|
|
ð { status = "okay"; };
|
|
|
|
|
|
|
|
ðphy {
|
|
|
|
compatible = "marvell,88e1310";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
2013-04-30 17:24:35 +00:00
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
|
|
|
|
si5351: clock-generator {
|
|
|
|
compatible = "silabs,si5351a-msop";
|
|
|
|
reg = <0x60>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
|
|
|
/* connect xtal input to 25MHz reference */
|
|
|
|
clocks = <&ref25>;
|
|
|
|
|
|
|
|
/* connect xtal input as source of pll0 and pll1 */
|
|
|
|
silabs,pll-source = <0 0>, <1 0>;
|
|
|
|
|
|
|
|
clkout0 {
|
|
|
|
reg = <0>;
|
|
|
|
silabs,drive-strength = <8>;
|
|
|
|
silabs,multisynth-source = <0>;
|
|
|
|
silabs,clock-source = <0>;
|
|
|
|
silabs,pll-master;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkout2 {
|
|
|
|
reg = <2>;
|
2013-10-08 18:20:27 +00:00
|
|
|
silabs,drive-strength = <8>;
|
2013-04-30 17:24:35 +00:00
|
|
|
silabs,multisynth-source = <1>;
|
|
|
|
silabs,clock-source = <0>;
|
2013-10-08 18:20:27 +00:00
|
|
|
silabs,pll-master;
|
2013-04-30 17:24:35 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2012-08-15 17:07:35 +00:00
|
|
|
|
2012-12-18 00:24:29 +00:00
|
|
|
&sdio0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-08-15 17:07:35 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
/* spi0.0: 4M Flash Winbond W25Q32BV */
|
|
|
|
spi-flash@0 {
|
|
|
|
compatible = "st,w25q32";
|
|
|
|
spi-max-frequency = <20000000>;
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
2013-10-08 18:56:17 +00:00
|
|
|
|
|
|
|
&audio1 {
|
|
|
|
status = "okay";
|
|
|
|
clocks = <&gate_clk 13>, <&si5351 2>;
|
|
|
|
clock-names = "internal", "extclk";
|
|
|
|
pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|