1/dts-v1/; 2 3#include "dove.dtsi" 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"; 20 pinctrl-0 = <&pmx_gpio_18>; 21 pinctrl-names = "default"; 22 23 power { 24 label = "Power"; 25 gpios = <&gpio0 18 1>; 26 default-state = "keep"; 27 }; 28 }; 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>; 45 pinctrl-0 = <&pmx_gpio_1>; 46 pinctrl-names = "default"; 47 }; 48 }; 49 50 clocks { 51 /* 25MHz reference crystal */ 52 ref25: oscillator { 53 compatible = "fixed-clock"; 54 #clock-cells = <0>; 55 clock-frequency = <25000000>; 56 }; 57 }; 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 };
| 1/dts-v1/; 2 3#include "dove.dtsi" 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"; 20 pinctrl-0 = <&pmx_gpio_18>; 21 pinctrl-names = "default"; 22 23 power { 24 label = "Power"; 25 gpios = <&gpio0 18 1>; 26 default-state = "keep"; 27 }; 28 }; 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>; 45 pinctrl-0 = <&pmx_gpio_1>; 46 pinctrl-names = "default"; 47 }; 48 }; 49 50 clocks { 51 /* 25MHz reference crystal */ 52 ref25: oscillator { 53 compatible = "fixed-clock"; 54 #clock-cells = <0>; 55 clock-frequency = <25000000>; 56 }; 57 }; 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 };
|
| 65 66 gpu-subsystem { 67 status = "okay"; 68 };
|
65}; 66 67&uart0 { status = "okay"; }; 68&sata0 { status = "okay"; }; 69&mdio { status = "okay"; }; 70ð { status = "okay"; }; 71 72ðphy { 73 compatible = "marvell,88e1310"; 74 reg = <1>; 75}; 76
| 69}; 70 71&uart0 { status = "okay"; }; 72&sata0 { status = "okay"; }; 73&mdio { status = "okay"; }; 74ð { status = "okay"; }; 75 76ðphy { 77 compatible = "marvell,88e1310"; 78 reg = <1>; 79}; 80
|
| 81&gpu { 82 status = "okay"; 83}; 84
|
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>;
| 85&i2c0 { 86 status = "okay"; 87 clock-frequency = <100000>; 88 89 si5351: clock-generator { 90 compatible = "silabs,si5351a-msop"; 91 reg = <0x60>; 92 #address-cells = <1>; 93 #size-cells = <0>; 94 #clock-cells = <1>; 95 96 /* connect xtal input to 25MHz reference */ 97 clocks = <&ref25>;
|
| 98 clock-names = "xtal";
|
90 91 /* connect xtal input as source of pll0 and pll1 */ 92 silabs,pll-source = <0 0>, <1 0>; 93 94 clkout0 { 95 reg = <0>; 96 silabs,drive-strength = <8>; 97 silabs,multisynth-source = <0>; 98 silabs,clock-source = <0>; 99 silabs,pll-master; 100 }; 101 102 clkout2 { 103 reg = <2>; 104 silabs,drive-strength = <8>; 105 silabs,multisynth-source = <1>; 106 silabs,clock-source = <0>; 107 silabs,pll-master; 108 }; 109 }; 110}; 111 112&sdio0 { 113 status = "okay"; 114}; 115 116&spi0 { 117 status = "okay"; 118 119 /* spi0.0: 4M Flash Winbond W25Q32BV */ 120 spi-flash@0 { 121 compatible = "st,w25q32"; 122 spi-max-frequency = <20000000>; 123 reg = <0>; 124 }; 125}; 126 127&audio1 { 128 status = "okay"; 129 clocks = <&gate_clk 13>, <&si5351 2>; 130 clock-names = "internal", "extclk"; 131 pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>; 132 pinctrl-names = "default"; 133};
| 99 100 /* connect xtal input as source of pll0 and pll1 */ 101 silabs,pll-source = <0 0>, <1 0>; 102 103 clkout0 { 104 reg = <0>; 105 silabs,drive-strength = <8>; 106 silabs,multisynth-source = <0>; 107 silabs,clock-source = <0>; 108 silabs,pll-master; 109 }; 110 111 clkout2 { 112 reg = <2>; 113 silabs,drive-strength = <8>; 114 silabs,multisynth-source = <1>; 115 silabs,clock-source = <0>; 116 silabs,pll-master; 117 }; 118 }; 119}; 120 121&sdio0 { 122 status = "okay"; 123}; 124 125&spi0 { 126 status = "okay"; 127 128 /* spi0.0: 4M Flash Winbond W25Q32BV */ 129 spi-flash@0 { 130 compatible = "st,w25q32"; 131 spi-max-frequency = <20000000>; 132 reg = <0>; 133 }; 134}; 135 136&audio1 { 137 status = "okay"; 138 clocks = <&gate_clk 13>, <&si5351 2>; 139 clock-names = "internal", "extclk"; 140 pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>; 141 pinctrl-names = "default"; 142};
|