sparx5.dtsi (6694aee00a4b478d2dd82837f39b5dc9cbedfbcf) sparx5.dtsi (14bc6703b387cac2a9bec8f8d6bbffea63db43ea)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
4 */
5
6#include <dt-bindings/gpio/gpio.h>
7#include <dt-bindings/interrupt-controller/arm-gic.h>
8

--- 95 unchanged lines hidden (view full) ---

104 <0x6 0x00340000 0xc0000>, /* GICR */
105 <0x6 0x00200000 0x2000>, /* GICC */
106 <0x6 0x00210000 0x2000>, /* GICV */
107 <0x6 0x00220000 0x2000>; /* GICH */
108 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
109 };
110
111 uart0: serial@600100000 {
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
4 */
5
6#include <dt-bindings/gpio/gpio.h>
7#include <dt-bindings/interrupt-controller/arm-gic.h>
8

--- 95 unchanged lines hidden (view full) ---

104 <0x6 0x00340000 0xc0000>, /* GICR */
105 <0x6 0x00200000 0x2000>, /* GICC */
106 <0x6 0x00210000 0x2000>, /* GICV */
107 <0x6 0x00220000 0x2000>; /* GICH */
108 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
109 };
110
111 uart0: serial@600100000 {
112 pinctrl-0 = <&uart_pins>;
113 pinctrl-names = "default";
112 compatible = "ns16550a";
113 reg = <0x6 0x00100000 0x20>;
114 clocks = <&ahb_clk>;
115 reg-io-width = <4>;
116 reg-shift = <2>;
117 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
118
119 status = "disabled";
120 };
121
122 uart1: serial@600102000 {
114 compatible = "ns16550a";
115 reg = <0x6 0x00100000 0x20>;
116 clocks = <&ahb_clk>;
117 reg-io-width = <4>;
118 reg-shift = <2>;
119 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
120
121 status = "disabled";
122 };
123
124 uart1: serial@600102000 {
125 pinctrl-0 = <&uart2_pins>;
126 pinctrl-names = "default";
123 compatible = "ns16550a";
124 reg = <0x6 0x00102000 0x20>;
125 clocks = <&ahb_clk>;
126 reg-io-width = <4>;
127 reg-shift = <2>;
128 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
129
130 status = "disabled";
131 };
132
133 timer1: timer@600105000 {
134 compatible = "snps,dw-apb-timer";
135 reg = <0x6 0x00105000 0x1000>;
136 clocks = <&ahb_clk>;
137 clock-names = "timer";
138 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
139 };
140
127 compatible = "ns16550a";
128 reg = <0x6 0x00102000 0x20>;
129 clocks = <&ahb_clk>;
130 reg-io-width = <4>;
131 reg-shift = <2>;
132 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
133
134 status = "disabled";
135 };
136
137 timer1: timer@600105000 {
138 compatible = "snps,dw-apb-timer";
139 reg = <0x6 0x00105000 0x1000>;
140 clocks = <&ahb_clk>;
141 clock-names = "timer";
142 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
143 };
144
145 gpio: pinctrl@6110101e0 {
146 compatible = "microchip,sparx5-pinctrl";
147 reg = <0x6 0x110101e0 0x90>, <0x6 0x10508010 0x100>;
148 gpio-controller;
149 #gpio-cells = <2>;
150 gpio-ranges = <&gpio 0 0 64>;
151 interrupt-controller;
152 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
153 #interrupt-cells = <2>;
154
155 uart_pins: uart-pins {
156 pins = "GPIO_10", "GPIO_11";
157 function = "uart";
158 };
159
160 uart2_pins: uart2-pins {
161 pins = "GPIO_26", "GPIO_27";
162 function = "uart2";
163 };
164
165 };
166
141 };
142};
167 };
168};