Lines Matching +full:serial +full:- +full:pins

1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/sunplus,sp7021-clkc.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/reset/sunplus,sp7021-reset.h>
11 #include <dt-bindings/pinctrl/sppctl-sp7021.h>
12 #include <dt-bindings/gpio/gpio.h>
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <XTAL>;
25 clock-output-names = "extclk";
30 compatible = "simple-bus";
31 #address-cells = <1>;
32 #size-cells = <1>;
34 interrupt-parent = <&intc>;
36 clkc: clock-controller@4 {
37 compatible = "sunplus,sp7021-clkc";
42 #clock-cells = <1>;
45 intc: interrupt-controller@780 {
46 compatible = "sunplus,sp7021-intc";
48 interrupt-controller;
49 #interrupt-cells = <2>;
53 compatible = "sunplus,sp7021-ocotp";
55 reg-names = "hb_gpio", "otprx";
58 #address-cells = <1>;
59 #size-cells = <1>;
61 therm_calib: thermal-calibration@14 {
64 disc_vol: disconnect-voltage@18 {
67 mac_addr0: mac-address0@34 {
70 mac_addr1: mac-address1@3a {
76 compatible = "sunplus,sp7021-pctl";
81 reg-names = "moon2", "gpioxt", "first", "moon1";
82 gpio-controller;
83 #gpio-cells = <2>;
87 emac_pins: pinmux-emac-pins {
88 sunplus,pins = <
116 emmc_pins: pinmux-emmc-pins {
121 leds_pins: pinmux-leds-pins {
122 sunplus,pins = < SPPCTL_IOPAD(0,SPPCTL_PCTL_G_GPIO,0,SPPCTL_PCTL_L_OUT) >;
125 sdcard_pins: pinmux-sdcard-pins {
128 sunplus,pins = < SPPCTL_IOPAD(91, SPPCTL_PCTL_G_GPIO, 0, 0) >;
131 spi0_pins: pinmux-spi0-pins {
132 sunplus,pins = <
141 uart0_pins: pinmux-uart0-pins {
146 uart1_pins: pinmux-uart1-pins {
147 sunplus,pins = <
153 uart2_pins: pinmux-uart2-pins {
154 sunplus,pins = <
162 uart4_pins: pinmux-uart4-pins {
163 sunplus,pins = <
173 compatible = "sunplus,sp7021-reset";
175 #reset-cells = <1>;
179 compatible = "sunplus,sp7021-rtc";
181 reg-names = "rtc";
188 compatible = "sunplus,sp7021-spi";
190 reg-names = "master", "slave";
194 interrupt-names = "dma_w", "master_risc", "slave_risc";
198 pinctrl-names = "default";
199 pinctrl-0 = <&spi0_pins>;
200 cs-gpios = <&pctl 26 GPIO_ACTIVE_LOW>,
205 compatible = "sunplus,sp7021-spi";
207 reg-names = "master", "slave";
211 interrupt-names = "dma_w", "master_risc", "slave_risc";
218 compatible = "sunplus,sp7021-spi";
220 reg-names = "master", "slave";
224 interrupt-names = "dma_w", "master_risc", "slave_risc";
231 compatible = "sunplus,sp7021-spi";
233 reg-names = "master", "slave";
237 interrupt-names = "dma_w", "master_risc", "slave_risc";
243 uart0: serial@900 {
244 compatible = "sunplus,sp7021-uart";
249 pinctrl-names = "default";
250 pinctrl-0 = <&uart0_pins>;
253 uart1: serial@980 {
254 compatible = "sunplus,sp7021-uart";
259 pinctrl-names = "default";
260 pinctrl-0 = <&uart1_pins>;
264 uart2: serial@800 {
265 compatible = "sunplus,sp7021-uart";
270 pinctrl-names = "default";
271 pinctrl-0 = <&uart2_pins>;
275 uart3: serial@880 {
276 compatible = "sunplus,sp7021-uart";
284 uart4: serial@8780 {
285 compatible = "sunplus,sp7021-uart";
290 pinctrl-names = "default";
291 pinctrl-0 = <&uart4_pins>;
297 compatible = "gpio-leds";
298 pinctrl-names = "default";
299 pinctrl-0 = <&leds_pins>;
300 system-led {
301 label = "system-led";
303 default-state = "off";
304 linux,default-trigger = "heartbeat";