mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 11:10:51 +07:00
d96672e620
Add clocks to the IPs already described in the pxa device-tree files. There are more clocks in the clock tree than IPs described in the current pxa device-tree. This patch ensures that : - the current description is correct - the clocks are actually claimed, so that clock framework doesn't disable them automatically (unused clocks shutdown) Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
/* The pxa3xx skeleton simply augments the 2xx version */
|
|
#include "pxa2xx.dtsi"
|
|
|
|
/ {
|
|
model = "Marvell PXA3xx familiy SoC";
|
|
compatible = "marvell,pxa3xx";
|
|
|
|
pxabus {
|
|
pwri2c: i2c@40f500c0 {
|
|
compatible = "mrvl,pwri2c";
|
|
reg = <0x40f500c0 0x30>;
|
|
interrupts = <6>;
|
|
clocks = <&clks CLK_PWRI2C>;
|
|
#address-cells = <0x1>;
|
|
#size-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
nand0: nand@43100000 {
|
|
compatible = "marvell,pxa3xx-nand";
|
|
reg = <0x43100000 90>;
|
|
interrupts = <45>;
|
|
clocks = <&clks CLK_NAND>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
status = "disabled";
|
|
};
|
|
|
|
pxairq: interrupt-controller@40d00000 {
|
|
marvell,intc-priority;
|
|
marvell,intc-nr-irqs = <56>;
|
|
};
|
|
|
|
gpio: gpio@40e00000 {
|
|
compatible = "intel,pxa3xx-gpio";
|
|
reg = <0x40e00000 0x10000>;
|
|
clocks = <&clks CLK_GPIO>;
|
|
interrupt-names = "gpio0", "gpio1", "gpio_mux";
|
|
interrupts = <8 9 10>;
|
|
gpio-controller;
|
|
#gpio-cells = <0x2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <0x2>;
|
|
};
|
|
};
|
|
|
|
clocks {
|
|
/*
|
|
* The muxing of external clocks/internal dividers for osc* clock
|
|
* sources has been hidden under the carpet by now.
|
|
*/
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
clks: pxa3xx_clks@41300004 {
|
|
compatible = "marvell,pxa300-clocks";
|
|
#clock-cells = <1>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|