Back to home page

OSCL-LXR

 
 

    


0001 /dts-v1/;
0002 
0003 / {
0004         #address-cells = <1>;
0005         #size-cells = <1>;
0006         compatible = "ni,169445";
0007 
0008         cpus {
0009                 #address-cells = <1>;
0010                 #size-cells = <0>;
0011                 cpu@0 {
0012                         device_type = "cpu";
0013                         compatible = "mti,mips14KEc";
0014                         clocks = <&baseclk>;
0015                         reg = <0>;
0016                 };
0017         };
0018 
0019         memory@0 {
0020                 device_type = "memory";
0021                 reg = <0x0 0x10000000>;
0022         };
0023 
0024         baseclk: baseclock {
0025                 compatible = "fixed-clock";
0026                 #clock-cells = <0>;
0027                 clock-frequency = <50000000>;
0028         };
0029 
0030         cpu_intc: interrupt-controller {
0031                 #address-cells = <0>;
0032                 compatible = "mti,cpu-interrupt-controller";
0033                 interrupt-controller;
0034                 #interrupt-cells = <1>;
0035         };
0036 
0037         ahb@1f300000 {
0038                 compatible = "simple-bus";
0039                 #address-cells = <1>;
0040                 #size-cells = <1>;
0041                 ranges = <0x0 0x1f300000 0x80FFF>;
0042 
0043                 gpio1: gpio@10 {
0044                         compatible = "ni,169445-nand-gpio";
0045                         reg = <0x10 0x4>;
0046                         reg-names = "dat";
0047                         gpio-controller;
0048                         #gpio-cells = <2>;
0049                 };
0050 
0051                 gpio2: gpio@14 {
0052                         compatible = "ni,169445-nand-gpio";
0053                         reg = <0x14 0x4>;
0054                         reg-names = "dat";
0055                         gpio-controller;
0056                         #gpio-cells = <2>;
0057                         no-output;
0058                 };
0059 
0060                 nand@0 {
0061                         compatible = "gpio-control-nand";
0062                         nand-on-flash-bbt;
0063                         nand-ecc-mode = "soft_bch";
0064                         nand-ecc-step-size = <512>;
0065                         nand-ecc-strength = <4>;
0066                         reg = <0x0 4>;
0067                         gpios = <&gpio2 0 0>, /* rdy */
0068                                 <&gpio1 1 0>, /* nce */
0069                                 <&gpio1 2 0>, /* ale */
0070                                 <&gpio1 3 0>, /* cle */
0071                                 <&gpio1 4 0>; /* nwp */
0072                 };
0073 
0074                 serial@80000 {
0075                         compatible = "ns16550a";
0076                         reg = <0x80000 0x1000>;
0077                         interrupt-parent = <&cpu_intc>;
0078                         interrupts = <6>;
0079                         clocks = <&baseclk>;
0080                         reg-shift = <0>;
0081                 };
0082 
0083                 ethernet@40000 {
0084                         compatible = "snps,dwmac-4.10a";
0085                         interrupt-parent = <&cpu_intc>;
0086                         interrupts = <5>;
0087                         interrupt-names = "macirq";
0088                         reg = <0x40000 0x2000>;
0089                         clock-names = "stmmaceth", "pclk";
0090                         clocks = <&baseclk>, <&baseclk>;
0091 
0092                         phy-mode = "rgmii";
0093 
0094                         fixed-link {
0095                                 speed = <1000>;
0096                                 full-duplex;
0097                         };
0098                 };
0099         };
0100 };