Amlogic 32-bit DT updates for v4.15, round 2
- enable new GPIO IRQ controller - add efuse node -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAln2AkQACgkQWTcYmtP7 xmVM9g/+IsZMlGssF4zBlD18SuAruxUa9I7bcxFrHwLjpIldfeEscuAg8fH+b1bB PaFANeNS3xsDScbbGBrFdt8ysAEujhVeja9t9blbzRovr/l45Tj0R+34UoE0N6VX 3BpHy3j40O4zffqL2YImqoti3y1FNNiJTLR2T6TNS7bzGQL1DYECUaytUf+PHK2H rZ1eO5fvIrwMk4yAzr3z+gI38fHGuf+pl7fmjsT051JSwHkBNBlRZsHEPCMZXhbZ dkGMp7xcWC4pKpeEd2nMhaadp1vgI+bkoroWk929aoC2ZMQwNkHTcrJYJtW1P3aW myOM5+bjY9uOsGHrHgYnDzLS9zo2KEWcFjSvLP9R8GspA/vgJzBs38vGPCtqmSmc EfSRO6W5bpBL85GQwbpj3yr41fMeOXml5dGoVVhhROdrvG/Coua3wvE5BoYM6U+a 8XuDlGruhx787DMaEjOsAfhZNKLbgmjlYnFmqCkcHjN4KTntwchYgBS3GiBIiIpn 62amIBpqAEHq+KOl3he/RpR1uckgf0JKjQP/wXIgUy+BCKQW6IGe9OX07bd8xCGE 78HY6/O91kORna3b/+aR5kqmZhlInKthpHcxQi64G/HLZG0CqTzJodNYb/g93Sdf Qz+q1A+P8M7VKfrhaVqQhRzZ1/jDhjoib1AGhiXmH9kxoda5h4g= =dNIg -----END PGP SIGNATURE----- Merge tag 'amlogic-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt Pull "Amlogic 32-bit DT updates for v4.15, round 2" from Kevin Hilman: - enable new GPIO IRQ controller - add efuse node * tag 'amlogic-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM: dts: meson: add the efuse node ARM: dts: meson8b: enable gpio interrupt controller ARM: dts: meson8b: add support for booting the secondary CPU cores ARM: dts: meson8: add support for booting the secondary CPU cores
This commit is contained in:
commit
9f4fb2081b
@ -85,6 +85,15 @@
|
|||||||
reg = <0x7c00 0x200>;
|
reg = <0x7c00 0x200>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio_intc: interrupt-controller@9880 {
|
||||||
|
compatible = "amlogic,meson-gpio-intc";
|
||||||
|
reg = <0xc1109880 0x10>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
hwrng: rng@8100 {
|
hwrng: rng@8100 {
|
||||||
compatible = "amlogic,meson-rng";
|
compatible = "amlogic,meson-rng";
|
||||||
reg = <0x8100 0x8>;
|
reg = <0x8100 0x8>;
|
||||||
@ -271,5 +280,20 @@
|
|||||||
compatible = "amlogic,meson-mx-bootrom", "syscon";
|
compatible = "amlogic,meson-mx-bootrom", "syscon";
|
||||||
reg = <0xd9040000 0x10000>;
|
reg = <0xd9040000 0x10000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
secbus: secbus@da000000 {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
reg = <0xda000000 0x6000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0x0 0xda000000 0x6000>;
|
||||||
|
|
||||||
|
efuse: nvmem@0 {
|
||||||
|
compatible = "amlogic,meson6-efuse";
|
||||||
|
reg = <0x0 0x2000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}; /* end of / */
|
}; /* end of / */
|
||||||
|
@ -84,6 +84,9 @@
|
|||||||
};
|
};
|
||||||
}; /* end of / */
|
}; /* end of / */
|
||||||
|
|
||||||
|
&efuse {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
&uart_AO {
|
&uart_AO {
|
||||||
clocks = <&xtal>, <&clk81>, <&clk81>;
|
clocks = <&xtal>, <&clk81>, <&clk81>;
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
|
|
||||||
#include <dt-bindings/clock/meson8b-clkc.h>
|
#include <dt-bindings/clock/meson8b-clkc.h>
|
||||||
#include <dt-bindings/gpio/meson8-gpio.h>
|
#include <dt-bindings/gpio/meson8-gpio.h>
|
||||||
|
#include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
|
||||||
#include "meson.dtsi"
|
#include "meson.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -60,6 +61,8 @@
|
|||||||
compatible = "arm,cortex-a9";
|
compatible = "arm,cortex-a9";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x200>;
|
reg = <0x200>;
|
||||||
|
enable-method = "amlogic,meson8-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU0_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@201 {
|
cpu@201 {
|
||||||
@ -67,6 +70,8 @@
|
|||||||
compatible = "arm,cortex-a9";
|
compatible = "arm,cortex-a9";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x201>;
|
reg = <0x201>;
|
||||||
|
enable-method = "amlogic,meson8-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU1_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@202 {
|
cpu@202 {
|
||||||
@ -74,6 +79,8 @@
|
|||||||
compatible = "arm,cortex-a9";
|
compatible = "arm,cortex-a9";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x202>;
|
reg = <0x202>;
|
||||||
|
enable-method = "amlogic,meson8-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU2_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@203 {
|
cpu@203 {
|
||||||
@ -81,6 +88,8 @@
|
|||||||
compatible = "arm,cortex-a9";
|
compatible = "arm,cortex-a9";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x203>;
|
reg = <0x203>;
|
||||||
|
enable-method = "amlogic,meson8-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU3_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -118,6 +127,11 @@
|
|||||||
}; /* end of / */
|
}; /* end of / */
|
||||||
|
|
||||||
&aobus {
|
&aobus {
|
||||||
|
pmu: pmu@e0 {
|
||||||
|
compatible = "amlogic,meson8-pmu", "syscon";
|
||||||
|
reg = <0xe0 0x8>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_aobus: pinctrl@84 {
|
pinctrl_aobus: pinctrl@84 {
|
||||||
compatible = "amlogic,meson8-aobus-pinctrl";
|
compatible = "amlogic,meson8-aobus-pinctrl";
|
||||||
reg = <0x84 0xc>;
|
reg = <0x84 0xc>;
|
||||||
@ -254,6 +268,19 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ahb_sram {
|
||||||
|
smp-sram@1ff80 {
|
||||||
|
compatible = "amlogic,meson8-smp-sram";
|
||||||
|
reg = <0x1ff80 0x8>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&efuse {
|
||||||
|
compatible = "amlogic,meson8-efuse";
|
||||||
|
clocks = <&clkc CLKID_EFUSE>;
|
||||||
|
clock-names = "core";
|
||||||
|
};
|
||||||
|
|
||||||
ðmac {
|
ðmac {
|
||||||
clocks = <&clkc CLKID_ETH>;
|
clocks = <&clkc CLKID_ETH>;
|
||||||
clock-names = "stmmaceth";
|
clock-names = "stmmaceth";
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
#include <dt-bindings/clock/meson8b-clkc.h>
|
#include <dt-bindings/clock/meson8b-clkc.h>
|
||||||
#include <dt-bindings/gpio/meson8b-gpio.h>
|
#include <dt-bindings/gpio/meson8b-gpio.h>
|
||||||
#include <dt-bindings/reset/amlogic,meson8b-reset.h>
|
#include <dt-bindings/reset/amlogic,meson8b-reset.h>
|
||||||
|
#include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
|
||||||
#include "meson.dtsi"
|
#include "meson.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -59,6 +60,8 @@
|
|||||||
compatible = "arm,cortex-a5";
|
compatible = "arm,cortex-a5";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x200>;
|
reg = <0x200>;
|
||||||
|
enable-method = "amlogic,meson8b-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU0_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@201 {
|
cpu@201 {
|
||||||
@ -66,6 +69,8 @@
|
|||||||
compatible = "arm,cortex-a5";
|
compatible = "arm,cortex-a5";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x201>;
|
reg = <0x201>;
|
||||||
|
enable-method = "amlogic,meson8b-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU1_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@202 {
|
cpu@202 {
|
||||||
@ -73,6 +78,8 @@
|
|||||||
compatible = "arm,cortex-a5";
|
compatible = "arm,cortex-a5";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x202>;
|
reg = <0x202>;
|
||||||
|
enable-method = "amlogic,meson8b-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU2_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu@203 {
|
cpu@203 {
|
||||||
@ -80,6 +87,8 @@
|
|||||||
compatible = "arm,cortex-a5";
|
compatible = "arm,cortex-a5";
|
||||||
next-level-cache = <&L2>;
|
next-level-cache = <&L2>;
|
||||||
reg = <0x203>;
|
reg = <0x203>;
|
||||||
|
enable-method = "amlogic,meson8b-smp";
|
||||||
|
resets = <&clkc CLKC_RESET_CPU3_SOFT_RESET>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -102,6 +111,11 @@
|
|||||||
}; /* end of / */
|
}; /* end of / */
|
||||||
|
|
||||||
&aobus {
|
&aobus {
|
||||||
|
pmu: pmu@e0 {
|
||||||
|
compatible = "amlogic,meson8b-pmu", "syscon";
|
||||||
|
reg = <0xe0 0x18>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_aobus: pinctrl@84 {
|
pinctrl_aobus: pinctrl@84 {
|
||||||
compatible = "amlogic,meson8b-aobus-pinctrl";
|
compatible = "amlogic,meson8b-aobus-pinctrl";
|
||||||
reg = <0x84 0xc>;
|
reg = <0x84 0xc>;
|
||||||
@ -174,11 +188,31 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ahb_sram {
|
||||||
|
smp-sram@1ff80 {
|
||||||
|
compatible = "amlogic,meson8b-smp-sram";
|
||||||
|
reg = <0x1ff80 0x8>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
&efuse {
|
||||||
|
compatible = "amlogic,meson8b-efuse";
|
||||||
|
clocks = <&clkc CLKID_EFUSE>;
|
||||||
|
clock-names = "core";
|
||||||
|
};
|
||||||
|
|
||||||
ðmac {
|
ðmac {
|
||||||
clocks = <&clkc CLKID_ETH>;
|
clocks = <&clkc CLKID_ETH>;
|
||||||
clock-names = "stmmaceth";
|
clock-names = "stmmaceth";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio_intc {
|
||||||
|
compatible = "amlogic,meson-gpio-intc",
|
||||||
|
"amlogic,meson8b-gpio-intc";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&hwrng {
|
&hwrng {
|
||||||
compatible = "amlogic,meson8b-rng", "amlogic,meson-rng";
|
compatible = "amlogic,meson8b-rng", "amlogic,meson-rng";
|
||||||
clocks = <&clkc CLKID_RNG0>;
|
clocks = <&clkc CLKID_RNG0>;
|
||||||
|
Loading…
Reference in New Issue
Block a user