Srinivas Kandagatla | 65ebcc1 | 2013-06-25 12:15:10 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 STMicroelectronics (R&D) Limited. |
| 3 | * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * publishhed by the Free Software Foundation. |
| 8 | */ |
| 9 | #include "stih41x.dtsi" |
| 10 | #include "stih415-clock.dtsi" |
| 11 | #include "stih415-pinctrl.dtsi" |
Maxime COQUELIN | 5bbb752 | 2013-11-06 09:25:14 +0100 | [diff] [blame] | 12 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Srinivas Kandagatla | 6b7f06c | 2014-03-11 09:24:55 +0000 | [diff] [blame] | 13 | #include <dt-bindings/reset-controller/stih415-resets.h> |
Srinivas Kandagatla | 65ebcc1 | 2013-06-25 12:15:10 +0100 | [diff] [blame] | 14 | / { |
| 15 | |
| 16 | L2: cache-controller { |
| 17 | compatible = "arm,pl310-cache"; |
| 18 | reg = <0xfffe2000 0x1000>; |
| 19 | arm,data-latency = <3 2 2>; |
| 20 | arm,tag-latency = <1 1 1>; |
| 21 | cache-unified; |
| 22 | cache-level = <2>; |
| 23 | }; |
| 24 | |
| 25 | soc { |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <1>; |
| 28 | interrupt-parent = <&intc>; |
| 29 | ranges; |
| 30 | compatible = "simple-bus"; |
| 31 | |
Srinivas Kandagatla | 6b7f06c | 2014-03-11 09:24:55 +0000 | [diff] [blame] | 32 | powerdown: powerdown-controller { |
| 33 | #reset-cells = <1>; |
| 34 | compatible = "st,stih415-powerdown"; |
| 35 | }; |
| 36 | |
Srinivas Kandagatla | fc58fcf | 2014-03-11 09:32:49 +0000 | [diff] [blame^] | 37 | softreset: softreset-controller { |
| 38 | #reset-cells = <1>; |
| 39 | compatible = "st,stih415-softreset"; |
| 40 | }; |
| 41 | |
Srinivas Kandagatla | 65ebcc1 | 2013-06-25 12:15:10 +0100 | [diff] [blame] | 42 | syscfg_sbc: sbc-syscfg@fe600000{ |
| 43 | compatible = "st,stih415-sbc-syscfg", "syscon"; |
| 44 | reg = <0xfe600000 0xb4>; |
| 45 | }; |
| 46 | |
| 47 | syscfg_front: front-syscfg@fee10000{ |
| 48 | compatible = "st,stih415-front-syscfg", "syscon"; |
| 49 | reg = <0xfee10000 0x194>; |
| 50 | }; |
| 51 | |
| 52 | syscfg_rear: rear-syscfg@fe830000{ |
| 53 | compatible = "st,stih415-rear-syscfg", "syscon"; |
| 54 | reg = <0xfe830000 0x190>; |
| 55 | }; |
| 56 | |
| 57 | /* MPE syscfgs */ |
| 58 | syscfg_left: left-syscfg@fd690000{ |
| 59 | compatible = "st,stih415-left-syscfg", "syscon"; |
| 60 | reg = <0xfd690000 0x78>; |
| 61 | }; |
| 62 | |
| 63 | syscfg_right: right-syscfg@fd320000{ |
| 64 | compatible = "st,stih415-right-syscfg", "syscon"; |
| 65 | reg = <0xfd320000 0x180>; |
| 66 | }; |
| 67 | |
| 68 | syscfg_system: system-syscfg@fdde0000 { |
| 69 | compatible = "st,stih415-system-syscfg", "syscon"; |
| 70 | reg = <0xfdde0000 0x15c>; |
| 71 | }; |
| 72 | |
| 73 | syscfg_lpm: lpm-syscfg@fe4b5100{ |
| 74 | compatible = "st,stih415-lpm-syscfg", "syscon"; |
| 75 | reg = <0xfe4b5100 0x08>; |
| 76 | }; |
| 77 | |
| 78 | serial2: serial@fed32000 { |
| 79 | compatible = "st,asc"; |
| 80 | status = "disabled"; |
| 81 | reg = <0xfed32000 0x2c>; |
| 82 | interrupts = <0 197 0>; |
| 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&pinctrl_serial2>; |
| 85 | clocks = <&CLKS_ICN_REG_0>; |
| 86 | }; |
| 87 | |
| 88 | /* SBC comms block ASCs in SASG1 */ |
| 89 | sbc_serial1: serial@fe531000 { |
| 90 | compatible = "st,asc"; |
| 91 | status = "disabled"; |
| 92 | reg = <0xfe531000 0x2c>; |
| 93 | interrupts = <0 210 0>; |
| 94 | clocks = <&CLK_SYSIN>; |
| 95 | pinctrl-names = "default"; |
| 96 | pinctrl-0 = <&pinctrl_sbc_serial1>; |
| 97 | }; |
Maxime COQUELIN | 5bbb752 | 2013-11-06 09:25:14 +0100 | [diff] [blame] | 98 | |
| 99 | i2c@fed40000 { |
| 100 | compatible = "st,comms-ssc4-i2c"; |
| 101 | reg = <0xfed40000 0x110>; |
| 102 | interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>; |
| 103 | clocks = <&CLKS_ICN_REG_0>; |
| 104 | clock-names = "ssc"; |
| 105 | clock-frequency = <400000>; |
| 106 | pinctrl-names = "default"; |
| 107 | pinctrl-0 = <&pinctrl_i2c0_default>; |
| 108 | |
| 109 | status = "disabled"; |
| 110 | }; |
| 111 | |
| 112 | i2c@fed41000 { |
| 113 | compatible = "st,comms-ssc4-i2c"; |
| 114 | reg = <0xfed41000 0x110>; |
| 115 | interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
| 116 | clocks = <&CLKS_ICN_REG_0>; |
| 117 | clock-names = "ssc"; |
| 118 | clock-frequency = <400000>; |
| 119 | pinctrl-names = "default"; |
| 120 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 121 | |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
| 125 | i2c@fe540000 { |
| 126 | compatible = "st,comms-ssc4-i2c"; |
| 127 | reg = <0xfe540000 0x110>; |
| 128 | interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>; |
| 129 | clocks = <&CLK_SYSIN>; |
| 130 | clock-names = "ssc"; |
| 131 | clock-frequency = <400000>; |
| 132 | pinctrl-names = "default"; |
| 133 | pinctrl-0 = <&pinctrl_sbc_i2c0_default>; |
| 134 | |
| 135 | status = "disabled"; |
| 136 | }; |
| 137 | |
| 138 | i2c@fe541000 { |
| 139 | compatible = "st,comms-ssc4-i2c"; |
| 140 | reg = <0xfe541000 0x110>; |
| 141 | interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>; |
| 142 | clocks = <&CLK_SYSIN>; |
| 143 | clock-names = "ssc"; |
| 144 | clock-frequency = <400000>; |
| 145 | pinctrl-names = "default"; |
| 146 | pinctrl-0 = <&pinctrl_sbc_i2c1_default>; |
| 147 | |
| 148 | status = "disabled"; |
| 149 | }; |
Srinivas Kandagatla | 65ebcc1 | 2013-06-25 12:15:10 +0100 | [diff] [blame] | 150 | }; |
| 151 | }; |