1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/loongson,ls2k-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 SoC Pinctrl Controller
10 - zhanghongchen <zhanghongchen@loongson.cn>
11 - Yinbo Zhu <zhuyinbo@loongson.cn>
18 const: loongson,ls2k-pinctrl
27 additionalProperties: false
32 description: node for pinctrl.
33 $ref: pinmux-node.yaml#
35 unevaluatedProperties: false
40 One or more groups of pins to mux to a certain function
42 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0,
43 nand, sata_led, i2s, hda]
46 The function that a group of pins is muxed to
47 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0,
48 nand, sata_led, i2s, hda]
58 additionalProperties: false
62 pctrl: pinctrl@1fe00420 {
63 compatible = "loongson,ls2k-pinctrl";
64 reg = <0x1fe00420 0x18>;
65 sdio_pins_default: sdio-pins {
77 pwm1_pins_default: pwm1-pins {
84 pwm0_pins_default: pwm0-pins {
91 i2c1_pins_default: i2c1-pins {
98 i2c0_pins_default: i2c0-pins {
105 nand_pins_default: nand-pins {
112 hda_pins_default: hda-pins {