2 * Copyright (C) 2015 Altera Corporation. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
20 model = "Altera NiosII Max10";
21 compatible = "altr,niosii-max10";
31 compatible = "altr,nios2-1.1";
34 #interrupt-cells = <1>;
35 altr,exception-addr = <0xc8000120>;
36 altr,fast-tlb-miss-addr = <0xc0000100>;
38 altr,has-initda = <1>;
41 altr,implementation = "fast";
42 altr,pid-num-bits = <8>;
43 altr,reset-addr = <0xd4000000>;
44 altr,tlb-num-entries = <256>;
45 altr,tlb-num-ways = <16>;
46 altr,tlb-ptr-sz = <8>;
47 clock-frequency = <75000000>;
48 dcache-line-size = <32>;
49 dcache-size = <32768>;
50 icache-line-size = <32>;
51 icache-size = <32768>;
56 device_type = "memory";
57 reg = <0x08000000 0x08000000>,
58 <0x00000000 0x00000400>;
66 compatible = "altr,avalon", "simple-bus";
67 bus-frequency = <75000000>;
69 jtag_uart: serial@18001530 {
70 compatible = "altr,juart-1.0";
71 reg = <0x18001530 0x00000008>;
72 interrupt-parent = <&cpu>;
76 a_16550_uart_0: serial@18001600 {
77 compatible = "altr,16550-FIFO32", "ns16550a";
78 reg = <0x18001600 0x00000200>;
79 interrupt-parent = <&cpu>;
81 auto-flow-control = <1>;
82 clock-frequency = <50000000>;
89 sysid: sysid@18001528 {
90 compatible = "altr,sysid-1.0";
91 reg = <0x18001528 0x00000008>;
93 timestamp = <1431309290>;
96 rgmii_0_eth_tse_0: ethernet@400 {
97 compatible = "altr,tse-msgdma-1.0", "altr,tse-1.0";
98 reg = <0x00000400 0x00000400>,
99 <0x00000820 0x00000020>,
100 <0x00000800 0x00000020>,
101 <0x000008c0 0x00000008>,
102 <0x00000840 0x00000020>,
103 <0x00000860 0x00000020>;
104 reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc";
105 interrupt-parent = <&cpu>;
107 interrupt-names = "rx_irq", "tx_irq";
108 rx-fifo-depth = <8192>;
109 tx-fifo-depth = <8192>;
111 max-frame-size = <1518>;
112 local-mac-address = [00 00 00 00 00 00];
113 altr,has-supplementary-unicast;
114 altr,enable-sup-addr = <1>;
115 altr,has-hash-multicast-filter;
116 altr,enable-hash = <1>;
117 phy-mode = "rgmii-id";
118 phy-handle = <&phy0>;
119 rgmii_0_eth_tse_0_mdio: mdio {
120 compatible = "altr,tse-mdio";
121 #address-cells = <1>;
123 phy0: ethernet-phy@0 {
125 device_type = "ethernet-phy";
131 compatible = "altr,pll-1.0";
134 enet_pll_c0: enet_pll_c0 {
135 compatible = "fixed-clock";
137 clock-frequency = <125000000>;
138 clock-output-names = "enet_pll-c0";
141 enet_pll_c1: enet_pll_c1 {
142 compatible = "fixed-clock";
144 clock-frequency = <25000000>;
145 clock-output-names = "enet_pll-c1";
148 enet_pll_c2: enet_pll_c2 {
149 compatible = "fixed-clock";
151 clock-frequency = <2500000>;
152 clock-output-names = "enet_pll-c2";
157 compatible = "altr,pll-1.0";
160 sys_pll_c0: sys_pll_c0 {
161 compatible = "fixed-clock";
163 clock-frequency = <100000000>;
164 clock-output-names = "sys_pll-c0";
167 sys_pll_c1: sys_pll_c1 {
168 compatible = "fixed-clock";
170 clock-frequency = <50000000>;
171 clock-output-names = "sys_pll-c1";
174 sys_pll_c2: sys_pll_c2 {
175 compatible = "fixed-clock";
177 clock-frequency = <75000000>;
178 clock-output-names = "sys_pll-c2";
182 sys_clk_timer: timer@18001440 {
183 compatible = "altr,timer-1.0";
184 reg = <0x18001440 0x00000020>;
185 interrupt-parent = <&cpu>;
187 clock-frequency = <75000000>;
190 led_pio: gpio@180014d0 {
191 compatible = "altr,pio-1.0";
192 reg = <0x180014d0 0x00000010>;
193 altr,gpio-bank-width = <4>;
199 button_pio: gpio@180014c0 {
200 compatible = "altr,pio-1.0";
201 reg = <0x180014c0 0x00000010>;
202 interrupt-parent = <&cpu>;
204 altr,gpio-bank-width = <3>;
205 altr,interrupt-type = <2>;
213 sys_clk_timer_1: timer@880 {
214 compatible = "altr,timer-1.0";
215 reg = <0x00000880 0x00000020>;
216 interrupt-parent = <&cpu>;
218 clock-frequency = <75000000>;
222 compatible = "gpio-leds";
226 gpios = <&led_pio 0 1>;
231 gpios = <&led_pio 1 1>;
236 gpios = <&led_pio 2 1>;
241 gpios = <&led_pio 3 1>;
247 bootargs = "debug earlycon console=ttyS0,115200";
248 stdout-path = &a_16550_uart_0;