elan,em32-apb

Description

Elan EM32 APB Clock Controller.

The clock specifier has one cell, gate-id, which selects the APB
peripheral clock gate. Use EM32_GATE_NONE as gate-id when only a parent
clock reference is needed and no hardware gate exists.

Examples

clk_apb: clk-apb {
    compatible = "elan,em32-apb";
    #clock-cells = <1>;
    clocks = <&clk_ahb EM32_GATE_NONE>;
    status = "okay";
};

pwm0: pwm@40006000 {
    compatible = "elan,em32-pwm";
    reg = <0x40006000 0x1000>;
    clocks = <&clk_apb EM32_GATE_PCLKG_PWM>;
    status = "okay";
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 1

Specifier cell names

  • clock cells: clk-id