diff options
Diffstat (limited to 'arch/xtensa/boot/dts/xtfpga.dtsi')
-rw-r--r-- | arch/xtensa/boot/dts/xtfpga.dtsi | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/arch/xtensa/boot/dts/xtfpga.dtsi b/arch/xtensa/boot/dts/xtfpga.dtsi new file mode 100644 index 000000000000..7eda6ecf7eef --- /dev/null +++ b/arch/xtensa/boot/dts/xtfpga.dtsi | |||
@@ -0,0 +1,56 @@ | |||
1 | / { | ||
2 | compatible = "xtensa,xtfpga"; | ||
3 | #address-cells = <1>; | ||
4 | #size-cells = <1>; | ||
5 | interrupt-parent = <&pic>; | ||
6 | |||
7 | chosen { | ||
8 | bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug"; | ||
9 | }; | ||
10 | |||
11 | memory@0 { | ||
12 | device_type = "memory"; | ||
13 | reg = <0x00000000 0x06000000>; | ||
14 | }; | ||
15 | |||
16 | cpus { | ||
17 | #address-cells = <1>; | ||
18 | #size-cells = <0>; | ||
19 | cpu@0 { | ||
20 | compatible = "xtensa,cpu"; | ||
21 | reg = <0>; | ||
22 | /* Filled in by platform_setup from FPGA register | ||
23 | * clock-frequency = <100000000>; | ||
24 | */ | ||
25 | }; | ||
26 | }; | ||
27 | |||
28 | pic: pic { | ||
29 | compatible = "xtensa,pic"; | ||
30 | /* one cell: internal irq number, | ||
31 | * two cells: second cell == 0: internal irq number | ||
32 | * second cell == 1: external irq number | ||
33 | */ | ||
34 | #interrupt-cells = <2>; | ||
35 | interrupt-controller; | ||
36 | }; | ||
37 | |||
38 | serial0: serial@fd050020 { | ||
39 | device_type = "serial"; | ||
40 | compatible = "ns16550a"; | ||
41 | no-loopback-test; | ||
42 | reg = <0xfd050020 0x20>; | ||
43 | reg-shift = <2>; | ||
44 | interrupts = <0 1>; /* external irq 0 */ | ||
45 | /* Filled in by platform_setup from FPGA register | ||
46 | * clock-frequency = <100000000>; | ||
47 | */ | ||
48 | }; | ||
49 | |||
50 | enet0: ethoc@fd030000 { | ||
51 | compatible = "opencores,ethoc"; | ||
52 | reg = <0xfd030000 0x4000 0xfd800000 0x4000>; | ||
53 | interrupts = <1 1>; /* external irq 1 */ | ||
54 | local-mac-address = [00 50 c2 13 6f 00]; | ||
55 | }; | ||
56 | }; | ||