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