ARM: dts: rk3288: mark xin32k clk as fixed clk

Change-Id: I1fc9c2f8213f6645659bd731546ca9cafd7d63d0
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
Elaine Zhang
2018-05-18 15:50:30 +08:00
parent ade6b9cc4e
commit d901f21180
18 changed files with 144 additions and 18 deletions

View File

@@ -79,6 +79,13 @@
regulator-always-on;
regulator-boot-on;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -166,7 +173,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -78,6 +78,13 @@
regulator-name = "vcc_lcd";
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -172,7 +179,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -78,6 +78,13 @@
regulator-name = "vcc_lcd";
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -142,7 +149,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -78,6 +78,13 @@
regulator-name = "vcc_lcd";
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -171,7 +178,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -78,6 +78,13 @@
regulator-name = "vcc_lcd";
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -121,7 +128,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -78,6 +78,13 @@
regulator-name = "vcc_lcd";
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -126,7 +133,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -140,6 +140,13 @@
regulator-always-on;
regulator-boot-on;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -191,7 +198,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -67,6 +67,13 @@
*/
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -90,7 +97,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -138,6 +138,13 @@
regulator-always-on;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
@@ -232,7 +239,7 @@
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
pinctrl-names = "default";
pinctrl-0 = <&pmic_int &global_pwroff>;
rockchip,system-power-controller;

View File

@@ -179,6 +179,13 @@
pinctrl-0 = <&uart2_xfer>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
vccadc_ref: vccadc-ref {
compatible = "regulator-fixed";
regulator-name = "vcc1v8_sys";
@@ -406,7 +413,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc_sys>;

View File

@@ -191,6 +191,13 @@
clock-output-names = "CLK_CAMERA_25MHZ";
#clock-cells = <0>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -261,7 +268,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -108,6 +108,13 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -213,7 +220,7 @@
rk818: pmic@1c {
compatible = "rockchip,rk818";
reg = <0x1c>;
clock-output-names = "xin32k";
clock-output-names = "rk818-clkout1";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -198,6 +198,13 @@
regulator-always-on;
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -298,7 +305,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -159,6 +159,13 @@
regulator-always-on;
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -275,7 +282,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -140,6 +140,13 @@
regulator-always-on;
vin-supply = <&vcc_io>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -217,7 +224,7 @@
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
clock-output-names = "rk808-clkout1", "rk808-clkout2";
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;

View File

@@ -32,6 +32,13 @@
vin-supply = <&vcc_sys>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk818 1>;
@@ -134,7 +141,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -124,6 +124,13 @@
regulator-boot-on;
vin-supply = <&vcc_5v>;
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -159,7 +166,7 @@
rk808: pmic@1b {
compatible = "rockchip,rk808";
reg = <0x1b>;
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk808-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";

View File

@@ -74,6 +74,13 @@
status = "okay";
};
xin32k: xin32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
clock-output-names = "xin32k";
#clock-cells = <0>;
};
};
&cpu0 {
@@ -113,7 +120,7 @@
reg = <0x1c>;
status = "okay";
clock-output-names = "xin32k", "wifibt_32kin";
clock-output-names = "rk818-clkout1", "wifibt_32kin";
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";