~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/nios2/nios2.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/nios2/nios2.txt (Architecture ppc) and /Documentation/devicetree/bindings/nios2/nios2.txt (Architecture alpha)


  1 * Nios II Processor Binding                         1 * Nios II Processor Binding
  2                                                     2 
  3 This binding specifies what properties availab      3 This binding specifies what properties available in the device tree
  4 representation of a Nios II Processor Core.         4 representation of a Nios II Processor Core.
  5                                                     5 
  6 Users can use sopc2dts tool for generating dev      6 Users can use sopc2dts tool for generating device tree sources (dts) from a
  7 Qsys system. See more detail in: http://www.al      7 Qsys system. See more detail in: http://www.alterawiki.com/wiki/Sopc2dts
  8                                                     8 
  9 Required properties:                                9 Required properties:
 10                                                    10 
 11 - compatible: Compatible property value should     11 - compatible: Compatible property value should be "altr,nios2-1.0".
 12 - reg: Contains CPU index.                         12 - reg: Contains CPU index.
 13 - interrupt-controller: Specifies that the nod     13 - interrupt-controller: Specifies that the node is an interrupt controller
 14 - #interrupt-cells: Specifies the number of ce     14 - #interrupt-cells: Specifies the number of cells needed to encode an
 15                 interrupt source, should be 1.     15                 interrupt source, should be 1.
 16 - clock-frequency: Contains the clock frequenc     16 - clock-frequency: Contains the clock frequency for CPU, in Hz.
 17 - dcache-line-size: Contains data cache line s     17 - dcache-line-size: Contains data cache line size.
 18 - icache-line-size: Contains instruction line      18 - icache-line-size: Contains instruction line size.
 19 - dcache-size: Contains data cache size.           19 - dcache-size: Contains data cache size.
 20 - icache-size: Contains instruction cache size     20 - icache-size: Contains instruction cache size.
 21 - altr,pid-num-bits: Specifies the number of b     21 - altr,pid-num-bits: Specifies the number of bits to use to represent the process
 22                 identifier (PID).                  22                 identifier (PID).
 23 - altr,tlb-num-ways: Specifies the number of s     23 - altr,tlb-num-ways: Specifies the number of set-associativity ways in the TLB.
 24 - altr,tlb-num-entries: Specifies the number o     24 - altr,tlb-num-entries: Specifies the number of entries in the TLB.
 25 - altr,tlb-ptr-sz: Specifies size of TLB point     25 - altr,tlb-ptr-sz: Specifies size of TLB pointer.
 26 - altr,has-mul: Specifies CPU hardware multipl     26 - altr,has-mul: Specifies CPU hardware multiply support, should be 1.
 27 - altr,has-mmu: Specifies CPU support MMU supp     27 - altr,has-mmu: Specifies CPU support MMU support, should be 1.
 28 - altr,has-initda: Specifies CPU support initd     28 - altr,has-initda: Specifies CPU support initda instruction, should be 1.
 29 - altr,reset-addr: Specifies CPU reset address     29 - altr,reset-addr: Specifies CPU reset address
 30 - altr,fast-tlb-miss-addr: Specifies CPU fast      30 - altr,fast-tlb-miss-addr: Specifies CPU fast TLB miss exception address
 31 - altr,exception-addr: Specifies CPU exception     31 - altr,exception-addr: Specifies CPU exception address
 32                                                    32 
 33 Optional properties:                               33 Optional properties:
 34 - altr,has-div: Specifies CPU hardware divide      34 - altr,has-div: Specifies CPU hardware divide support
 35 - altr,implementation: Nios II core implementa     35 - altr,implementation: Nios II core implementation, this should be "fast";
 36                                                    36 
 37 Example:                                           37 Example:
 38                                                    38 
 39 cpu@0 {                                            39 cpu@0 {
 40         device_type = "cpu";                       40         device_type = "cpu";
 41         compatible = "altr,nios2-1.0";             41         compatible = "altr,nios2-1.0";
 42         reg = <0>;                                 42         reg = <0>;
 43         interrupt-controller;                      43         interrupt-controller;
 44         #interrupt-cells = <1>;                    44         #interrupt-cells = <1>;
 45         clock-frequency = <125000000>;             45         clock-frequency = <125000000>;
 46         dcache-line-size = <32>;                   46         dcache-line-size = <32>;
 47         icache-line-size = <32>;                   47         icache-line-size = <32>;
 48         dcache-size = <32768>;                     48         dcache-size = <32768>;
 49         icache-size = <32768>;                     49         icache-size = <32768>;
 50         altr,implementation = "fast";              50         altr,implementation = "fast";
 51         altr,pid-num-bits = <8>;                   51         altr,pid-num-bits = <8>;
 52         altr,tlb-num-ways = <16>;                  52         altr,tlb-num-ways = <16>;
 53         altr,tlb-num-entries = <128>;              53         altr,tlb-num-entries = <128>;
 54         altr,tlb-ptr-sz = <7>;                     54         altr,tlb-ptr-sz = <7>;
 55         altr,has-div = <1>;                        55         altr,has-div = <1>;
 56         altr,has-mul = <1>;                        56         altr,has-mul = <1>;
 57         altr,reset-addr = <0xc2800000>;            57         altr,reset-addr = <0xc2800000>;
 58         altr,fast-tlb-miss-addr = <0xc7fff400>     58         altr,fast-tlb-miss-addr = <0xc7fff400>;
 59         altr,exception-addr = <0xd0000020>;        59         altr,exception-addr = <0xd0000020>;
 60         altr,has-initda = <1>;                     60         altr,has-initda = <1>;
 61         altr,has-mmu = <1>;                        61         altr,has-mmu = <1>;
 62 };                                                 62 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php