arm64: dts: amlogic updates for v5.9
- meson-gx: Switch to the meson-ee-pwrc bindings - add Khadas MCU nodes -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAl8R5HsACgkQWTcYmtP7 xmXTCQ//YJrsHAbH/dM5UyVNNt6eXvbqxBAWL+wFvfdfT9cye4dRdghH/7A9gDyO oHttMDr4ZqnnvdbHMaBD2GGp5XHL3DWt2cQfRmdjoACuAFhF0n2xO9nQg/SbNvCA J1n0aMKu+5R6Wvq0KAPQb8BjlhA3kjO2xaN5QWSgy51Ug/kvbTN8hjF4IVrAMi9M DNKGRQ6YyWaKYaE0TJSnioxFLqmSZJDp1yFm0RfRq89grM+tA7LGqjsLkDPGh0JX xK/GBO4mVnDy4Uf7nWhRcMuKRr7wNLUDg4bmliSTKwYgQUQjLvX07oCX8e43oc/Z mAB8s5qpYPRs3aPI/XAkYRKodqsvky8Kb9kJtIz0ts4SGJaUa96QnsPKQpiZmlw3 X2dak8v2Xz76Ib52c2o4D2odAld0jI8gcVcb3LDoAhdqZmZsISGKbk25QxiBDKCe wT9f1PW219NhKaDXWk4/n5XC079f4FIp+Og6z82LMXG3nngOUry+KA/Pp7y7X70e SNJUlGRAF9o7ilJxurv/zZUgMs0IYNAd/F1JMler5EkGTHz9vhO4Pmqx8LZiv/Yv z4U4yOgSMXPkNMmlVmU6fDW6Gqoo0ek5gVTlp9wfEYnlyz1NfGpTSAFJubhibuXk XQpMRjVW6JLb51ydKiPYra5oB8FTtBiCDEYGFxVAiUrEXpgOCcE= =6Rdx -----END PGP SIGNATURE----- Merge tag 'amlogic-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt arm64: dts: amlogic updates for v5.9 - meson-gx: Switch to the meson-ee-pwrc bindings - add Khadas MCU nodes * tag 'amlogic-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: arm64: dts: amlogic: Add the Ethernet "timing-adjustment" clock arm64: dts: meson-gx: Switch to the meson-ee-pwrc bindings arm64: dts: meson-khadas-vim3: add Khadas MCU nodes Link: https://lore.kernel.org/r/7h8sfif2na.fsf@baylibre.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Коммит
981053c0b2
|
@ -181,8 +181,10 @@
|
|||
interrupt-names = "macirq";
|
||||
clocks = <&clkc CLKID_ETH>,
|
||||
<&clkc CLKID_FCLK_DIV2>,
|
||||
<&clkc CLKID_MPLL2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1";
|
||||
<&clkc CLKID_MPLL2>,
|
||||
<&clkc CLKID_FCLK_DIV2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1",
|
||||
"timing-adjustment";
|
||||
rx-fifo-depth = <4096>;
|
||||
tx-fifo-depth = <2048>;
|
||||
status = "disabled";
|
||||
|
|
|
@ -185,8 +185,10 @@
|
|||
interrupt-names = "macirq";
|
||||
clocks = <&clkc CLKID_ETH>,
|
||||
<&clkc CLKID_FCLK_DIV2>,
|
||||
<&clkc CLKID_MPLL2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1";
|
||||
<&clkc CLKID_MPLL2>,
|
||||
<&clkc CLKID_FCLK_DIV2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1",
|
||||
"timing-adjustment";
|
||||
rx-fifo-depth = <4096>;
|
||||
tx-fifo-depth = <2048>;
|
||||
status = "disabled";
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/power/meson-gxbb-power.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
|
||||
/ {
|
||||
|
@ -60,7 +61,7 @@
|
|||
compatible = "amlogic,simple-framebuffer",
|
||||
"simple-framebuffer";
|
||||
amlogic,pipeline = "vpu-cvbs";
|
||||
power-domains = <&pwrc_vpu>;
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -68,7 +69,7 @@
|
|||
compatible = "amlogic,simple-framebuffer",
|
||||
"simple-framebuffer";
|
||||
amlogic,pipeline = "vpu-hdmi";
|
||||
power-domains = <&pwrc_vpu>;
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
@ -438,12 +439,6 @@
|
|||
compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon";
|
||||
reg = <0x0 0x0 0x0 0x100>;
|
||||
|
||||
pwrc_vpu: power-controller-vpu {
|
||||
compatible = "amlogic,meson-gx-pwrc-vpu";
|
||||
#power-domain-cells = <0>;
|
||||
amlogic,hhi-sysctrl = <&sysctrl>;
|
||||
};
|
||||
|
||||
clkc_AO: clock-controller {
|
||||
compatible = "amlogic,meson-gx-aoclkc";
|
||||
#clock-cells = <1>;
|
||||
|
@ -552,6 +547,12 @@
|
|||
sysctrl: system-controller@0 {
|
||||
compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
|
||||
reg = <0 0 0 0x400>;
|
||||
|
||||
pwrc: power-controller {
|
||||
compatible = "amlogic,meson-gxbb-pwrc";
|
||||
#power-domain-cells = <1>;
|
||||
amlogic,ao-sysctrl = <&sysctrl_AO>;
|
||||
};
|
||||
};
|
||||
|
||||
mailbox: mailbox@404 {
|
||||
|
@ -574,6 +575,7 @@
|
|||
interrupt-names = "macirq";
|
||||
rx-fifo-depth = <4096>;
|
||||
tx-fifo-depth = <2048>;
|
||||
power-domains = <&pwrc PWRC_GXBB_ETHERNET_MEM_ID>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
|
@ -333,8 +333,9 @@
|
|||
ðmac {
|
||||
clocks = <&clkc CLKID_ETH>,
|
||||
<&clkc CLKID_FCLK_DIV2>,
|
||||
<&clkc CLKID_MPLL2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1";
|
||||
<&clkc CLKID_MPLL2>,
|
||||
<&clkc CLKID_FCLK_DIV2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
|
||||
};
|
||||
|
||||
&gpio_intc {
|
||||
|
@ -747,7 +748,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&pwrc_vpu {
|
||||
&pwrc {
|
||||
resets = <&reset RESET_VIU>,
|
||||
<&reset RESET_VENC>,
|
||||
<&reset RESET_VCBUS>,
|
||||
|
@ -760,6 +761,9 @@
|
|||
<&reset RESET_VDI6>,
|
||||
<&reset RESET_VENCL>,
|
||||
<&reset RESET_VID_LOCK>;
|
||||
reset-names = "viu", "venc", "vcbus", "bt656",
|
||||
"dvin", "rdma", "venci", "vencp",
|
||||
"vdac", "vdi6", "vencl", "vid_lock";
|
||||
clocks = <&clkc CLKID_VPU>,
|
||||
<&clkc CLKID_VAPB>;
|
||||
clock-names = "vpu", "vapb";
|
||||
|
@ -866,7 +870,7 @@
|
|||
|
||||
&vpu {
|
||||
compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
|
||||
power-domains = <&pwrc_vpu>;
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
};
|
||||
|
||||
&vdec {
|
||||
|
|
|
@ -131,8 +131,9 @@
|
|||
ðmac {
|
||||
clocks = <&clkc CLKID_ETH>,
|
||||
<&clkc CLKID_FCLK_DIV2>,
|
||||
<&clkc CLKID_MPLL2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1";
|
||||
<&clkc CLKID_MPLL2>,
|
||||
<&clkc CLKID_FCLK_DIV2>;
|
||||
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
|
||||
|
||||
mdio0: mdio {
|
||||
#address-cells = <1>;
|
||||
|
@ -782,7 +783,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&pwrc_vpu {
|
||||
&pwrc {
|
||||
resets = <&reset RESET_VIU>,
|
||||
<&reset RESET_VENC>,
|
||||
<&reset RESET_VCBUS>,
|
||||
|
@ -795,6 +796,9 @@
|
|||
<&reset RESET_VDI6>,
|
||||
<&reset RESET_VENCL>,
|
||||
<&reset RESET_VID_LOCK>;
|
||||
reset-names = "viu", "venc", "vcbus", "bt656",
|
||||
"dvin", "rdma", "venci", "vencp",
|
||||
"vdac", "vdi6", "vencl", "vid_lock";
|
||||
clocks = <&clkc CLKID_VPU>,
|
||||
<&clkc CLKID_VAPB>;
|
||||
clock-names = "vpu", "vapb";
|
||||
|
@ -901,7 +905,7 @@
|
|||
|
||||
&vpu {
|
||||
compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
|
||||
power-domains = <&pwrc_vpu>;
|
||||
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
|
||||
};
|
||||
|
||||
&vdec {
|
||||
|
|
|
@ -183,6 +183,23 @@
|
|||
hdmi-phandle = <&hdmi_tx>;
|
||||
};
|
||||
|
||||
&cpu_thermal {
|
||||
trips {
|
||||
cpu_active: cpu-active {
|
||||
temperature = <80000>; /* millicelsius */
|
||||
hysteresis = <2000>; /* millicelsius */
|
||||
type = "active";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
map {
|
||||
trip = <&cpu_active>;
|
||||
cooling-device = <&khadas_mcu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ext_mdio {
|
||||
external_phy: ethernet-phy@0 {
|
||||
/* Realtek RTL8211F (0x001cc916) */
|
||||
|
@ -222,6 +239,12 @@
|
|||
pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
khadas_mcu: system-controller@18 {
|
||||
compatible = "khadas,mcu";
|
||||
reg = <0x18>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
gpio_expander: gpio-controller@20 {
|
||||
compatible = "ti,tca6408";
|
||||
reg = <0x20>;
|
||||
|
|
Загрузка…
Ссылка в новой задаче