Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | / { |
| 3 | compatible = "renesas,edosk2674"; |
| 4 | #address-cells = <1>; |
| 5 | #size-cells = <1>; |
| 6 | interrupt-parent = <&h8intc>; |
| 7 | |
| 8 | chosen { |
| 9 | bootargs = "console=ttySC2,38400"; |
Yoshinori Sato | 780ffcd | 2015-05-31 23:34:22 +0900 | [diff] [blame] | 10 | stdout-path = &sci2; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 11 | }; |
| 12 | aliases { |
| 13 | serial0 = &sci0; |
| 14 | serial1 = &sci1; |
| 15 | serial2 = &sci2; |
| 16 | }; |
| 17 | |
| 18 | xclk: oscillator { |
| 19 | #clock-cells = <0>; |
| 20 | compatible = "fixed-clock"; |
| 21 | clock-frequency = <33333333>; |
| 22 | clock-output-names = "xtal"; |
| 23 | }; |
| 24 | pllclk: pllclk { |
| 25 | compatible = "renesas,h8s2678-pll-clock"; |
| 26 | clocks = <&xclk>; |
| 27 | #clock-cells = <0>; |
Yoshinori Sato | 780ffcd | 2015-05-31 23:34:22 +0900 | [diff] [blame] | 28 | reg = <0xffff3b 1>, <0xffff45 1>; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 29 | }; |
| 30 | core_clk: core_clk { |
| 31 | compatible = "renesas,h8300-div-clock"; |
| 32 | clocks = <&pllclk>; |
| 33 | #clock-cells = <0>; |
Yoshinori Sato | 780ffcd | 2015-05-31 23:34:22 +0900 | [diff] [blame] | 34 | reg = <0xffff3b 1>; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 35 | renesas,width = <3>; |
| 36 | }; |
| 37 | fclk: fclk { |
| 38 | compatible = "fixed-factor-clock"; |
| 39 | clocks = <&core_clk>; |
| 40 | #clock-cells = <0>; |
| 41 | clock-div = <1>; |
| 42 | clock-mult = <1>; |
| 43 | }; |
| 44 | |
| 45 | memory@400000 { |
| 46 | device_type = "memory"; |
| 47 | reg = <0x400000 0x800000>; |
| 48 | }; |
| 49 | |
| 50 | cpus { |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <0>; |
| 53 | cpu@0 { |
| 54 | compatible = "renesas,h8300"; |
| 55 | clock-frequency = <33333333>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | h8intc: interrupt-controller@fffe00 { |
| 60 | compatible = "renesas,h8s-intc", "renesas,h8300-intc"; |
| 61 | #interrupt-cells = <2>; |
| 62 | interrupt-controller; |
| 63 | reg = <0xfffe00 24>; |
| 64 | }; |
| 65 | |
| 66 | bsc: memory-controller@fffec0 { |
| 67 | compatible = "renesas,h8s-bsc", "renesas,h8300-bsc"; |
| 68 | reg = <0xfffec0 24>; |
| 69 | }; |
| 70 | |
| 71 | tpu: timer@ffffe0 { |
| 72 | compatible = "renesas,tpu"; |
| 73 | reg = <0xffffe0 16>, <0xfffff0 12>; |
| 74 | clocks = <&fclk>; |
| 75 | clock-names = "fck"; |
| 76 | }; |
| 77 | |
| 78 | timer8: timer@ffffb0 { |
| 79 | compatible = "renesas,8bit-timer"; |
| 80 | reg = <0xffffb0 10>; |
| 81 | interrupts = <72 0>; |
| 82 | clocks = <&fclk>; |
| 83 | clock-names = "fck"; |
| 84 | }; |
| 85 | |
| 86 | sci0: serial@ffff78 { |
| 87 | compatible = "renesas,sci"; |
| 88 | reg = <0xffff78 8>; |
| 89 | interrupts = <88 0>, <89 0>, <90 0>, <91 0>; |
| 90 | clocks = <&fclk>; |
Geert Uytterhoeven | d858161 | 2016-01-29 10:36:25 +0100 | [diff] [blame] | 91 | clock-names = "fck"; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 92 | }; |
| 93 | sci1: serial@ffff80 { |
| 94 | compatible = "renesas,sci"; |
| 95 | reg = <0xffff80 8>; |
| 96 | interrupts = <92 0>, <93 0>, <94 0>, <95 0>; |
| 97 | clocks = <&fclk>; |
Geert Uytterhoeven | d858161 | 2016-01-29 10:36:25 +0100 | [diff] [blame] | 98 | clock-names = "fck"; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 99 | }; |
| 100 | sci2: serial@ffff88 { |
| 101 | compatible = "renesas,sci"; |
| 102 | reg = <0xffff88 8>; |
| 103 | interrupts = <96 0>, <97 0>, <98 0>, <99 0>; |
| 104 | clocks = <&fclk>; |
Geert Uytterhoeven | d858161 | 2016-01-29 10:36:25 +0100 | [diff] [blame] | 105 | clock-names = "fck"; |
Yoshinori Sato | 38d6bde | 2015-05-11 02:10:03 +0900 | [diff] [blame] | 106 | }; |
| 107 | }; |