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