/* * This devicetree is generated by sopc2dts * Sopc2dts is written by Walter Goossens * in cooperation with the nios2 community */ /dts-v1/; / { model = "ALTR,dionysos_nios2mmu"; compatible = "ALTR,dionysos_nios2mmu"; #address-cells = <1>; #size-cells = <1>; cpus { #address-cells = <1>; #size-cells = <0>; cpu_0: cpu@0x0 { device_type = "cpu"; compatible = "ALTR,nios2-9.1"; reg = <0>; interrupt-controller; #interrupt-cells = <1>; clock-frequency = <50000000>; //embeddedsw.CMacro.CPU_FREQ type NUMBER dcache-line-size = <32>; //embeddedsw.CMacro.DCACHE_LINE_SIZE type NUMBER icache-line-size = <32>; //embeddedsw.CMacro.ICACHE_LINE_SIZE type NUMBER dcache-size = <2048>; //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 = <256>; //embeddedsw.CMacro.TLB_NUM_ENTRIES type NUMBER ALTR,tlb-ptr-sz = <8>; //embeddedsw.CMacro.TLB_PTR_SZ type NUMBER ALTR,has-div; //embeddedsw.CMacro.HARDWARE_DIVIDE_PRESENT type NUMBER ALTR,has-mul; //embeddedsw.CMacro.HARDWARE_MULTIPLY_PRESENT type NUMBER ALTR,reset-addr = <0xc4000000>; //embeddedsw.CMacro.RESET_ADDR type NUMBER ALTR,fast-tlb-miss-addr = <0xc4802000>; //embeddedsw.CMacro.FAST_TLB_MISS_EXCEPTION_ADDR type NUMBER ALTR,exception-addr = <0xc0000020>; //embeddedsw.CMacro.EXCEPTION_ADDR type NUMBER }; }; memory@0 { device_type = "memory"; reg = <0x00000000 0x04000000 0x04802000 0x00000800>; }; sopc@0 { #address-cells = <1>; #size-cells = <1>; device_type = "soc"; compatible = "ALTR,avalon","simple-bus"; ranges ; bus-frequency = < 50000000 >; //Port instruction_master of cpu_0 epcs_flash_controller_0: spi@0x5000400 { #address-cells = <1>; #size-cells = <0>; compatible = "ALTR,spi-9.1","ALTR,spi-1.0"; reg = < 0x5000400 0x800>; interrupt-parent = < &cpu_0 >; interrupts = < 1 >; m25p80@0 { compatible = "m25p80"; reg = <0>; }; }; //end spi (epcs_flash_controller_0) cfi_flash_0: flash@0x4000000 { compatible = "ALTR,cfi_flash-9.1","cfi-flash"; reg = < 0x4000000 0x400000>; bank-width = <1>; device-width = <1>; }; //end flash (cfi_flash_0) //Port tightly_coupled_instruction_master_0 of cpu_0 //Port data_master of cpu_0 timer_0: timer@0x4400000 { compatible = "ALTR,timer-9.1","ALTR,timer-1.0"; reg = < 0x4400000 0x20>; interrupt-parent = < &cpu_0 >; interrupts = < 0 >; clock-frequency = <50000000>; }; //end timer (timer_0) uart_0: serial@0x6000000 { compatible = "ALTR,uart-9.1","ALTR,uart-1.0"; reg = < 0x6000000 0x20>; interrupt-parent = < &cpu_0 >; interrupts = < 2 >; current-speed = <115200>; //embeddedsw.CMacro.BAUD type NUMBER clock-frequency = <50000000>; //embeddedsw.CMacro.FREQ type NUMBER }; //end serial (uart_0) jtag_uart_0: serial@0x7000000 { compatible = "ALTR,juart-9.1","ALTR,juart-1.0"; reg = < 0x7000000 0x8>; interrupt-parent = < &cpu_0 >; interrupts = < 3 >; }; //end serial (jtag_uart_0) tse_mac: ethernet@0x8002400 { compatible = "ALTR,tse-9.1","ALTR,tse-1.0"; reg = < 0x8002400 0x400 0x8100000 0x40 0x8200000 0x40 0x4840000 0x2000>; interrupt-parent = < &cpu_0 >; interrupts = < 4 5 >; ALTR,rx-fifo-depth = <1024>; //embeddedsw.CMacro.RECEIVE_FIFO_DEPTH type NUMBER ALTR,tx-fifo-depth = <1024>; //embeddedsw.CMacro.TRANSMIT_FIFO_DEPTH type NUMBER address-bits = <48>; max-frame-size = <1518>; local-mac-address = [ 00 15 12 01 42 23 ]; ALTR,mii-id = <0>; // manually added ALTR,phy-addr = <2>; // manually added }; //end ethernet (tse_mac) watchdog_timer: watchdog@0x4880000 { compatible = "ALTR,wdt-9.1","ALTR,wdt-1.0"; reg = < 0x4880000 0x20>; interrupt-parent = < &cpu_0 >; interrupts = < 6 >; clock-frequency = <50000000>; timeout = <249999999>; //embeddedsw.CMacro.LOAD_VALUE type NUMBER }; //end watchdog (watchdog_timer) sysid: sysid@0x8000000 { compatible = "ALTR,sysid-9.1","ALTR,sysid-1.0"; reg = < 0x8000000 0x8>; }; //end sysid (sysid) ISP1362: isp1362@0x8220000 { compatible = "nxp,usb-isp1362"; reg = < 0x8220000 0x4 0x8220004 0x4>; // manually adjusted interrupt-parent = < &cpu_0 >; interrupts = < 7 8 >; nxp,sel15Kres; // nxp,clknotstop; // nxp,oc_enable; // nxp,int_act_high; // nxp,int_edge_triggered; // nxp,remote_wakeup_connected; nxp,no_power_switching; // nxp,power_switching_mode; }; //end isp1362 (ISP1362) //Port tightly_coupled_data_master_0 of cpu_0 }; //sopc chosen { bootargs = "debug console=ttyAL0,115200"; }; };