1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Altera Corporation. All rights reserved.
9 model = "Altera NiosII Max10";
10 compatible = "altr,niosii-max10";
20 compatible = "altr,nios2-1.1";
23 #interrupt-cells = <1>;
24 altr,exception-addr = <0xc8000120>;
25 altr,fast-tlb-miss-addr = <0xc0000100>;
27 altr,has-initda = <1>;
30 altr,implementation = "fast";
31 altr,pid-num-bits = <8>;
32 altr,reset-addr = <0xd4000000>;
33 altr,tlb-num-entries = <256>;
34 altr,tlb-num-ways = <16>;
35 altr,tlb-ptr-sz = <8>;
36 clock-frequency = <75000000>;
37 dcache-line-size = <32>;
38 dcache-size = <32768>;
39 icache-line-size = <32>;
40 icache-size = <32768>;
45 device_type = "memory";
46 reg = <0x08000000 0x08000000>,
47 <0x00000000 0x00000400>;
55 compatible = "altr,avalon", "simple-bus";
56 bus-frequency = <75000000>;
58 jtag_uart: serial@18001530 {
59 compatible = "altr,juart-1.0";
60 reg = <0x18001530 0x00000008>;
61 interrupt-parent = <&cpu>;
65 a_16550_uart_0: serial@18001600 {
66 compatible = "altr,16550-FIFO32", "ns16550a";
67 reg = <0x18001600 0x00000200>;
68 interrupt-parent = <&cpu>;
70 auto-flow-control = <1>;
71 clock-frequency = <50000000>;
78 sysid: sysid@18001528 {
79 compatible = "altr,sysid-1.0";
80 reg = <0x18001528 0x00000008>;
82 timestamp = <1431309290>;
85 rgmii_0_eth_tse_0: ethernet@400 {
86 compatible = "altr,tse-msgdma-1.0", "altr,tse-1.0";
87 reg = <0x00000400 0x00000400>,
88 <0x00000820 0x00000020>,
89 <0x00000800 0x00000020>,
90 <0x000008c0 0x00000008>,
91 <0x00000840 0x00000020>,
92 <0x00000860 0x00000020>;
93 reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc";
94 interrupt-parent = <&cpu>;
96 interrupt-names = "rx_irq", "tx_irq";
97 rx-fifo-depth = <8192>;
98 tx-fifo-depth = <8192>;
100 max-frame-size = <1518>;
101 local-mac-address = [00 00 00 00 00 00];
102 altr,has-supplementary-unicast;
103 altr,enable-sup-addr = <1>;
104 altr,has-hash-multicast-filter;
105 altr,enable-hash = <1>;
106 phy-mode = "rgmii-id";
107 phy-handle = <&phy0>;
108 rgmii_0_eth_tse_0_mdio: mdio {
109 compatible = "altr,tse-mdio";
110 #address-cells = <1>;
112 phy0: ethernet-phy@0 {
114 device_type = "ethernet-phy";
120 compatible = "altr,pll-1.0";
123 enet_pll_c0: enet_pll_c0 {
124 compatible = "fixed-clock";
126 clock-frequency = <125000000>;
127 clock-output-names = "enet_pll-c0";
130 enet_pll_c1: enet_pll_c1 {
131 compatible = "fixed-clock";
133 clock-frequency = <25000000>;
134 clock-output-names = "enet_pll-c1";
137 enet_pll_c2: enet_pll_c2 {
138 compatible = "fixed-clock";
140 clock-frequency = <2500000>;
141 clock-output-names = "enet_pll-c2";
146 compatible = "altr,pll-1.0";
149 sys_pll_c0: sys_pll_c0 {
150 compatible = "fixed-clock";
152 clock-frequency = <100000000>;
153 clock-output-names = "sys_pll-c0";
156 sys_pll_c1: sys_pll_c1 {
157 compatible = "fixed-clock";
159 clock-frequency = <50000000>;
160 clock-output-names = "sys_pll-c1";
163 sys_pll_c2: sys_pll_c2 {
164 compatible = "fixed-clock";
166 clock-frequency = <75000000>;
167 clock-output-names = "sys_pll-c2";
171 sys_clk_timer: timer@18001440 {
172 compatible = "altr,timer-1.0";
173 reg = <0x18001440 0x00000020>;
174 interrupt-parent = <&cpu>;
176 clock-frequency = <75000000>;
179 led_pio: gpio@180014d0 {
180 compatible = "altr,pio-1.0";
181 reg = <0x180014d0 0x00000010>;
187 button_pio: gpio@180014c0 {
188 compatible = "altr,pio-1.0";
189 reg = <0x180014c0 0x00000010>;
190 interrupt-parent = <&cpu>;
193 altr,interrupt-type = <2>;
200 sys_clk_timer_1: timer@880 {
201 compatible = "altr,timer-1.0";
202 reg = <0x00000880 0x00000020>;
203 interrupt-parent = <&cpu>;
205 clock-frequency = <75000000>;
209 compatible = "gpio-leds";
213 gpios = <&led_pio 0 1>;
218 gpios = <&led_pio 1 1>;
223 gpios = <&led_pio 2 1>;
228 gpios = <&led_pio 3 1>;
234 bootargs = "debug earlycon console=ttyS0,115200";
235 stdout-path = &a_16550_uart_0;