1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/clock/ingenic,sysost.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "yna,cu1830-neo", "ingenic,x1830";
11 model = "YSH & ATIL General Board CU1830-Neo";
18 stdout-path = "serial1:115200n8";
22 device_type = "memory";
23 reg = <0x0 0x08000000>;
27 compatible = "gpio-leds";
29 gpios = <&gpc 17 GPIO_ACTIVE_HIGH>;
30 linux,default-trigger = "mmc0";
34 wlan_pwrseq: msc1-pwrseq {
35 compatible = "mmc-pwrseq-simple";
37 reset-gpios = <&gpc 13 GPIO_ACTIVE_LOW>;
38 post-power-on-delay-ms = <200>;
43 clock-frequency = <24000000>;
48 * Use the 32.768 kHz oscillator as the parent of the RTC for a higher
51 assigned-clocks = <&cgu X1830_CLK_RTC>;
52 assigned-clock-parents = <&cgu X1830_CLK_RTCLK>;
56 /* 1500 kHz for the system timer and clocksource */
57 assigned-clocks = <&ost OST_CLK_EVENT_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>;
58 assigned-clock-rates = <1500000>, <1500000>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pins_uart1>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pins_ssi0>;
76 sc16is752: expander@0 {
77 compatible = "nxp,sc16is752";
80 spi-rx-bus-width = <1>;
81 spi-tx-bus-width = <1>;
82 spi-max-frequency = <4000000>;
84 clocks = <&exclk_sc16is752>;
86 interrupt-parent = <&gpb>;
87 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
92 exclk_sc16is752: sc16is752 {
93 compatible = "fixed-clock";
95 clock-frequency = <48000000>;
103 clock-frequency = <400000>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pins_i2c0>;
109 compatible = "ti,ads7830";
122 max-frequency = <50000000>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pins_msc0>;
133 #address-cells = <1>;
136 max-frequency = <50000000>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pins_msc1>;
143 mmc-pwrseq = <&wlan_pwrseq>;
146 compatible = "brcm,bcm4329-fmac";
149 interrupt-parent = <&gpc>;
150 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
151 interrupt-names = "host-wake";
153 brcm,drive-strength = <10>;
161 phy-handle = <&ip101gr>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pins_mac>;
166 snps,reset-gpio = <&gpb 28 GPIO_ACTIVE_LOW>; /* PB28 */
167 snps,reset-active-low;
168 snps,reset-delays-us = <0 10000 30000>;
174 ip101gr: ethernet-phy@0 {
175 compatible = "ethernet-phy-id0243.0c54", "ethernet-phy-ieee802.3-c22";
191 groups = "uart1-data";
197 groups = "ssi0-dt", "ssi0-dr", "ssi0-clk", "ssi0-ce0", "ssi0-ce1";
203 groups = "i2c0-data";
209 groups = "mmc0-1bit", "mmc0-4bit";
215 groups = "mmc1-1bit", "mmc1-4bit";