source: trunk/softs/tsar_boot/conf/platform_de2_115_fpga/platform.dts @ 835

Last change on this file since 835 was 835, checked in by cfuguet, 9 years ago

tsar_boot: Modify NetBSD device tree for de2-115 fpga platform

  • Fixing XICU's output IRQs indexes for second processor
File size: 3.0 KB
Line 
1/dts-v1/;
2
3/ {
4    #address-cells = <0x1>;
5    #size-cells = <0x1>;
6
7    cpus {
8        #address-cells = <0x1>;
9        #size-cells = <0x0>;
10
11        Mips,32@0 {
12            device_type = "cpu";
13            icudev_type = "cpu:mips";
14            name = "Mips,32";
15            reg = <0x00000000>;
16        };
17
18        Mips,32@1 {
19            device_type = "cpu";
20            icudev_type = "cpu:mips";
21            name = "Mips,32";
22            reg = <0x00000001>;
23        };
24    };
25
26    memory@0x00000000 {
27        cached = <0x1>;
28        device_type = "memory";
29        reg = <0x00000000 0x08000000>;
30    };
31
32    memory@0xff000000 {
33        cached = <0x1>;
34        device_type = "rom";
35        reg = <0xff000000 0x00010000>;
36    };
37
38    tty@0xf4000000 {
39        device_type = "vci:tty";
40        irq = <&{/xicu@0xf0000000} 0xa>;
41        reg = <0xf4000000 0x00000010>;
42        tty_count = <0x1>;
43    };
44
45    blockdevice@0xf2000000 {
46        device_type = "vci:spi";
47        irq = <&{/xicu@0xf0000000} 0x9>;
48        reg = <0xf2000000 0x00000020>;
49    };
50
51    fb@0xf3000000 {
52        device_type = "soclib:frame_buffer";
53        reg = <0xf3000000 0x00100000>;
54        mode = <16>;
55        width = <640>;
56        height = <480>;
57    };
58
59    vcikbc@0xf1000000 {
60        device_type = "vci:ps2";
61        irq = <&{/xicu@0xf0000000} 0xb>;
62        reg = <0xf1000000 0x00000020>;
63        ports = <0x2>;
64    };
65
66    xicu@0xf0000000 {
67        device_type = "soclib:xicu:root";
68        input_lines = <0x10>;
69        ipis = <0x10>;
70        reg = <0xf0000000 0x00001000>;
71        timers = <0x10>;
72        timer-freq = <25000000>;
73
74        out@0 {
75            device_type = "soclib:xicu:filter";
76            irq = <&{/cpus/Mips,32@0} 0x0>;
77            output_line = <0x0>;
78            parent = <&{/xicu@0xf0000000}>;
79        };
80
81        out@1 {
82            device_type = "soclib:xicu:filter";
83            irq = <&{/cpus/Mips,32@0} 0x1>;
84            output_line = <0x1>;
85            parent = <&{/xicu@0xf0000000}>;
86        };
87
88        out@2 {
89            device_type = "soclib:xicu:filter";
90            irq = <&{/cpus/Mips,32@0} 0x2>;
91            output_line = <0x2>;
92            parent = <&{/xicu@0xf0000000}>;
93        };
94
95        out@3 {
96            device_type = "soclib:xicu:filter";
97            irq = <&{/cpus/Mips,32@1} 0x0>;
98            output_line = <0x4>;
99            parent = <&{/xicu@0xf0000000}>;
100        };
101
102        out@4 {
103            device_type = "soclib:xicu:filter";
104            irq = <&{/cpus/Mips,32@1} 0x1>;
105            output_line = <0x5>;
106            parent = <&{/xicu@0xf0000000}>;
107        };
108
109        out@5 {
110            device_type = "soclib:xicu:filter";
111            irq = <&{/cpus/Mips,32@1} 0x2>;
112            output_line = <0x6>;
113            parent = <&{/xicu@0xf0000000}>;
114        };
115    };
116
117  topology {
118    #address-cells = <2>;
119    #size-cells = <0>;
120    cluster@0,0 {
121        reg = <0 0>;
122        devices = <&{/cpus/Mips,32@0} &{/cpus/Mips,32@1} &{/memory@0x00000000} &{/xicu@0xf0000000} &{/tty@0xf4000000} &{/blockdevice@0xf2000000} &{/fb@0xf3000000} &{/vcikbc@0xf1000000} >;
123    };
124  };
125};
Note: See TracBrowser for help on using the repository browser.