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_ahb_regs: syscon@20210000 { 21 compatible = "syscon"; 22 reg = <0 0x20210000 0 0x10000>; 23 }; 24 25 pmu_regs: syscon@402b0000 { 26 compatible = "syscon"; 27 reg = <0 0x402b0000 0 0x10000>; 28 }; 29 30 aon_regs: syscon@402e0000 { 31 compatible = "syscon"; 32 reg = <0 0x402e0000 0 0x10000>; 33 }; 34 35 ana_regs: syscon@40400000 { 36 compatible = "syscon"; 37 reg = <0 0x40400000 0 0x10000>; 38 }; 39 40 agcp_regs: syscon@415e0000 { 41 compatible = "syscon"; 42 reg = <0 0x415e0000 0 0x1000000>; 43 }; 44 45 vsp_regs: syscon@61100000 { 46 compatible = "syscon"; 47 reg = <0 0x61100000 0 0x10000>; 48 }; 49 50 cam_regs: syscon@62100000 { 51 compatible = "syscon"; 52 reg = <0 0x62100000 0 0x10000>; 53 }; 54 55 disp_regs: syscon@63100000 { 56 compatible = "syscon"; 57 reg = <0 0x63100000 0 0x10000>; 58 }; 59 60 ap_apb_regs: syscon@70b00000 { 61 compatible = "syscon"; 62 reg = <0 0x70b00000 0 0x40000>; 63 }; 64 65 ap-apb { 66 compatible = "simple-bus"; 67 #address-cells = <1>; 68 #size-cells = <1>; 69 ranges = <0 0x0 0x70000000 0x10000000>; 70 71 uart0: serial@0 { 72 compatible = "sprd,sc9860-uart", 73 "sprd,sc9836-uart"; 74 reg = <0x0 0x100>; 75 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 76 clocks = <&ext_26m>; 77 status = "disabled"; 78 }; 79 80 uart1: serial@100000 { 81 compatible = "sprd,sc9860-uart", 82 "sprd,sc9836-uart"; 83 reg = <0x100000 0x100>; 84 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 85 clocks = <&ext_26m>; 86 status = "disabled"; 87 }; 88 89 uart2: serial@200000 { 90 compatible = "sprd,sc9860-uart", 91 "sprd,sc9836-uart"; 92 reg = <0x200000 0x100>; 93 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 94 clocks = <&ext_26m>; 95 status = "disabled"; 96 }; 97 98 uart3: serial@300000 { 99 compatible = "sprd,sc9860-uart", 100 "sprd,sc9836-uart"; 101 reg = <0x300000 0x100>; 102 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 103 clocks = <&ext_26m>; 104 status = "disabled"; 105 }; 106 }; 107 }; 108 109 ext_32k: ext_32k { 110 compatible = "fixed-clock"; 111 #clock-cells = <0>; 112 clock-frequency = <32768>; 113 clock-output-names = "ext-32k"; 114 }; 115 116 ext_26m: ext_26m { 117 compatible = "fixed-clock"; 118 #clock-cells = <0>; 119 clock-frequency = <26000000>; 120 clock-output-names = "ext-26m"; 121 }; 122 123 ext_rco_100m: ext_rco_100m { 124 compatible = "fixed-clock"; 125 #clock-cells = <0>; 126 clock-frequency = <100000000>; 127 clock-output-names = "ext-rco-100m"; 128 }; 129}; 130