Home | History | Annotate | Line # | Download | only in wrap030
      1 /dts-v1/;
      2 
      3 / {
      4 	interrupt-parent = <&intc>;
      5 	#address-cells = <1>;
      6 	#size-cells = <1>;
      7 
      8 	model = "Wrap030";
      9 	compatible = "techav,wrap030";
     10 
     11 	chosen {
     12 		/*
     13 		 * Original Wrap030 port hard-codes:
     14 		 * RB_ASKNAME | RB_SINGLE | AB_VERBOSE | AB_DEBUG
     15 		 */
     16 		bootargs = "-asvx";
     17 		stdout-path = "serial0:9600n8";
     18 	};
     19 
     20 	aliases {
     21 		ata0 = "/obio/ata@80200000";
     22 
     23 		serial0 = "/obio/serial@80300000";
     24 		serial1 = "/obio/serial@80300008";
     25 
     26 		timer0 = "/obio/timer@80f00000";
     27 	};
     28 
     29 	cpus {
     30 		#address-cells = <1>;
     31 		#size-cells = <0>;
     32 
     33 		cpu0: cpu@0 {
     34 			compatible = "motorola,68030";
     35 			device_type = "cpu";
     36 			reg = <0>;
     37 			clock-frequency = <25000000>;
     38 		};
     39 	};
     40 
     41 	clocks {
     42 		cpu_osc: osc25M_clk {
     43 			compatible = "fixed-clock";
     44 			#clock-cells = <0>;
     45 			clock-frequency = <25000000>;
     46 		};
     47 
     48 		/*
     49 		 * The FPU clock is actually jumper-selectable between
     50 		 * the cpu_osc and the fpu_osc, but there is no way to
     51 		 * know the selection in software.
     52 		 */
     53 		fpu_osc: osc16M_clk {
     54 			compatible = "fixed-clock";
     55 			#clock-cells = <0>;
     56 			clock-frequency = <16000000>;
     57 		};
     58 	};
     59 
     60 	memory@0 {
     61 		/*
     62 		 * Original Wrap030 port hard-wired 16MB, and so do we,
     63 		 * for now.  Eventually, the kernel will have to size
     64 		 * the memory dynamically somehow.
     65 		 */
     66 		device_type = "memory";
     67 		reg = <0x0 0x1000000>;
     68 	};
     69 
     70 	intc: interrupt-controller {
     71 		/*
     72 		 * Interrupt cells:
     73 		 * - Interrupt priority level (1-7)
     74 		 * - Interrupt vector (0 == auto-vector)
     75 		 */
     76 		compatible = "motorola,68000-generic-interrupts";
     77 		interrupt-controller;
     78 		#interrupt-cells = <2>;
     79 	};
     80 
     81 	obio {
     82 		compatible = "simple-bus";
     83 		#address-cells = <1>;
     84 		#size-cells = <1>;
     85 
     86 		serial@80300000 {
     87 			compatible = "ns16550a";
     88 			reg = <0x80300000 0x8>;
     89 			clock-frequency = <1843200>;
     90 			interrupts = <5 0>;
     91 		};
     92 
     93 		serial@80300008 {
     94 			compatible = "ns16550a";
     95 			reg = <0x80300008 0x8>;
     96 			clock-frequency = <1843200>;
     97 			interrupts = <5 0>;
     98 		};
     99 
    100 		serial@80300010 {
    101 			compatible = "ns16550a";
    102 			reg = <0x80300010 0x8>;
    103 			clock-frequency = <1843200>;
    104 			interrupts = <5 0>;
    105 		};
    106 
    107 		serial@80300018 {
    108 			compatible = "ns16550a";
    109 			reg = <0x80300018 0x8>;
    110 			clock-frequency = <1843200>;
    111 			interrupts = <5 0>;
    112 		};
    113 
    114 		serial@80300020 {
    115 			compatible = "ns16550a";
    116 			reg = <0x80300020 0x8>;
    117 			clock-frequency = <1843200>;
    118 			interrupts = <5 0>;
    119 		};
    120 
    121 		serial@80300028 {
    122 			compatible = "ns16550a";
    123 			reg = <0x80300028 0x8>;
    124 			clock-frequency = <1843200>;
    125 			interrupts = <5 0>;
    126 		};
    127 
    128 		serial@80300030 {
    129 			compatible = "ns16550a";
    130 			reg = <0x80300030 0x8>;
    131 			clock-frequency = <1843200>;
    132 			interrupts = <5 0>;
    133 		};
    134 
    135 		serial@80300038 {
    136 			compatible = "ns16550a";
    137 			reg = <0x80300038 0x8>;
    138 			clock-frequency = <1843200>;
    139 			interrupts = <5 0>;
    140 		};
    141 
    142 		ata@80200000 {
    143 			compatible = "ata-generic";
    144 			reg = <0x80200000 0x10>,	/* command */
    145 			      <0x8020200c 0x4>;		/* control */
    146 			reg-shift = <1>;
    147 			interrupts = <3 0>;
    148 			ata-generic,use16bit;
    149 		};
    150 
    151 		timer@80f00000 {
    152 			compatible = "techav,wrap030-timer";
    153 			reg = <0x80f00000 0x10000>;
    154 			clocks = <&cpu_osc>;
    155 			interrupts = <6 0>;
    156 		};
    157 	};
    158 };
    159