Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * This devicetree is generated by sopc2dts
- * Sopc2dts is written by Walter Goossens <waltergoossens@home.nl>
- * in cooperation with the nios2 community <Nios2-dev@sopc.et.ntust.edu.tw>
- */
- /dts-v1/;
- / {
- model = "ALTR,DE2_70_SOPC";
- compatible = "ALTR,DE2_70_SOPC";
- #address-cells = < 1 >;
- #size-cells = < 1 >;
- cpus {
- #address-cells = < 1 >;
- #size-cells = < 0 >;
- cpu_m: cpu@0x0 {
- device_type = "cpu";
- compatible = "ALTR,nios2-11.1";
- reg = < 0x00000000 >;
- interrupt-controller;
- #interrupt-cells = < 1 >;
- clock-frequency = < 100000000 >; /* embeddedsw.CMacro.CPU_FREQ type NUMBER */
- dcache-line-size = < 0 >; /* embeddedsw.CMacro.DCACHE_LINE_SIZE type NUMBER */
- icache-line-size = < 32 >; /* embeddedsw.CMacro.ICACHE_LINE_SIZE type NUMBER */
- dcache-size = < 0 >; /* embeddedsw.CMacro.DCACHE_SIZE type NUMBER */
- icache-size = < 4096 >; /* embeddedsw.CMacro.ICACHE_SIZE type NUMBER */
- ALTR,implementation = "fast"; /* embeddedsw.CMacro.CPU_IMPLEMENTATION type STRING*/
- ALTR,pid-num-bits = < 10 >; /* embeddedsw.CMacro.PROCESS_ID_NUM_BITS type NUMBER */
- ALTR,tlb-num-ways = < 16 >; /* embeddedsw.CMacro.TLB_NUM_WAYS type NUMBER */
- ALTR,tlb-num-entries = < 128 >; /* embeddedsw.CMacro.TLB_NUM_ENTRIES type NUMBER */
- ALTR,tlb-ptr-sz = < 7 >; /* embeddedsw.CMacro.TLB_PTR_SZ type NUMBER */
- ALTR,has-mul; /* embeddedsw.CMacro.HARDWARE_MULTIPLY_PRESENT type NUMBER*/
- ALTR,reset-addr = < 0xc0000000 >; /* embeddedsw.CMacro.RESET_ADDR type NUMBER */
- ALTR,fast-tlb-miss-addr = < 0xc0000020 >; /* embeddedsw.CMacro.FAST_TLB_MISS_EXCEPTION_ADDR type NUMBER */
- ALTR,exception-addr = < 0xc0000020 >; /* embeddedsw.CMacro.EXCEPTION_ADDR type NUMBER */
- }; //end cpu@0x0 (cpu_m)
- }; //end cpus
- memory@0 {
- device_type = "memory";
- reg = < 0x08000000 0x00002000
- 0x00000000 0x02000000
- 0x02000000 0x02000000
- 0x07000000 0x00200000 >;
- }; //end memory@0
- sopc@0 {
- ranges;
- #address-cells = < 1 >;
- #size-cells = < 1 >;
- device_type = "soc";
- compatible = "ALTR,avalon", "simple-bus";
- bus-frequency = < 100000000 >;
- cfi_flash: flash@0x5000000 {
- compatible = "ALTR,cfi_flash-11.1", "cfi-flash";
- reg = < 0x05000000 0x00800000 >;
- bank-width = < 2 >;
- device-width = < 1 >;
- }; //end flash@0x5000000 (cfi_flash)
- pio_green_led: gpio@0x9001080 {
- compatible = "ALTR,pio-11.1", "ALTR,pio-1.0";
- reg = < 0x09001080 0x00000010 >;
- width = < 9 >; /* width type NUMBER */
- resetvalue = < 0 >; /* resetValue type NUMBER */
- }; //end gpio@0x9001080 (pio_green_led)
- pio_switch: gpio@0x90010c0 {
- compatible = "ALTR,pio-11.1", "ALTR,pio-1.0";
- reg = < 0x090010C0 0x00000010 >;
- width = < 18 >; /* width type NUMBER */
- resetvalue = < 0 >; /* resetValue type NUMBER */
- }; //end gpio@0x90010c0 (pio_switch)
- pio_button: gpio@0x9001100 {
- compatible = "ALTR,pio-11.1", "ALTR,pio-1.0";
- reg = < 0x09001100 0x00000010 >;
- interrupt-parent = < &cpu_m >;
- interrupts = < 3 >;
- width = < 4 >; /* width type NUMBER */
- resetvalue = < 0 >; /* resetValue type NUMBER */
- }; //end gpio@0x9001100 (pio_button)
- sysid: sysid@0x9001180 {
- compatible = "ALTR,sysid-11.1", "ALTR,sysid-1.0";
- reg = < 0x09001180 0x00000008 >;
- }; //end sysid@0x9001180 (sysid)
- timer_cpu_m: timer@0x9001000 {
- compatible = "ALTR,timer-11.1", "ALTR,timer-1.0";
- reg = < 0x09001000 0x00000020 >;
- interrupt-parent = < &cpu_m >;
- interrupts = < 0 >;
- clock-frequency = < 100000000 >;
- }; //end timer@0x9001000 (timer_cpu_m)
- jtag_uart_cpu_m: serial@0x9001040 {
- compatible = "ALTR,juart-11.1", "ALTR,juart-1.0";
- reg = < 0x09001040 0x00000008 >;
- interrupt-parent = < &cpu_m >;
- interrupts = < 2 >;
- }; //end serial@0x9001040 (jtag_uart_cpu_m)
- dm9000: unknown@0x9001140 {
- compatible = "unknown,unknown-1.0";
- reg = < 0x09001140 0x00000008 >;
- interrupt-parent = < &cpu_m >;
- interrupts = < 1 >;
- }; //end unknown@0x9001140 (dm9000)
- clock_generator: clock@0x9080000 {
- compatible = "ALTR,pll-11.1", "ALTR,pll-1.0";
- reg = < 0x09080000 0x00000010 >;
- }; //end clock@0x9080000 (clock_generator)
- }; //end sopc@0
- chosen {
- bootargs = "debug console=ttyJ0,115200";
- }; //end chosen
- }; //end /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement