|
1 | 1 | /dts-v1/;
|
| 2 | +#include <dt-bindings/gpio/gpio.h> |
2 | 3 |
|
3 | 4 | / {
|
4 | 5 | #size-cells = <0x02>;
|
|
8 | 9 |
|
9 | 10 | aliases {
|
10 | 11 | serial0 = &UART0;
|
| 12 | + ethernet = &enet0; |
11 | 13 | };
|
12 | 14 |
|
13 | 15 | reserved-memory {
|
|
35 | 37 |
|
36 | 38 | ibm,powerpc-cpu-features {
|
37 | 39 | display-name = "Microwatt";
|
38 |
| - isa = <3000>; |
| 40 | + isa = <3010>; |
39 | 41 | device_type = "cpu-features";
|
40 | 42 | compatible = "ibm,powerpc-cpu-features";
|
41 | 43 |
|
42 | 44 | mmu-radix {
|
43 | 45 | isa = <3000>;
|
44 |
| - usable-privilege = <2>; |
| 46 | + usable-privilege = <6>; |
| 47 | + os-support = <0>; |
45 | 48 | };
|
46 | 49 |
|
47 | 50 | little-endian {
|
48 |
| - isa = <2050>; |
49 |
| - usable-privilege = <3>; |
| 51 | + isa = <0>; |
| 52 | + usable-privilege = <7>; |
| 53 | + os-support = <0>; |
50 | 54 | hwcap-bit-nr = <1>;
|
51 | 55 | };
|
52 | 56 |
|
53 | 57 | cache-inhibited-large-page {
|
54 |
| - isa = <2040>; |
55 |
| - usable-privilege = <2>; |
| 58 | + isa = <0>; |
| 59 | + usable-privilege = <6>; |
| 60 | + os-support = <0>; |
56 | 61 | };
|
57 | 62 |
|
58 | 63 | fixed-point-v3 {
|
59 | 64 | isa = <3000>;
|
60 |
| - usable-privilege = <3>; |
| 65 | + usable-privilege = <7>; |
61 | 66 | };
|
62 | 67 |
|
63 | 68 | no-execute {
|
64 |
| - isa = <2010>; |
| 69 | + isa = <0x00>; |
65 | 70 | usable-privilege = <2>;
|
| 71 | + os-support = <0>; |
66 | 72 | };
|
67 | 73 |
|
68 | 74 | floating-point {
|
| 75 | + hfscr-bit-nr = <0>; |
69 | 76 | hwcap-bit-nr = <27>;
|
70 | 77 | isa = <0>;
|
71 |
| - usable-privilege = <3>; |
| 78 | + usable-privilege = <7>; |
| 79 | + hv-support = <1>; |
| 80 | + os-support = <0>; |
| 81 | + }; |
| 82 | + |
| 83 | + prefixed-instructions { |
| 84 | + hfscr-bit-nr = <13>; |
| 85 | + fscr-bit-nr = <13>; |
| 86 | + isa = <3010>; |
| 87 | + usable-privilege = <7>; |
| 88 | + os-support = <1>; |
| 89 | + hv-support = <1>; |
| 90 | + }; |
| 91 | + |
| 92 | + tar { |
| 93 | + hfscr-bit-nr = <8>; |
| 94 | + fscr-bit-nr = <8>; |
| 95 | + isa = <2070>; |
| 96 | + usable-privilege = <7>; |
| 97 | + os-support = <1>; |
| 98 | + hv-support = <1>; |
| 99 | + hwcap-bit-nr = <58>; |
| 100 | + }; |
| 101 | + |
| 102 | + control-register { |
| 103 | + isa = <0>; |
| 104 | + usable-privilege = <7>; |
| 105 | + }; |
| 106 | + |
| 107 | + system-call-vectored { |
| 108 | + isa = <3000>; |
| 109 | + usable-privilege = <7>; |
| 110 | + os-support = <1>; |
| 111 | + fscr-bit-nr = <12>; |
| 112 | + hwcap-bit-nr = <52>; |
72 | 113 | };
|
73 | 114 | };
|
74 | 115 |
|
|
138 | 179 | interrupts = <0x10 0x1>;
|
139 | 180 | };
|
140 | 181 |
|
141 |
| - ethernet@8020000 { |
| 182 | + gpio: gpio@7000 { |
| 183 | + device_type = "gpio"; |
| 184 | + compatible = "faraday,ftgpio010"; |
| 185 | + gpio-controller; |
| 186 | + #gpio-cells = <2>; |
| 187 | + reg = <0x7000 0x80>; |
| 188 | + interrupts = <0x14 1>; |
| 189 | + interrupt-controller; |
| 190 | + #interrupt-cells = <2>; |
| 191 | + }; |
| 192 | + |
| 193 | + enet0: ethernet@8020000 { |
142 | 194 | compatible = "litex,liteeth";
|
143 | 195 | reg = <0x8021000 0x100
|
144 | 196 | 0x8020800 0x100
|
|
160 | 212 | reg-names = "phy", "core", "reader", "writer", "irq";
|
161 | 213 | bus-width = <4>;
|
162 | 214 | interrupts = <0x13 1>;
|
163 |
| - cap-sd-highspeed; |
164 | 215 | clocks = <&sys_clk>;
|
165 | 216 | };
|
166 | 217 | };
|
|
0 commit comments