2014-11-17 16:48:00 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 STMicroelectronics Limited.
|
|
|
|
* Author: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* publishhed by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#include "stih410-clock.dtsi"
|
|
|
|
#include "stih407-family.dtsi"
|
|
|
|
#include "stih410-pinctrl.dtsi"
|
|
|
|
/ {
|
2015-06-16 13:30:00 +00:00
|
|
|
aliases {
|
|
|
|
bdisp0 = &bdisp0;
|
|
|
|
};
|
|
|
|
|
2015-01-07 15:04:00 +00:00
|
|
|
soc {
|
|
|
|
usb2_picophy1: phy2 {
|
|
|
|
compatible = "st,stih407-usb2-phy";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
st,syscfg = <&syscfg_core 0xf8 0xf4>;
|
|
|
|
resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
|
|
|
|
<&picophyreset STIH407_PICOPHY0_RESET>;
|
|
|
|
reset-names = "global", "port";
|
2015-09-23 17:53:58 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
2014-11-17 16:48:00 +00:00
|
|
|
|
2015-01-07 15:04:00 +00:00
|
|
|
usb2_picophy2: phy3 {
|
|
|
|
compatible = "st,stih407-usb2-phy";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
st,syscfg = <&syscfg_core 0xfc 0xf4>;
|
|
|
|
resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
|
|
|
|
<&picophyreset STIH407_PICOPHY1_RESET>;
|
|
|
|
reset-names = "global", "port";
|
2015-09-23 17:53:58 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
2015-01-07 15:04:00 +00:00
|
|
|
|
|
|
|
ohci0: usb@9a03c00 {
|
|
|
|
compatible = "st,st-ohci-300x";
|
|
|
|
reg = <0x9a03c00 0x100>;
|
|
|
|
interrupts = <GIC_SPI 180 IRQ_TYPE_NONE>;
|
2016-09-08 09:11:00 +00:00
|
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
|
|
|
|
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
|
2015-01-07 15:04:00 +00:00
|
|
|
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
|
|
|
|
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
|
|
|
|
reset-names = "power", "softreset";
|
|
|
|
phys = <&usb2_picophy1>;
|
|
|
|
phy-names = "usb";
|
2015-09-23 17:53:58 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ehci0: usb@9a03e00 {
|
|
|
|
compatible = "st,st-ehci-300x";
|
|
|
|
reg = <0x9a03e00 0x100>;
|
|
|
|
interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usb0>;
|
2016-09-08 09:11:00 +00:00
|
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
|
|
|
|
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
|
2015-01-07 15:04:00 +00:00
|
|
|
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
|
|
|
|
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
|
|
|
|
reset-names = "power", "softreset";
|
|
|
|
phys = <&usb2_picophy1>;
|
|
|
|
phy-names = "usb";
|
2015-09-23 17:53:58 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ohci1: usb@9a83c00 {
|
|
|
|
compatible = "st,st-ohci-300x";
|
|
|
|
reg = <0x9a83c00 0x100>;
|
|
|
|
interrupts = <GIC_SPI 181 IRQ_TYPE_NONE>;
|
2016-09-08 09:11:00 +00:00
|
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
|
|
|
|
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
|
2015-01-07 15:04:00 +00:00
|
|
|
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
|
|
|
|
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
|
|
|
|
reset-names = "power", "softreset";
|
|
|
|
phys = <&usb2_picophy2>;
|
|
|
|
phy-names = "usb";
|
2015-09-23 17:53:58 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ehci1: usb@9a83e00 {
|
|
|
|
compatible = "st,st-ehci-300x";
|
|
|
|
reg = <0x9a83e00 0x100>;
|
|
|
|
interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usb1>;
|
2016-09-08 09:11:00 +00:00
|
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
|
|
|
|
<&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
|
2015-01-07 15:04:00 +00:00
|
|
|
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
|
|
|
|
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
|
|
|
|
reset-names = "power", "softreset";
|
|
|
|
phys = <&usb2_picophy2>;
|
|
|
|
phy-names = "usb";
|
2015-01-14 15:47:00 +00:00
|
|
|
|
2015-09-23 17:53:58 +00:00
|
|
|
status = "disabled";
|
2015-01-14 15:47:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sti-display-subsystem {
|
|
|
|
compatible = "st,sti-display-subsystem";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
assigned-clocks = <&clk_s_d2_quadfs 0>,
|
2016-08-29 12:27:00 +00:00
|
|
|
<&clk_s_d2_quadfs 1>,
|
|
|
|
<&clk_s_c0_pll1 0>,
|
|
|
|
<&clk_s_c0_flexgen CLK_COMPO_DVP>,
|
|
|
|
<&clk_s_c0_flexgen CLK_MAIN_DISP>,
|
2015-01-14 15:47:00 +00:00
|
|
|
<&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP1>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP2>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP3>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP4>;
|
|
|
|
|
|
|
|
assigned-clock-parents = <0>,
|
|
|
|
<0>,
|
2016-08-29 12:27:00 +00:00
|
|
|
<0>,
|
|
|
|
<&clk_s_c0_pll1 0>,
|
|
|
|
<&clk_s_c0_pll1 0>,
|
2015-01-14 15:47:00 +00:00
|
|
|
<&clk_s_d2_quadfs 0>,
|
2016-08-29 12:27:00 +00:00
|
|
|
<&clk_s_d2_quadfs 1>,
|
2015-01-14 15:47:00 +00:00
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 0>;
|
|
|
|
|
2016-08-29 12:27:00 +00:00
|
|
|
assigned-clock-rates = <297000000>,
|
|
|
|
<108000000>,
|
|
|
|
<0>,
|
|
|
|
<400000000>,
|
|
|
|
<400000000>;
|
2015-01-14 15:47:00 +00:00
|
|
|
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
sti-compositor@9d11000 {
|
|
|
|
compatible = "st,stih407-compositor";
|
|
|
|
reg = <0x9d11000 0x1000>;
|
|
|
|
|
|
|
|
clock-names = "compo_main",
|
|
|
|
"compo_aux",
|
|
|
|
"pix_main",
|
|
|
|
"pix_aux",
|
|
|
|
"pix_gdp1",
|
|
|
|
"pix_gdp2",
|
|
|
|
"pix_gdp3",
|
|
|
|
"pix_gdp4",
|
|
|
|
"main_parent",
|
|
|
|
"aux_parent";
|
|
|
|
|
|
|
|
clocks = <&clk_s_c0_flexgen CLK_COMPO_DVP>,
|
|
|
|
<&clk_s_c0_flexgen CLK_COMPO_DVP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_AUX_DISP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP1>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP2>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP3>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_GDP4>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 1>;
|
|
|
|
|
|
|
|
reset-names = "compo-main", "compo-aux";
|
|
|
|
resets = <&softreset STIH407_COMPO_SOFTRESET>,
|
|
|
|
<&softreset STIH407_COMPO_SOFTRESET>;
|
|
|
|
st,vtg = <&vtg_main>, <&vtg_aux>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sti-tvout@8d08000 {
|
|
|
|
compatible = "st,stih407-tvout";
|
|
|
|
reg = <0x8d08000 0x1000>;
|
|
|
|
reg-names = "tvout-reg";
|
|
|
|
reset-names = "tvout";
|
|
|
|
resets = <&softreset STIH407_HDTVOUT_SOFTRESET>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
assigned-clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
|
|
|
|
<&clk_s_d2_flexgen CLK_TMDS_HDMI>,
|
|
|
|
<&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
|
|
|
|
<&clk_s_d0_flexgen CLK_PCM_0>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_HDDAC>,
|
|
|
|
<&clk_s_d2_flexgen CLK_HDDAC>;
|
|
|
|
|
|
|
|
assigned-clock-parents = <&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_tmdsout_hdmi>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d0_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 0>;
|
2015-09-23 19:48:03 +00:00
|
|
|
};
|
|
|
|
|
2016-10-04 16:11:00 +00:00
|
|
|
sti_hdmi: sti-hdmi@8d04000 {
|
2015-09-23 19:48:03 +00:00
|
|
|
compatible = "st,stih407-hdmi";
|
|
|
|
reg = <0x8d04000 0x1000>;
|
|
|
|
reg-names = "hdmi-reg";
|
|
|
|
interrupts = <GIC_SPI 106 IRQ_TYPE_NONE>;
|
|
|
|
interrupt-names = "irq";
|
|
|
|
clock-names = "pix",
|
|
|
|
"tmds",
|
|
|
|
"phy",
|
|
|
|
"audio",
|
|
|
|
"main_parent",
|
|
|
|
"aux_parent";
|
|
|
|
|
|
|
|
clocks = <&clk_s_d2_flexgen CLK_PIX_HDMI>,
|
|
|
|
<&clk_s_d2_flexgen CLK_TMDS_HDMI>,
|
|
|
|
<&clk_s_d2_flexgen CLK_REF_HDMIPHY>,
|
|
|
|
<&clk_s_d0_flexgen CLK_PCM_0>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 1>;
|
|
|
|
|
|
|
|
hdmi,hpd-gpio = <&pio5 3>;
|
|
|
|
reset-names = "hdmi";
|
|
|
|
resets = <&softreset STIH407_HDMI_TX_PHY_SOFTRESET>;
|
|
|
|
ddc = <&hdmiddc>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sti-hda@8d02000 {
|
|
|
|
compatible = "st,stih407-hda";
|
2016-12-07 09:49:51 +00:00
|
|
|
status = "disabled";
|
2015-09-23 19:48:03 +00:00
|
|
|
reg = <0x8d02000 0x400>, <0x92b0120 0x4>;
|
|
|
|
reg-names = "hda-reg", "video-dacs-ctrl";
|
|
|
|
clock-names = "pix",
|
|
|
|
"hddac",
|
|
|
|
"main_parent",
|
|
|
|
"aux_parent";
|
|
|
|
clocks = <&clk_s_d2_flexgen CLK_PIX_HDDAC>,
|
|
|
|
<&clk_s_d2_flexgen CLK_HDDAC>,
|
|
|
|
<&clk_s_d2_quadfs 0>,
|
|
|
|
<&clk_s_d2_quadfs 1>;
|
2015-01-14 15:47:00 +00:00
|
|
|
};
|
2016-12-07 09:51:31 +00:00
|
|
|
|
|
|
|
sti-hqvdp@9c000000 {
|
|
|
|
compatible = "st,stih407-hqvdp";
|
|
|
|
reg = <0x9C00000 0x100000>;
|
|
|
|
clock-names = "hqvdp", "pix_main";
|
|
|
|
clocks = <&clk_s_c0_flexgen CLK_MAIN_DISP>,
|
|
|
|
<&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>;
|
|
|
|
reset-names = "hqvdp";
|
|
|
|
resets = <&softreset STIH407_HDQVDP_SOFTRESET>;
|
|
|
|
st,vtg = <&vtg_main>;
|
|
|
|
};
|
2015-01-14 15:47:00 +00:00
|
|
|
};
|
2015-06-16 13:30:00 +00:00
|
|
|
|
|
|
|
bdisp0:bdisp@9f10000 {
|
|
|
|
compatible = "st,stih407-bdisp";
|
|
|
|
reg = <0x9f10000 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
|
|
|
|
clock-names = "bdisp";
|
|
|
|
clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
|
|
|
|
};
|
2016-08-15 12:17:00 +00:00
|
|
|
|
2016-07-25 07:57:30 +00:00
|
|
|
hva@8c85000 {
|
|
|
|
compatible = "st,st-hva";
|
|
|
|
reg = <0x8c85000 0x400>, <0x6000000 0x40000>;
|
|
|
|
reg-names = "hva_registers", "hva_esram";
|
|
|
|
interrupts = <GIC_SPI 58 IRQ_TYPE_NONE>,
|
|
|
|
<GIC_SPI 59 IRQ_TYPE_NONE>;
|
|
|
|
clock-names = "clk_hva";
|
|
|
|
clocks = <&clk_s_c0_flexgen CLK_HVA>;
|
|
|
|
};
|
|
|
|
|
2016-08-15 12:17:00 +00:00
|
|
|
thermal@91a0000 {
|
|
|
|
compatible = "st,stih407-thermal";
|
|
|
|
reg = <0x91a0000 0x28>;
|
|
|
|
clock-names = "thermal";
|
|
|
|
clocks = <&clk_sysin>;
|
|
|
|
interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
};
|
2016-12-05 17:11:00 +00:00
|
|
|
|
|
|
|
delta0 {
|
|
|
|
compatible = "st,st-delta";
|
|
|
|
clock-names = "delta",
|
|
|
|
"delta-st231",
|
|
|
|
"delta-flash-promip";
|
|
|
|
clocks = <&clk_s_c0_flexgen CLK_VID_DMU>,
|
|
|
|
<&clk_s_c0_flexgen CLK_ST231_DMU>,
|
|
|
|
<&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
|
|
|
|
};
|
2015-01-07 15:04:00 +00:00
|
|
|
};
|
2014-11-17 16:48:00 +00:00
|
|
|
};
|