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";
35 compatible = "spi-gpio";
38 num-chipselects = <1>;
40 mosi-gpios = <&gpc 12 GPIO_ACTIVE_HIGH>;
41 miso-gpios = <&gpc 11 GPIO_ACTIVE_HIGH>;
42 sck-gpios = <&gpc 15 GPIO_ACTIVE_HIGH>;
43 cs-gpios = <&gpc 16 GPIO_ACTIVE_HIGH>;
47 spi-max-frequency = <50000000>;
49 sc16is752: expander@0 {
50 compatible = "nxp,sc16is752";
52 spi-max-frequency = <4000000>;
54 clocks = <&exclk_sc16is752>;
56 interrupt-parent = <&gpb>;
57 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
62 exclk_sc16is752: sc16is752 {
63 compatible = "fixed-clock";
65 clock-frequency = <48000000>;
70 wlan_pwrseq: msc1-pwrseq {
71 compatible = "mmc-pwrseq-simple";
73 reset-gpios = <&gpc 13 GPIO_ACTIVE_LOW>;
74 post-power-on-delay-ms = <200>;
79 clock-frequency = <24000000>;
84 * Use the 32.768 kHz oscillator as the parent of the RTC for a higher
87 assigned-clocks = <&cgu X1830_CLK_RTC>;
88 assigned-clock-parents = <&cgu X1830_CLK_RTCLK>;
92 /* 1500 kHz for the system timer and clocksource */
93 assigned-clocks = <&ost OST_CLK_PERCPU_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>;
94 assigned-clock-rates = <1500000>, <1500000>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pins_uart1>;
107 clock-frequency = <400000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pins_i2c0>;
113 compatible = "ti,ads7830";
126 max-frequency = <50000000>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&pins_msc0>;
137 #address-cells = <1>;
140 max-frequency = <50000000>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pins_msc1>;
147 mmc-pwrseq = <&wlan_pwrseq>;
150 compatible = "brcm,bcm4329-fmac";
153 interrupt-parent = <&gpc>;
154 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
155 interrupt-names = "host-wake";
157 brcm,drive-strength = <10>;
165 phy-handle = <&ip101gr>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pins_mac>;
170 snps,reset-gpio = <&gpb 28 GPIO_ACTIVE_LOW>; /* PB28 */
171 snps,reset-active-low;
172 snps,reset-delays-us = <0 10000 30000>;
178 ip101gr: ethernet-phy@0 {
179 compatible = "ethernet-phy-id0243.0c54", "ethernet-phy-ieee802.3-c22";
195 groups = "uart1-data";
201 groups = "i2c0-data";
207 groups = "mmc0-1bit", "mmc0-4bit";
213 groups = "mmc1-1bit", "mmc1-4bit";