1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/ingenic,tcu.h>
8 compatible = "gcw,zero", "ingenic,jz4770";
19 stdout-path = "serial2:57600n8";
23 compatible = "simple-bus";
29 compatible = "usb-nop-xceiv";
30 clocks = <&cgu JZ4770_CLK_OTG_PHY>;
31 clock-names = "main_clk";
37 clock-frequency = <12000000>;
45 /* Put high-speed peripherals under PLL1, such that we can change the
46 * PLL0 frequency on demand without having to suspend peripherals.
47 * We use a rate of 432 MHz, which is the least common multiple of
48 * 27 MHz (required by TV encoder) and 48 MHz (required by USB host).
51 <&cgu JZ4770_CLK_PLL1>,
52 <&cgu JZ4770_CLK_UHC>;
53 assigned-clock-parents =
55 <&cgu JZ4770_CLK_PLL1>;
56 assigned-clock-rates =
61 /* The WiFi module is connected to the UHC. */
66 /* 750 kHz for the system timer and clocksource */
67 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER2>;
68 assigned-clock-rates = <750000>, <750000>;
70 /* PWM1 is in use, so reserve channel #2 for the clocksource */
71 ingenic,pwm-channels-mask = <0xfa>;