mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
arm64: dts: renesas: beacon: Configure programmable clocks
When the board was added, clock drivers were being updated done at the same time to allow the versaclock driver to properly configure the modes. Unfortunately, the updates were not applied to the board files at the time they should have been, so do it now. Signed-off-by: Adam Ford <aford173@gmail.com> Link: https://lore.kernel.org/r/20201224170502.2254683-1-aford173@gmail.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
d207dc500b
commit
fe82bb4db5
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/clk/versaclock.h>
|
||||
|
||||
/ {
|
||||
backlight_lvds: backlight-lvds {
|
||||
@@ -370,12 +371,36 @@
|
||||
#clock-cells = <1>;
|
||||
clocks = <&x304_clk>;
|
||||
clock-names = "xin";
|
||||
/* CSI0_MCLK, CSI1_MCLK, AUDIO_CLKIN, USB_HUB_MCLK_BB */
|
||||
|
||||
assigned-clocks = <&versaclock6_bb 1>,
|
||||
<&versaclock6_bb 2>,
|
||||
<&versaclock6_bb 3>,
|
||||
<&versaclock6_bb 4>;
|
||||
assigned-clock-rates = <24000000>, <24000000>, <24000000>, <24576000>;
|
||||
|
||||
OUT1 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <1800000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT2 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <1800000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT3 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <3300000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT4 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <3300000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/clk/versaclock.h>
|
||||
|
||||
/ {
|
||||
memory@48000000 {
|
||||
@@ -170,7 +171,32 @@
|
||||
<&versaclock5 2>,
|
||||
<&versaclock5 3>,
|
||||
<&versaclock5 4>;
|
||||
|
||||
assigned-clock-rates = <33333333>, <33333333>, <50000000>, <125000000>;
|
||||
|
||||
OUT1 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <1800000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT2 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <1800000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT3 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <1800000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
|
||||
OUT4 {
|
||||
idt,mode = <VC5_CMOS>;
|
||||
idt,voltage-microvolt = <3300000>;
|
||||
idt,slew-percent = <100>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user