hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
 
/ {
   compatible = "cdns,xtensa-xtfpga";
   #address-cells = <1>;
   #size-cells = <1>;
   interrupt-parent = <&pic>;
 
   chosen {
       bootargs = "earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw earlyprintk xilinx_uartps.rx_trigger_level=32 loglevel=8 nohz=off ignore_loglevel";
   };
 
   memory@0 {
       device_type = "memory";
       reg = <0x00000000 0x40000000>;
   };
 
   cpus {
       #address-cells = <1>;
       #size-cells = <0>;
       cpu@0 {
           compatible = "cdns,xtensa-cpu";
           reg = <0>;
       };
   };
 
   pic: pic {
       compatible = "cdns,xtensa-pic";
       #interrupt-cells = <2>;
       interrupt-controller;
   };
 
   clocks {
       osc: main-oscillator {
           #clock-cells = <0>;
           compatible = "fixed-clock";
       };
   };
 
   soc {
       #address-cells = <1>;
       #size-cells = <1>;
       compatible = "simple-bus";
       ranges = <0x00000000 0xf0000000 0x10000000>;
 
       uart0: serial@0d000000 {
           compatible = "xlnx,xuartps", "cdns,uart-r1p8";
           clocks = <&osc>, <&osc>;
           clock-names = "uart_clk", "pclk";
           reg = <0x0d000000 0x1000>;
           interrupts = <0 1>;
       };
   };
};