Commit bef40df8 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla

ARM: STi: STiH416: Add soft reset controller support.

This patch adds soft reset controller support for STiH415 and adds new
softreset lines required for other device tree nodes in the header file.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@st.com>
parent da3e02a2
...@@ -33,6 +33,11 @@ powerdown: powerdown-controller { ...@@ -33,6 +33,11 @@ powerdown: powerdown-controller {
compatible = "st,stih416-powerdown"; compatible = "st,stih416-powerdown";
}; };
softreset: softreset-controller {
#reset-cells = <1>;
compatible = "st,stih416-softreset";
};
syscfg_sbc:sbc-syscfg@fe600000{ syscfg_sbc:sbc-syscfg@fe600000{
compatible = "st,stih416-sbc-syscfg", "syscon"; compatible = "st,stih416-sbc-syscfg", "syscon";
reg = <0xfe600000 0x1000>; reg = <0xfe600000 0x1000>;
......
...@@ -18,4 +18,33 @@ ...@@ -18,4 +18,33 @@
#define STIH416_PCIE0_POWERDOWN 9 #define STIH416_PCIE0_POWERDOWN 9
#define STIH416_PCIE1_POWERDOWN 10 #define STIH416_PCIE1_POWERDOWN 10
#define STIH416_ETH0_SOFTRESET 0
#define STIH416_ETH1_SOFTRESET 1
#define STIH416_IRB_SOFTRESET 2
#define STIH416_USB0_SOFTRESET 3
#define STIH416_USB1_SOFTRESET 4
#define STIH416_USB2_SOFTRESET 5
#define STIH416_USB3_SOFTRESET 6
#define STIH416_SATA0_SOFTRESET 7
#define STIH416_SATA1_SOFTRESET 8
#define STIH416_PCIE0_SOFTRESET 9
#define STIH416_PCIE1_SOFTRESET 10
#define STIH416_AUD_DAC_SOFTRESET 11
#define STIH416_HDTVOUT_SOFTRESET 12
#define STIH416_VTAC_M_RX_SOFTRESET 13
#define STIH416_VTAC_A_RX_SOFTRESET 14
#define STIH416_SYNC_HD_SOFTRESET 15
#define STIH416_SYNC_SD_SOFTRESET 16
#define STIH416_BLITTER_SOFTRESET 17
#define STIH416_GPU_SOFTRESET 18
#define STIH416_VTAC_M_TX_SOFTRESET 19
#define STIH416_VTAC_A_TX_SOFTRESET 20
#define STIH416_VTG_AUX_SOFTRESET 21
#define STIH416_JPEG_DEC_SOFTRESET 22
#define STIH416_HVA_SOFTRESET 23
#define STIH416_COMPO_M_SOFTRESET 24
#define STIH416_COMPO_A_SOFTRESET 25
#define STIH416_VP8_DEC_SOFTRESET 26
#define STIH416_VTG_MAIN_SOFTRESET 27
#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */ #endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment