1/* 2 * Spreadtrum Whale2 platform peripherals 3 * 4 * Copyright (C) 2016, Spreadtrum Communications Inc. 5 * 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 */ 8 9/ { 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 13 14 soc: soc { 15 compatible = "simple-bus"; 16 #address-cells = <2>; 17 #size-cells = <2>; 18 ranges; 19 20 ap-apb { 21 compatible = "simple-bus"; 22 #address-cells = <1>; 23 #size-cells = <1>; 24 ranges = <0 0x0 0x70000000 0x10000000>; 25 26 uart0: serial@0 { 27 compatible = "sprd,sc9860-uart", 28 "sprd,sc9836-uart"; 29 reg = <0x0 0x100>; 30 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 31 clocks = <&ext_26m>; 32 status = "disabled"; 33 }; 34 35 uart1: serial@100000 { 36 compatible = "sprd,sc9860-uart", 37 "sprd,sc9836-uart"; 38 reg = <0x100000 0x100>; 39 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 40 clocks = <&ext_26m>; 41 status = "disabled"; 42 }; 43 44 uart2: serial@200000 { 45 compatible = "sprd,sc9860-uart", 46 "sprd,sc9836-uart"; 47 reg = <0x200000 0x100>; 48 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 49 clocks = <&ext_26m>; 50 status = "disabled"; 51 }; 52 53 uart3: serial@300000 { 54 compatible = "sprd,sc9860-uart", 55 "sprd,sc9836-uart"; 56 reg = <0x300000 0x100>; 57 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 58 clocks = <&ext_26m>; 59 status = "disabled"; 60 }; 61 }; 62 63 }; 64 65 ext_26m: ext-26m { 66 compatible = "fixed-clock"; 67 #clock-cells = <0>; 68 clock-frequency = <26000000>; 69 clock-output-names = "ext_26m"; 70 }; 71}; 72