11ccea77eSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 295acd4c7SLey Foon Tan/* 395acd4c7SLey Foon Tan * Copyright (C) 2013 Altera Corporation 495acd4c7SLey Foon Tan * 595acd4c7SLey Foon Tan * This file is generated by sopc2dts. 695acd4c7SLey Foon Tan */ 795acd4c7SLey Foon Tan 895acd4c7SLey Foon Tan/dts-v1/; 995acd4c7SLey Foon Tan 1095acd4c7SLey Foon Tan/ { 1195acd4c7SLey Foon Tan model = "altr,qsys_ghrd_3c120"; 1295acd4c7SLey Foon Tan compatible = "altr,qsys_ghrd_3c120"; 1395acd4c7SLey Foon Tan #address-cells = <1>; 1495acd4c7SLey Foon Tan #size-cells = <1>; 1595acd4c7SLey Foon Tan 1695acd4c7SLey Foon Tan cpus { 1795acd4c7SLey Foon Tan #address-cells = <1>; 1895acd4c7SLey Foon Tan #size-cells = <0>; 1995acd4c7SLey Foon Tan 205d13c731SMathieu Malaterre cpu: cpu@0 { 2195acd4c7SLey Foon Tan device_type = "cpu"; 2295acd4c7SLey Foon Tan compatible = "altr,nios2-1.0"; 2395acd4c7SLey Foon Tan reg = <0x00000000>; 2495acd4c7SLey Foon Tan interrupt-controller; 2595acd4c7SLey Foon Tan #interrupt-cells = <1>; 2695acd4c7SLey Foon Tan clock-frequency = <125000000>; 2795acd4c7SLey Foon Tan dcache-line-size = <32>; 2895acd4c7SLey Foon Tan icache-line-size = <32>; 2995acd4c7SLey Foon Tan dcache-size = <32768>; 3095acd4c7SLey Foon Tan icache-size = <32768>; 3195acd4c7SLey Foon Tan altr,implementation = "fast"; 3295acd4c7SLey Foon Tan altr,pid-num-bits = <8>; 3395acd4c7SLey Foon Tan altr,tlb-num-ways = <16>; 3495acd4c7SLey Foon Tan altr,tlb-num-entries = <128>; 3595acd4c7SLey Foon Tan altr,tlb-ptr-sz = <7>; 3695acd4c7SLey Foon Tan altr,has-div = <1>; 3795acd4c7SLey Foon Tan altr,has-mul = <1>; 3895acd4c7SLey Foon Tan altr,reset-addr = <0xc2800000>; 3995acd4c7SLey Foon Tan altr,fast-tlb-miss-addr = <0xc7fff400>; 4095acd4c7SLey Foon Tan altr,exception-addr = <0xd0000020>; 4195acd4c7SLey Foon Tan altr,has-initda = <1>; 4295acd4c7SLey Foon Tan altr,has-mmu = <1>; 4395acd4c7SLey Foon Tan }; 4495acd4c7SLey Foon Tan }; 4595acd4c7SLey Foon Tan 4695acd4c7SLey Foon Tan memory@0 { 4795acd4c7SLey Foon Tan device_type = "memory"; 4895acd4c7SLey Foon Tan reg = <0x10000000 0x08000000>, 4995acd4c7SLey Foon Tan <0x07fff400 0x00000400>; 5095acd4c7SLey Foon Tan }; 5195acd4c7SLey Foon Tan 5295acd4c7SLey Foon Tan sopc@0 { 5395acd4c7SLey Foon Tan device_type = "soc"; 5495acd4c7SLey Foon Tan ranges; 5595acd4c7SLey Foon Tan #address-cells = <1>; 5695acd4c7SLey Foon Tan #size-cells = <1>; 5795acd4c7SLey Foon Tan compatible = "altr,avalon", "simple-bus"; 5895acd4c7SLey Foon Tan bus-frequency = <125000000>; 5995acd4c7SLey Foon Tan 605d13c731SMathieu Malaterre pb_cpu_to_io: bridge@8000000 { 6195acd4c7SLey Foon Tan compatible = "simple-bus"; 6295acd4c7SLey Foon Tan reg = <0x08000000 0x00800000>; 6395acd4c7SLey Foon Tan #address-cells = <1>; 6495acd4c7SLey Foon Tan #size-cells = <1>; 6595acd4c7SLey Foon Tan ranges = <0x00002000 0x08002000 0x00002000>, 6695acd4c7SLey Foon Tan <0x00004000 0x08004000 0x00000400>, 6795acd4c7SLey Foon Tan <0x00004400 0x08004400 0x00000040>, 6895acd4c7SLey Foon Tan <0x00004800 0x08004800 0x00000040>, 6995acd4c7SLey Foon Tan <0x00004c80 0x08004c80 0x00000020>, 7095acd4c7SLey Foon Tan <0x00004d50 0x08004d50 0x00000008>, 7195acd4c7SLey Foon Tan <0x00008000 0x08008000 0x00000020>, 7295acd4c7SLey Foon Tan <0x00400000 0x08400000 0x00000020>; 7395acd4c7SLey Foon Tan 745d13c731SMathieu Malaterre timer_1ms: timer@400000 { 7595acd4c7SLey Foon Tan compatible = "altr,timer-1.0"; 7695acd4c7SLey Foon Tan reg = <0x00400000 0x00000020>; 7795acd4c7SLey Foon Tan interrupt-parent = <&cpu>; 7895acd4c7SLey Foon Tan interrupts = <11>; 7995acd4c7SLey Foon Tan clock-frequency = <125000000>; 8095acd4c7SLey Foon Tan }; 8195acd4c7SLey Foon Tan 825d13c731SMathieu Malaterre timer_0: timer@8000 { 8395acd4c7SLey Foon Tan compatible = "altr,timer-1.0"; 8495acd4c7SLey Foon Tan reg = < 0x00008000 0x00000020 >; 8595acd4c7SLey Foon Tan interrupt-parent = < &cpu >; 8695acd4c7SLey Foon Tan interrupts = < 5 >; 8795acd4c7SLey Foon Tan clock-frequency = < 125000000 >; 8895acd4c7SLey Foon Tan }; 8995acd4c7SLey Foon Tan 905d13c731SMathieu Malaterre jtag_uart: serial@4d50 { 9195acd4c7SLey Foon Tan compatible = "altr,juart-1.0"; 9295acd4c7SLey Foon Tan reg = <0x00004d50 0x00000008>; 9395acd4c7SLey Foon Tan interrupt-parent = <&cpu>; 9495acd4c7SLey Foon Tan interrupts = <1>; 9595acd4c7SLey Foon Tan }; 9695acd4c7SLey Foon Tan 975d13c731SMathieu Malaterre tse_mac: ethernet@4000 { 9895acd4c7SLey Foon Tan compatible = "altr,tse-1.0"; 9995acd4c7SLey Foon Tan reg = <0x00004000 0x00000400>, 10095acd4c7SLey Foon Tan <0x00004400 0x00000040>, 10195acd4c7SLey Foon Tan <0x00004800 0x00000040>, 10295acd4c7SLey Foon Tan <0x00002000 0x00002000>; 10395acd4c7SLey Foon Tan reg-names = "control_port", "rx_csr", "tx_csr", "s1"; 10495acd4c7SLey Foon Tan interrupt-parent = <&cpu>; 10595acd4c7SLey Foon Tan interrupts = <2 3>; 10695acd4c7SLey Foon Tan interrupt-names = "rx_irq", "tx_irq"; 10795acd4c7SLey Foon Tan rx-fifo-depth = <8192>; 10895acd4c7SLey Foon Tan tx-fifo-depth = <8192>; 109*85041e12SJanne Grunau max-frame-size = <1500>; 11095acd4c7SLey Foon Tan local-mac-address = [ 00 00 00 00 00 00 ]; 11195acd4c7SLey Foon Tan phy-mode = "rgmii-id"; 11295acd4c7SLey Foon Tan phy-handle = <&phy0>; 11395acd4c7SLey Foon Tan tse_mac_mdio: mdio { 11495acd4c7SLey Foon Tan compatible = "altr,tse-mdio"; 11595acd4c7SLey Foon Tan #address-cells = <1>; 11695acd4c7SLey Foon Tan #size-cells = <0>; 11795acd4c7SLey Foon Tan phy0: ethernet-phy@18 { 11895acd4c7SLey Foon Tan reg = <18>; 11995acd4c7SLey Foon Tan device_type = "ethernet-phy"; 12095acd4c7SLey Foon Tan }; 12195acd4c7SLey Foon Tan }; 12295acd4c7SLey Foon Tan }; 12395acd4c7SLey Foon Tan 1245d13c731SMathieu Malaterre uart: serial@4c80 { 12595acd4c7SLey Foon Tan compatible = "altr,uart-1.0"; 12695acd4c7SLey Foon Tan reg = <0x00004c80 0x00000020>; 12795acd4c7SLey Foon Tan interrupt-parent = <&cpu>; 12895acd4c7SLey Foon Tan interrupts = <10>; 12995acd4c7SLey Foon Tan current-speed = <115200>; 13095acd4c7SLey Foon Tan clock-frequency = <62500000>; 13195acd4c7SLey Foon Tan }; 13295acd4c7SLey Foon Tan }; 13395acd4c7SLey Foon Tan 1345d13c731SMathieu Malaterre cfi_flash_64m: flash@0 { 13595acd4c7SLey Foon Tan compatible = "cfi-flash"; 13695acd4c7SLey Foon Tan reg = <0x00000000 0x04000000>; 13795acd4c7SLey Foon Tan bank-width = <2>; 13895acd4c7SLey Foon Tan device-width = <1>; 13995acd4c7SLey Foon Tan #address-cells = <1>; 14095acd4c7SLey Foon Tan #size-cells = <1>; 14195acd4c7SLey Foon Tan 14295acd4c7SLey Foon Tan partition@800000 { 14395acd4c7SLey Foon Tan reg = <0x00800000 0x01e00000>; 14495acd4c7SLey Foon Tan label = "JFFS2 Filesystem"; 14595acd4c7SLey Foon Tan }; 14695acd4c7SLey Foon Tan }; 14795acd4c7SLey Foon Tan }; 14895acd4c7SLey Foon Tan 14995acd4c7SLey Foon Tan chosen { 1508993d5e4STobias Klauser bootargs = "debug earlycon console=ttyJ0,115200"; 1518993d5e4STobias Klauser stdout-path = &jtag_uart; 15295acd4c7SLey Foon Tan }; 15395acd4c7SLey Foon Tan}; 154