2 * Copyright (C) 2013 Altera Corporation
4 * This file is generated by sopc2dts.
6 * SPDX-License-Identifier: GPL-2.0+
12 model = "altr,qsys_ghrd_3c120";
13 compatible = "altr,qsys_ghrd_3c120";
23 compatible = "altr,nios2-1.0";
26 #interrupt-cells = <1>;
27 clock-frequency = <125000000>;
28 dcache-line-size = <32>;
29 icache-line-size = <32>;
30 dcache-size = <32768>;
31 icache-size = <32768>;
32 altr,implementation = "fast";
33 altr,pid-num-bits = <8>;
34 altr,tlb-num-ways = <16>;
35 altr,tlb-num-entries = <128>;
36 altr,tlb-ptr-sz = <7>;
39 altr,reset-addr = <0xc2800000>;
40 altr,fast-tlb-miss-addr = <0xc7fff400>;
41 altr,exception-addr = <0xd0000020>;
42 altr,has-initda = <1>;
48 device_type = "memory";
49 reg = <0x10000000 0x08000000>,
50 <0x07fff400 0x00000400>;
58 compatible = "altr,avalon", "simple-bus";
59 bus-frequency = <125000000>;
61 pb_cpu_to_io: bridge@0x8000000 {
62 compatible = "simple-bus";
63 reg = <0x08000000 0x00800000>;
66 ranges = <0x00002000 0x08002000 0x00002000>,
67 <0x00004000 0x08004000 0x00000400>,
68 <0x00004400 0x08004400 0x00000040>,
69 <0x00004800 0x08004800 0x00000040>,
70 <0x00004c80 0x08004c80 0x00000020>,
71 <0x00004cc0 0x08004cc0 0x00000010>,
72 <0x00004ce0 0x08004ce0 0x00000010>,
73 <0x00004d00 0x08004d00 0x00000010>,
74 <0x00004d50 0x08004d50 0x00000008>,
75 <0x00008000 0x08008000 0x00000020>,
76 <0x00400000 0x08400000 0x00000020>;
78 timer_1ms: timer@0x400000 {
79 compatible = "altr,timer-1.0";
80 reg = <0x00400000 0x00000020>;
81 interrupt-parent = <&cpu>;
83 clock-frequency = <125000000>;
86 timer_0: timer@0x8000 {
87 compatible = "altr,timer-1.0";
88 reg = < 0x00008000 0x00000020 >;
89 interrupt-parent = < &cpu >;
91 clock-frequency = < 125000000 >;
94 jtag_uart: serial@0x4d50 {
95 compatible = "altr,juart-1.0";
96 reg = <0x00004d50 0x00000008>;
97 interrupt-parent = <&cpu>;
101 tse_mac: ethernet@0x4000 {
102 compatible = "altr,tse-1.0";
103 reg = <0x00004000 0x00000400>,
104 <0x00004400 0x00000040>,
105 <0x00004800 0x00000040>,
106 <0x00002000 0x00002000>;
107 reg-names = "control_port", "rx_csr", "tx_csr", "s1";
108 interrupt-parent = <&cpu>;
110 interrupt-names = "rx_irq", "tx_irq";
111 rx-fifo-depth = <8192>;
112 tx-fifo-depth = <8192>;
113 max-frame-size = <1518>;
114 local-mac-address = [ 00 00 00 00 00 00 ];
115 phy-mode = "rgmii-id";
116 phy-handle = <&phy0>;
118 compatible = "altr,tse-mdio";
119 #address-cells = <1>;
121 phy0: ethernet-phy@18 {
123 device_type = "ethernet-phy";
128 uart: serial@0x4c80 {
129 compatible = "altr,uart-1.0";
130 reg = <0x00004c80 0x00000020>;
131 interrupt-parent = <&cpu>;
133 current-speed = <115200>;
134 clock-frequency = <62500000>;
137 user_led_pio_8out: gpio@0x4cc0 {
138 compatible = "altr,pio-1.0";
139 reg = <0x00004cc0 0x00000010>;
141 altr,gpio-bank-width = <8>;
144 gpio-bank-name = "led";
147 user_dipsw_pio_8in: gpio@0x4ce0 {
148 compatible = "altr,pio-1.0";
149 reg = <0x00004ce0 0x00000010>;
150 interrupt-parent = <&cpu>;
155 altr,gpio-bank-width = <8>;
158 gpio-bank-name = "dipsw";
161 user_pb_pio_4in: gpio@0x4d00 {
162 compatible = "altr,pio-1.0";
163 reg = <0x00004d00 0x00000010>;
164 interrupt-parent = <&cpu>;
169 altr,gpio-bank-width = <4>;
172 gpio-bank-name = "pb";
176 cfi_flash_64m: flash@0x0 {
177 compatible = "cfi-flash";
178 reg = <0x00000000 0x04000000>;
181 #address-cells = <1>;
185 reg = <0x00800000 0x01e00000>;
186 label = "JFFS2 Filesystem";
192 bootargs = "debug console=ttyJ0,115200";
193 stdout-path = &jtag_uart;