Lines Matching +full:sp7021 +full:- +full:emac

1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for Sunplus SP7021
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>
17 compatible = "sunplus,sp7021";
18 model = "Sunplus SP7021";
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 {
116 emmc_pins: pinmux-emmc-pins {
121 leds_pins: pinmux-leds-pins {
125 sdcard_pins: pinmux-sdcard-pins {
131 spi0_pins: pinmux-spi0-pins {
141 uart0_pins: pinmux-uart0-pins {
146 uart1_pins: pinmux-uart1-pins {
153 uart2_pins: pinmux-uart2-pins {
162 uart4_pins: pinmux-uart4-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";
244 compatible = "sunplus,sp7021-uart";
249 pinctrl-names = "default";
250 pinctrl-0 = <&uart0_pins>;
254 compatible = "sunplus,sp7021-uart";
259 pinctrl-names = "default";
260 pinctrl-0 = <&uart1_pins>;
265 compatible = "sunplus,sp7021-uart";
270 pinctrl-names = "default";
271 pinctrl-0 = <&uart2_pins>;
276 compatible = "sunplus,sp7021-uart";
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";