mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
clk: add amlogic,axg-clkc.h for mesonaxg.dtsi
PD#142470: add amlogic,axg-clkc.h for mesonaxg.dtsi and fix clkc reg value Change-Id: Ib19288881241277b4146c89c49b6dce8639df411 Signed-off-by: Yun Cai <yun.cai@amlogic.com>
This commit is contained in:
@@ -57,20 +57,5 @@
|
||||
|
||||
};
|
||||
|
||||
|
||||
uart_AO: serial@ff803000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xff803000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
// pinctrl-names = "default";
|
||||
// pinctrl-0 = <&uart_ao_a_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
|
||||
}; /* end of / */
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/amlogic,axg-clkc.h>
|
||||
#include <dt-bindings/gpio/mesonaxg-gpio.h>
|
||||
|
||||
/ {
|
||||
cpus:cpus {
|
||||
@@ -297,7 +299,7 @@
|
||||
clkc: clock-controller@0 {
|
||||
compatible = "amlogic,axg-clkc";
|
||||
#clock-cells = <1>;
|
||||
reg = <0x0 0x3c000 0x0 0x320>;
|
||||
reg = <0x0 0x0 0x0 0x320>;
|
||||
};
|
||||
};/* end of hiubus*/
|
||||
}; /* end of soc*/
|
||||
@@ -311,6 +313,14 @@
|
||||
function = "ir_in";
|
||||
};
|
||||
};
|
||||
|
||||
ao_uart_pins:ao_uart {
|
||||
mux {
|
||||
pins = "GPIOAO_0",
|
||||
"GPIOAO_1";
|
||||
function = "uart_ao_a";
|
||||
};
|
||||
};
|
||||
}; /* end of pinctrl_aobus */
|
||||
|
||||
&pinctrl_periphs {
|
||||
@@ -329,3 +339,19 @@
|
||||
|
||||
};
|
||||
}; /* end of pinctrl_periphs */
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user