Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "dove.dtsi"
0005 
0006 / {
0007         model = "SolidRun CuBox";
0008         compatible = "solidrun,cubox", "marvell,dove";
0009 
0010         memory {
0011                 device_type = "memory";
0012                 reg = <0x00000000 0x40000000>;
0013         };
0014 
0015         chosen {
0016                 bootargs = "console=ttyS0,115200n8 earlyprintk";
0017         };
0018 
0019         leds {
0020                 compatible = "gpio-leds";
0021                 pinctrl-0 = <&pmx_gpio_18>;
0022                 pinctrl-names = "default";
0023 
0024                 power {
0025                         label = "Power";
0026                         gpios = <&gpio0 18 1>;
0027                         default-state = "keep";
0028                 };
0029         };
0030 
0031         regulators {
0032                 compatible = "simple-bus";
0033                 #address-cells = <1>;
0034                 #size-cells = <0>;
0035 
0036                 usb_power: regulator@1 {
0037                         compatible = "regulator-fixed";
0038                         reg = <1>;
0039                         regulator-name = "USB Power";
0040                         regulator-min-microvolt = <5000000>;
0041                         regulator-max-microvolt = <5000000>;
0042                         enable-active-high;
0043                         regulator-always-on;
0044                         regulator-boot-on;
0045                         gpio = <&gpio0 1 0>;
0046                         pinctrl-0 = <&pmx_gpio_1>;
0047                         pinctrl-names = "default";
0048                 };
0049         };
0050 
0051         clocks {
0052                 /* 25MHz reference crystal */
0053                 ref25: oscillator {
0054                         compatible = "fixed-clock";
0055                         #clock-cells = <0>;
0056                         clock-frequency = <25000000>;
0057                 };
0058         };
0059 
0060         ir_recv: ir-receiver {
0061                 compatible = "gpio-ir-receiver";
0062                 gpios = <&gpio0 19 1>;
0063                 pinctrl-0 = <&pmx_gpio_19>;
0064                 pinctrl-names = "default";
0065         };
0066 
0067         gpu-subsystem {
0068                 status = "okay";
0069         };
0070 };
0071 
0072 &uart0 { status = "okay"; };
0073 &sata0 { status = "okay"; };
0074 &mdio { status = "okay"; };
0075 &eth { status = "okay"; };
0076 
0077 &ethphy {
0078         compatible = "marvell,88e1310";
0079         reg = <1>;
0080 };
0081 
0082 &gpu {
0083         status = "okay";
0084 };
0085 
0086 &i2c0 {
0087         status = "okay";
0088         clock-frequency = <100000>;
0089 
0090         si5351: clock-generator@60 {
0091                 compatible = "silabs,si5351a-msop";
0092                 reg = <0x60>;
0093                 #address-cells = <1>;
0094                 #size-cells = <0>;
0095                 #clock-cells = <1>;
0096 
0097                 /* connect xtal input to 25MHz reference */
0098                 clocks = <&ref25>;
0099                 clock-names = "xtal";
0100 
0101                 /* connect xtal input as source of pll0 and pll1 */
0102                 silabs,pll-source = <0 0>, <1 0>;
0103 
0104                 clkout0 {
0105                         reg = <0>;
0106                         silabs,drive-strength = <8>;
0107                         silabs,multisynth-source = <0>;
0108                         silabs,clock-source = <0>;
0109                         silabs,pll-master;
0110                 };
0111 
0112                 clkout2 {
0113                         reg = <2>;
0114                         silabs,drive-strength = <8>;
0115                         silabs,multisynth-source = <1>;
0116                         silabs,clock-source = <0>;
0117                         silabs,pll-master;
0118                 };
0119         };
0120 };
0121 
0122 &sdio0 {
0123         status = "okay";
0124 };
0125 
0126 &spi0 {
0127         status = "okay";
0128 
0129         /* spi0.0: 4M Flash Winbond W25Q32BV */
0130         flash@0 {
0131                 compatible = "st,w25q32";
0132                 spi-max-frequency = <20000000>;
0133                 reg = <0>;
0134         };
0135 };
0136 
0137 &audio1 {
0138         status = "okay";
0139         clocks = <&gate_clk 13>, <&si5351 2>;
0140         clock-names = "internal", "extclk";
0141         pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>;
0142         pinctrl-names = "default";
0143 };