1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot/dts-v1/; 3*c66ec88fSEmmanuel Vadot/ { 4*c66ec88fSEmmanuel Vadot compatible = "gnu,gdbsim"; 5*c66ec88fSEmmanuel Vadot #address-cells = <1>; 6*c66ec88fSEmmanuel Vadot #size-cells = <1>; 7*c66ec88fSEmmanuel Vadot interrupt-parent = <&h8intc>; 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot chosen { 10*c66ec88fSEmmanuel Vadot bootargs = "earlyprintk=h8300-sim"; 11*c66ec88fSEmmanuel Vadot stdout-path = <&sci0>; 12*c66ec88fSEmmanuel Vadot }; 13*c66ec88fSEmmanuel Vadot aliases { 14*c66ec88fSEmmanuel Vadot serial0 = &sci0; 15*c66ec88fSEmmanuel Vadot serial1 = &sci1; 16*c66ec88fSEmmanuel Vadot }; 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot xclk: oscillator { 19*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 20*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 21*c66ec88fSEmmanuel Vadot clock-frequency = <20000000>; 22*c66ec88fSEmmanuel Vadot clock-output-names = "xtal"; 23*c66ec88fSEmmanuel Vadot }; 24*c66ec88fSEmmanuel Vadot core_clk: core_clk { 25*c66ec88fSEmmanuel Vadot compatible = "renesas,h8300-div-clock"; 26*c66ec88fSEmmanuel Vadot clocks = <&xclk>; 27*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 28*c66ec88fSEmmanuel Vadot reg = <0xfee01b 2>; 29*c66ec88fSEmmanuel Vadot renesas,width = <2>; 30*c66ec88fSEmmanuel Vadot }; 31*c66ec88fSEmmanuel Vadot fclk: fclk { 32*c66ec88fSEmmanuel Vadot compatible = "fixed-factor-clock"; 33*c66ec88fSEmmanuel Vadot clocks = <&core_clk>; 34*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 35*c66ec88fSEmmanuel Vadot clock-div = <1>; 36*c66ec88fSEmmanuel Vadot clock-mult = <1>; 37*c66ec88fSEmmanuel Vadot }; 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot memory@400000 { 40*c66ec88fSEmmanuel Vadot device_type = "memory"; 41*c66ec88fSEmmanuel Vadot reg = <0x400000 0x400000>; 42*c66ec88fSEmmanuel Vadot }; 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot cpus { 45*c66ec88fSEmmanuel Vadot #address-cells = <1>; 46*c66ec88fSEmmanuel Vadot #size-cells = <0>; 47*c66ec88fSEmmanuel Vadot cpu@0 { 48*c66ec88fSEmmanuel Vadot compatible = "renesas,h8300"; 49*c66ec88fSEmmanuel Vadot clock-frequency = <20000000>; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot }; 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot h8intc: interrupt-controller@fee012 { 54*c66ec88fSEmmanuel Vadot compatible = "renesas,h8300h-intc", "renesas,h8300-intc"; 55*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 56*c66ec88fSEmmanuel Vadot interrupt-controller; 57*c66ec88fSEmmanuel Vadot reg = <0xfee012 7>; 58*c66ec88fSEmmanuel Vadot }; 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot bsc: memory-controller@fee01e { 61*c66ec88fSEmmanuel Vadot compatible = "renesas,h8300h-bsc", "renesas,h8300-bsc"; 62*c66ec88fSEmmanuel Vadot reg = <0xfee01e 8>; 63*c66ec88fSEmmanuel Vadot }; 64*c66ec88fSEmmanuel Vadot 65*c66ec88fSEmmanuel Vadot timer8: timer@ffff80 { 66*c66ec88fSEmmanuel Vadot compatible = "renesas,8bit-timer"; 67*c66ec88fSEmmanuel Vadot reg = <0xffff80 10>; 68*c66ec88fSEmmanuel Vadot interrupts = <36 0>; 69*c66ec88fSEmmanuel Vadot clocks = <&fclk>; 70*c66ec88fSEmmanuel Vadot clock-names = "fck"; 71*c66ec88fSEmmanuel Vadot }; 72*c66ec88fSEmmanuel Vadot 73*c66ec88fSEmmanuel Vadot timer16: timer@ffff68 { 74*c66ec88fSEmmanuel Vadot compatible = "renesas,16bit-timer"; 75*c66ec88fSEmmanuel Vadot reg = <0xffff68 8>, <0xffff60 8>; 76*c66ec88fSEmmanuel Vadot interrupts = <26 0>; 77*c66ec88fSEmmanuel Vadot renesas,channel = <0>; 78*c66ec88fSEmmanuel Vadot clocks = <&fclk>; 79*c66ec88fSEmmanuel Vadot clock-names = "fck"; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot 82*c66ec88fSEmmanuel Vadot sci0: serial@ffffb0 { 83*c66ec88fSEmmanuel Vadot compatible = "renesas,sci"; 84*c66ec88fSEmmanuel Vadot reg = <0xffffb0 8>; 85*c66ec88fSEmmanuel Vadot interrupts = <52 0>, <53 0>, <54 0>, <55 0>; 86*c66ec88fSEmmanuel Vadot clocks = <&fclk>; 87*c66ec88fSEmmanuel Vadot clock-names = "fck"; 88*c66ec88fSEmmanuel Vadot }; 89*c66ec88fSEmmanuel Vadot 90*c66ec88fSEmmanuel Vadot sci1: serial@ffffb8 { 91*c66ec88fSEmmanuel Vadot compatible = "renesas,sci"; 92*c66ec88fSEmmanuel Vadot reg = <0xffffb8 8>; 93*c66ec88fSEmmanuel Vadot interrupts = <56 0>, <57 0>, <58 0>, <59 0>; 94*c66ec88fSEmmanuel Vadot clocks = <&fclk>; 95*c66ec88fSEmmanuel Vadot clock-names = "fck"; 96*c66ec88fSEmmanuel Vadot }; 97*c66ec88fSEmmanuel Vadot}; 98