Back to home page

OSCL-LXR

 
 

    


0001 /dts-v1/;
0002 
0003 / {
0004         #size-cells = <0x02>;
0005         #address-cells = <0x02>;
0006         model-name = "microwatt";
0007         compatible = "microwatt-soc";
0008 
0009         aliases {
0010                 serial0 = &UART0;
0011         };
0012 
0013         reserved-memory {
0014                 #size-cells = <0x02>;
0015                 #address-cells = <0x02>;
0016                 ranges;
0017         };
0018 
0019         memory@0 {
0020                 device_type = "memory";
0021                 reg = <0x00000000 0x00000000 0x00000000 0x10000000>;
0022         };
0023 
0024         cpus {
0025                 #size-cells = <0x00>;
0026                 #address-cells = <0x01>;
0027 
0028                 ibm,powerpc-cpu-features {
0029                         display-name = "Microwatt";
0030                         isa = <3000>;
0031                         device_type = "cpu-features";
0032                         compatible = "ibm,powerpc-cpu-features";
0033 
0034                         mmu-radix {
0035                                 isa = <3000>;
0036                                 usable-privilege = <2>;
0037                         };
0038 
0039                         little-endian {
0040                                 isa = <2050>;
0041                                 usable-privilege = <3>;
0042                                 hwcap-bit-nr = <1>;
0043                         };
0044 
0045                         cache-inhibited-large-page {
0046                                 isa = <2040>;
0047                                 usable-privilege = <2>;
0048                         };
0049 
0050                         fixed-point-v3 {
0051                                 isa = <3000>;
0052                                 usable-privilege = <3>;
0053                         };
0054 
0055                         no-execute {
0056                                 isa = <2010>;
0057                                 usable-privilege = <2>;
0058                         };
0059 
0060                         floating-point {
0061                                 hwcap-bit-nr = <27>;
0062                                 isa = <0>;
0063                                 usable-privilege = <3>;
0064                         };
0065                 };
0066 
0067                 PowerPC,Microwatt@0 {
0068                         i-cache-sets = <2>;
0069                         ibm,dec-bits = <64>;
0070                         reservation-granule-size = <64>;
0071                         clock-frequency = <100000000>;
0072                         timebase-frequency = <100000000>;
0073                         i-tlb-sets = <1>;
0074                         ibm,ppc-interrupt-server#s = <0>;
0075                         i-cache-block-size = <64>;
0076                         d-cache-block-size = <64>;
0077                         d-cache-sets = <2>;
0078                         i-tlb-size = <64>;
0079                         cpu-version = <0x990000>;
0080                         status = "okay";
0081                         i-cache-size = <0x1000>;
0082                         ibm,processor-radix-AP-encodings = <0x0c 0xa0000010 0x20000015 0x4000001e>;
0083                         tlb-size = <0>;
0084                         tlb-sets = <0>;
0085                         device_type = "cpu";
0086                         d-tlb-size = <128>;
0087                         d-tlb-sets = <2>;
0088                         reg = <0>;
0089                         general-purpose;
0090                         64-bit;
0091                         d-cache-size = <0x1000>;
0092                         ibm,chip-id = <0>;
0093                         ibm,mmu-lpid-bits = <12>;
0094                         ibm,mmu-pid-bits = <20>;
0095                 };
0096         };
0097 
0098         soc@c0000000 {
0099                 compatible = "simple-bus";
0100                 #address-cells = <1>;
0101                 #size-cells = <1>;
0102                 interrupt-parent = <&ICS>;
0103 
0104                 ranges = <0 0 0xc0000000 0x40000000>;
0105 
0106                 interrupt-controller@4000 {
0107                         compatible = "openpower,xics-presentation", "ibm,ppc-xicp";
0108                         ibm,interrupt-server-ranges = <0x0 0x1>;
0109                         reg = <0x4000 0x100>;
0110                 };
0111 
0112                 ICS: interrupt-controller@5000 {
0113                         compatible = "openpower,xics-sources";
0114                         interrupt-controller;
0115                         interrupt-ranges = <0x10 0x10>;
0116                         reg = <0x5000 0x100>;
0117                         #address-cells = <0>;
0118                         #size-cells = <0>;
0119                         #interrupt-cells = <2>;
0120                 };
0121 
0122                 UART0: serial@2000 {
0123                         device_type = "serial";
0124                         compatible = "ns16550";
0125                         reg = <0x2000 0x8>;
0126                         clock-frequency = <100000000>;
0127                         current-speed = <115200>;
0128                         reg-shift = <2>;
0129                         fifo-size = <16>;
0130                         interrupts = <0x10 0x1>;
0131                 };
0132 
0133                 ethernet@8020000 {
0134                         compatible = "litex,liteeth";
0135                         reg = <0x8021000 0x100
0136                                 0x8020800 0x100
0137                                 0x8030000 0x2000>;
0138                         reg-names = "mac", "mido", "buffer";
0139                         litex,rx-slots = <2>;
0140                         litex,tx-slots = <2>;
0141                         litex,slot-size = <0x800>;
0142                         interrupts = <0x11 0x1>;
0143                 };
0144         };
0145 
0146         chosen {
0147                 bootargs = "";
0148                 ibm,architecture-vec-5 = [19 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00
0149                                           00 00 00 00 00 00 00 00 40 00 40];
0150                 stdout-path = &UART0;
0151         };
0152 };