1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * Copyright (C) 2013 Altera Corporation 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * This file is generated by sopc2dts. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot/dts-v1/; 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot/ { 11*c66ec88fSEmmanuel Vadot model = "altr,qsys_ghrd_3c120"; 12*c66ec88fSEmmanuel Vadot compatible = "altr,qsys_ghrd_3c120"; 13*c66ec88fSEmmanuel Vadot #address-cells = <1>; 14*c66ec88fSEmmanuel Vadot #size-cells = <1>; 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot cpus { 17*c66ec88fSEmmanuel Vadot #address-cells = <1>; 18*c66ec88fSEmmanuel Vadot #size-cells = <0>; 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot cpu: cpu@0 { 21*c66ec88fSEmmanuel Vadot device_type = "cpu"; 22*c66ec88fSEmmanuel Vadot compatible = "altr,nios2-1.0"; 23*c66ec88fSEmmanuel Vadot reg = <0x00000000>; 24*c66ec88fSEmmanuel Vadot interrupt-controller; 25*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 26*c66ec88fSEmmanuel Vadot clock-frequency = <125000000>; 27*c66ec88fSEmmanuel Vadot dcache-line-size = <32>; 28*c66ec88fSEmmanuel Vadot icache-line-size = <32>; 29*c66ec88fSEmmanuel Vadot dcache-size = <32768>; 30*c66ec88fSEmmanuel Vadot icache-size = <32768>; 31*c66ec88fSEmmanuel Vadot altr,implementation = "fast"; 32*c66ec88fSEmmanuel Vadot altr,pid-num-bits = <8>; 33*c66ec88fSEmmanuel Vadot altr,tlb-num-ways = <16>; 34*c66ec88fSEmmanuel Vadot altr,tlb-num-entries = <128>; 35*c66ec88fSEmmanuel Vadot altr,tlb-ptr-sz = <7>; 36*c66ec88fSEmmanuel Vadot altr,has-div = <1>; 37*c66ec88fSEmmanuel Vadot altr,has-mul = <1>; 38*c66ec88fSEmmanuel Vadot altr,reset-addr = <0xc2800000>; 39*c66ec88fSEmmanuel Vadot altr,fast-tlb-miss-addr = <0xc7fff400>; 40*c66ec88fSEmmanuel Vadot altr,exception-addr = <0xd0000020>; 41*c66ec88fSEmmanuel Vadot altr,has-initda = <1>; 42*c66ec88fSEmmanuel Vadot altr,has-mmu = <1>; 43*c66ec88fSEmmanuel Vadot }; 44*c66ec88fSEmmanuel Vadot }; 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot memory@0 { 47*c66ec88fSEmmanuel Vadot device_type = "memory"; 48*c66ec88fSEmmanuel Vadot reg = <0x10000000 0x08000000>, 49*c66ec88fSEmmanuel Vadot <0x07fff400 0x00000400>; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot sopc@0 { 53*c66ec88fSEmmanuel Vadot device_type = "soc"; 54*c66ec88fSEmmanuel Vadot ranges; 55*c66ec88fSEmmanuel Vadot #address-cells = <1>; 56*c66ec88fSEmmanuel Vadot #size-cells = <1>; 57*c66ec88fSEmmanuel Vadot compatible = "altr,avalon", "simple-bus"; 58*c66ec88fSEmmanuel Vadot bus-frequency = <125000000>; 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot pb_cpu_to_io: bridge@8000000 { 61*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 62*c66ec88fSEmmanuel Vadot reg = <0x08000000 0x00800000>; 63*c66ec88fSEmmanuel Vadot #address-cells = <1>; 64*c66ec88fSEmmanuel Vadot #size-cells = <1>; 65*c66ec88fSEmmanuel Vadot ranges = <0x00002000 0x08002000 0x00002000>, 66*c66ec88fSEmmanuel Vadot <0x00004000 0x08004000 0x00000400>, 67*c66ec88fSEmmanuel Vadot <0x00004400 0x08004400 0x00000040>, 68*c66ec88fSEmmanuel Vadot <0x00004800 0x08004800 0x00000040>, 69*c66ec88fSEmmanuel Vadot <0x00004c80 0x08004c80 0x00000020>, 70*c66ec88fSEmmanuel Vadot <0x00004d50 0x08004d50 0x00000008>, 71*c66ec88fSEmmanuel Vadot <0x00008000 0x08008000 0x00000020>, 72*c66ec88fSEmmanuel Vadot <0x00400000 0x08400000 0x00000020>; 73*c66ec88fSEmmanuel Vadot 74*c66ec88fSEmmanuel Vadot timer_1ms: timer@400000 { 75*c66ec88fSEmmanuel Vadot compatible = "altr,timer-1.0"; 76*c66ec88fSEmmanuel Vadot reg = <0x00400000 0x00000020>; 77*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu>; 78*c66ec88fSEmmanuel Vadot interrupts = <11>; 79*c66ec88fSEmmanuel Vadot clock-frequency = <125000000>; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot 82*c66ec88fSEmmanuel Vadot timer_0: timer@8000 { 83*c66ec88fSEmmanuel Vadot compatible = "altr,timer-1.0"; 84*c66ec88fSEmmanuel Vadot reg = < 0x00008000 0x00000020 >; 85*c66ec88fSEmmanuel Vadot interrupt-parent = < &cpu >; 86*c66ec88fSEmmanuel Vadot interrupts = < 5 >; 87*c66ec88fSEmmanuel Vadot clock-frequency = < 125000000 >; 88*c66ec88fSEmmanuel Vadot }; 89*c66ec88fSEmmanuel Vadot 90*c66ec88fSEmmanuel Vadot jtag_uart: serial@4d50 { 91*c66ec88fSEmmanuel Vadot compatible = "altr,juart-1.0"; 92*c66ec88fSEmmanuel Vadot reg = <0x00004d50 0x00000008>; 93*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu>; 94*c66ec88fSEmmanuel Vadot interrupts = <1>; 95*c66ec88fSEmmanuel Vadot }; 96*c66ec88fSEmmanuel Vadot 97*c66ec88fSEmmanuel Vadot tse_mac: ethernet@4000 { 98*c66ec88fSEmmanuel Vadot compatible = "altr,tse-1.0"; 99*c66ec88fSEmmanuel Vadot reg = <0x00004000 0x00000400>, 100*c66ec88fSEmmanuel Vadot <0x00004400 0x00000040>, 101*c66ec88fSEmmanuel Vadot <0x00004800 0x00000040>, 102*c66ec88fSEmmanuel Vadot <0x00002000 0x00002000>; 103*c66ec88fSEmmanuel Vadot reg-names = "control_port", "rx_csr", "tx_csr", "s1"; 104*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu>; 105*c66ec88fSEmmanuel Vadot interrupts = <2 3>; 106*c66ec88fSEmmanuel Vadot interrupt-names = "rx_irq", "tx_irq"; 107*c66ec88fSEmmanuel Vadot rx-fifo-depth = <8192>; 108*c66ec88fSEmmanuel Vadot tx-fifo-depth = <8192>; 109*c66ec88fSEmmanuel Vadot max-frame-size = <1518>; 110*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 111*c66ec88fSEmmanuel Vadot phy-mode = "rgmii-id"; 112*c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 113*c66ec88fSEmmanuel Vadot tse_mac_mdio: mdio { 114*c66ec88fSEmmanuel Vadot compatible = "altr,tse-mdio"; 115*c66ec88fSEmmanuel Vadot #address-cells = <1>; 116*c66ec88fSEmmanuel Vadot #size-cells = <0>; 117*c66ec88fSEmmanuel Vadot phy0: ethernet-phy@18 { 118*c66ec88fSEmmanuel Vadot reg = <18>; 119*c66ec88fSEmmanuel Vadot device_type = "ethernet-phy"; 120*c66ec88fSEmmanuel Vadot }; 121*c66ec88fSEmmanuel Vadot }; 122*c66ec88fSEmmanuel Vadot }; 123*c66ec88fSEmmanuel Vadot 124*c66ec88fSEmmanuel Vadot uart: serial@4c80 { 125*c66ec88fSEmmanuel Vadot compatible = "altr,uart-1.0"; 126*c66ec88fSEmmanuel Vadot reg = <0x00004c80 0x00000020>; 127*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu>; 128*c66ec88fSEmmanuel Vadot interrupts = <10>; 129*c66ec88fSEmmanuel Vadot current-speed = <115200>; 130*c66ec88fSEmmanuel Vadot clock-frequency = <62500000>; 131*c66ec88fSEmmanuel Vadot }; 132*c66ec88fSEmmanuel Vadot }; 133*c66ec88fSEmmanuel Vadot 134*c66ec88fSEmmanuel Vadot cfi_flash_64m: flash@0 { 135*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 136*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x04000000>; 137*c66ec88fSEmmanuel Vadot bank-width = <2>; 138*c66ec88fSEmmanuel Vadot device-width = <1>; 139*c66ec88fSEmmanuel Vadot #address-cells = <1>; 140*c66ec88fSEmmanuel Vadot #size-cells = <1>; 141*c66ec88fSEmmanuel Vadot 142*c66ec88fSEmmanuel Vadot partition@800000 { 143*c66ec88fSEmmanuel Vadot reg = <0x00800000 0x01e00000>; 144*c66ec88fSEmmanuel Vadot label = "JFFS2 Filesystem"; 145*c66ec88fSEmmanuel Vadot }; 146*c66ec88fSEmmanuel Vadot }; 147*c66ec88fSEmmanuel Vadot }; 148*c66ec88fSEmmanuel Vadot 149*c66ec88fSEmmanuel Vadot chosen { 150*c66ec88fSEmmanuel Vadot bootargs = "debug earlycon console=ttyJ0,115200"; 151*c66ec88fSEmmanuel Vadot stdout-path = &jtag_uart; 152*c66ec88fSEmmanuel Vadot }; 153*c66ec88fSEmmanuel Vadot}; 154