1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * HiSilicon Ltd. HiP01 SoC 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (c) 2014 HiSilicon Ltd. 6*f126890aSEmmanuel Vadot * Copyright (c) 2014 Huawei Ltd. 7*f126890aSEmmanuel Vadot * 8*f126890aSEmmanuel Vadot * Author: Wang Long <long.wanglong@huawei.com> 9*f126890aSEmmanuel Vadot */ 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 13*f126890aSEmmanuel Vadot #address-cells = <1>; 14*f126890aSEmmanuel Vadot #size-cells = <1>; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot gic: interrupt-controller@1e001000 { 17*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-gic"; 18*f126890aSEmmanuel Vadot #interrupt-cells = <3>; 19*f126890aSEmmanuel Vadot #address-cells = <0>; 20*f126890aSEmmanuel Vadot interrupt-controller; 21*f126890aSEmmanuel Vadot reg = <0x1a001000 0x1000>, <0x1a000100 0x1000>; 22*f126890aSEmmanuel Vadot }; 23*f126890aSEmmanuel Vadot 24*f126890aSEmmanuel Vadot hisi_refclk144mhz: refclk144mkhz { 25*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 26*f126890aSEmmanuel Vadot #clock-cells = <0>; 27*f126890aSEmmanuel Vadot clock-frequency = <144000000>; 28*f126890aSEmmanuel Vadot clock-output-names = "hisi:refclk144khz"; 29*f126890aSEmmanuel Vadot }; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot soc { 32*f126890aSEmmanuel Vadot #address-cells = <1>; 33*f126890aSEmmanuel Vadot #size-cells = <1>; 34*f126890aSEmmanuel Vadot compatible = "simple-bus"; 35*f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 36*f126890aSEmmanuel Vadot ranges = <0 0x10000000 0x20000000>; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot amba-bus { 39*f126890aSEmmanuel Vadot #address-cells = <1>; 40*f126890aSEmmanuel Vadot #size-cells = <1>; 41*f126890aSEmmanuel Vadot compatible = "simple-bus"; 42*f126890aSEmmanuel Vadot ranges; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot uart0: serial@10001000 { 45*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 46*f126890aSEmmanuel Vadot reg = <0x10001000 0x1000>; 47*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; 48*f126890aSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 49*f126890aSEmmanuel Vadot reg-shift = <2>; 50*f126890aSEmmanuel Vadot interrupts = <0 32 4>; 51*f126890aSEmmanuel Vadot status = "disabled"; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot uart1: serial@10002000 { 55*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 56*f126890aSEmmanuel Vadot reg = <0x10002000 0x1000>; 57*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; 58*f126890aSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 59*f126890aSEmmanuel Vadot reg-shift = <2>; 60*f126890aSEmmanuel Vadot interrupts = <0 33 4>; 61*f126890aSEmmanuel Vadot status = "disabled"; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot uart2: serial@10003000 { 65*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 66*f126890aSEmmanuel Vadot reg = <0x10003000 0x1000>; 67*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; 68*f126890aSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 69*f126890aSEmmanuel Vadot reg-shift = <2>; 70*f126890aSEmmanuel Vadot interrupts = <0 34 4>; 71*f126890aSEmmanuel Vadot status = "disabled"; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot 74*f126890aSEmmanuel Vadot uart3: serial@10006000 { 75*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 76*f126890aSEmmanuel Vadot reg = <0x10006000 0x1000>; 77*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; 78*f126890aSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 79*f126890aSEmmanuel Vadot reg-shift = <2>; 80*f126890aSEmmanuel Vadot interrupts = <0 4 4>; 81*f126890aSEmmanuel Vadot status = "disabled"; 82*f126890aSEmmanuel Vadot }; 83*f126890aSEmmanuel Vadot }; 84*f126890aSEmmanuel Vadot 85*f126890aSEmmanuel Vadot system-controller@10000000 { 86*f126890aSEmmanuel Vadot compatible = "hisilicon,hip01-sysctrl", "hisilicon,sysctrl"; 87*f126890aSEmmanuel Vadot reg = <0x10000000 0x1000>; 88*f126890aSEmmanuel Vadot reboot-offset = <0x4>; 89*f126890aSEmmanuel Vadot }; 90*f126890aSEmmanuel Vadot 91*f126890aSEmmanuel Vadot global_timer@a000200 { 92*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-global-timer"; 93*f126890aSEmmanuel Vadot reg = <0x0a000200 0x100>; 94*f126890aSEmmanuel Vadot interrupts = <1 11 0xf04>; 95*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot 98*f126890aSEmmanuel Vadot local_timer@a000600 { 99*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-twd-timer"; 100*f126890aSEmmanuel Vadot reg = <0x0a000600 0x100>; 101*f126890aSEmmanuel Vadot interrupts = <1 13 0xf04>; 102*f126890aSEmmanuel Vadot clocks = <&hisi_refclk144mhz>; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot }; 105*f126890aSEmmanuel Vadot}; 106