1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm4908-pinctrl.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Broadcom BCM4908 pin controller 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Rafał Miłecki <rafal@milecki.pl> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: 13c9ccf3a3SEmmanuel Vadot Binding for pin controller present on BCM4908 family SoCs. 14c9ccf3a3SEmmanuel Vadot 15c9ccf3a3SEmmanuel Vadotproperties: 16c9ccf3a3SEmmanuel Vadot compatible: 17c9ccf3a3SEmmanuel Vadot const: brcm,bcm4908-pinctrl 18c9ccf3a3SEmmanuel Vadot 19c9ccf3a3SEmmanuel Vadot reg: 20c9ccf3a3SEmmanuel Vadot maxItems: 1 21c9ccf3a3SEmmanuel Vadot 22c9ccf3a3SEmmanuel VadotpatternProperties: 23c9ccf3a3SEmmanuel Vadot '-pins$': 24c9ccf3a3SEmmanuel Vadot type: object 25c9ccf3a3SEmmanuel Vadot $ref: pinmux-node.yaml# 26*7ef62cebSEmmanuel Vadot additionalProperties: false 27c9ccf3a3SEmmanuel Vadot 28c9ccf3a3SEmmanuel Vadot properties: 29c9ccf3a3SEmmanuel Vadot function: 30c9ccf3a3SEmmanuel Vadot enum: [ led_0, led_1, led_2, led_3, led_4, led_5, led_6, led_7, led_8, 31c9ccf3a3SEmmanuel Vadot led_9, led_10, led_11, led_12, led_13, led_14, led_15, led_16, 32c9ccf3a3SEmmanuel Vadot led_17, led_18, led_19, led_20, led_21, led_22, led_23, led_24, 33c9ccf3a3SEmmanuel Vadot led_25, led_26, led_27, led_28, led_29, led_30, led_31, 34c9ccf3a3SEmmanuel Vadot hs_uart, i2c, i2s, nand_ctrl, nand_data, emmc_ctrl, usb0_pwr, 35c9ccf3a3SEmmanuel Vadot usb1_pwr ] 36c9ccf3a3SEmmanuel Vadot 37c9ccf3a3SEmmanuel Vadot groups: 38c9ccf3a3SEmmanuel Vadot minItems: 1 39c9ccf3a3SEmmanuel Vadot maxItems: 2 40c9ccf3a3SEmmanuel Vadot items: 41c9ccf3a3SEmmanuel Vadot enum: [ led_0_grp_a, led_1_grp_a, led_2_grp_a, led_3_grp_a, 42c9ccf3a3SEmmanuel Vadot led_4_grp_a, led_5_grp_a, led_6_grp_a, led_7_grp_a, 43c9ccf3a3SEmmanuel Vadot led_8_grp_a, led_9_grp_a, led_10_grp_a, led_10_grp_b, 44c9ccf3a3SEmmanuel Vadot led_11_grp_a, led_11_grp_b, led_12_grp_a, led_12_grp_b, 45c9ccf3a3SEmmanuel Vadot led_13_grp_a, led_13_grp_b, led_14_grp_a, led_15_grp_a, 46c9ccf3a3SEmmanuel Vadot led_16_grp_a, led_17_grp_a, led_18_grp_a, led_19_grp_a, 47c9ccf3a3SEmmanuel Vadot led_20_grp_a, led_21_grp_a, led_22_grp_a, led_23_grp_a, 48c9ccf3a3SEmmanuel Vadot led_24_grp_a, led_25_grp_a, led_26_grp_a, led_27_grp_a, 49c9ccf3a3SEmmanuel Vadot led_28_grp_a, led_29_grp_a, led_30_grp_a, led_31_grp_a, 50c9ccf3a3SEmmanuel Vadot led_31_grp_b, hs_uart_grp, i2c_grp_a, i2c_grp_b, i2s_grp, 51c9ccf3a3SEmmanuel Vadot nand_ctrl_grp, nand_data_grp, emmc_ctrl_grp, usb0_pwr_grp, 52c9ccf3a3SEmmanuel Vadot usb1_pwr_grp ] 53c9ccf3a3SEmmanuel Vadot 54c9ccf3a3SEmmanuel VadotallOf: 55c9ccf3a3SEmmanuel Vadot - $ref: pinctrl.yaml# 56c9ccf3a3SEmmanuel Vadot 57c9ccf3a3SEmmanuel Vadotrequired: 58c9ccf3a3SEmmanuel Vadot - compatible 59c9ccf3a3SEmmanuel Vadot - reg 60c9ccf3a3SEmmanuel Vadot 61c9ccf3a3SEmmanuel VadotunevaluatedProperties: false 62c9ccf3a3SEmmanuel Vadot 63c9ccf3a3SEmmanuel Vadotexamples: 64c9ccf3a3SEmmanuel Vadot - | 65c9ccf3a3SEmmanuel Vadot pinctrl@ff800560 { 66c9ccf3a3SEmmanuel Vadot compatible = "brcm,bcm4908-pinctrl"; 67c9ccf3a3SEmmanuel Vadot reg = <0xff800560 0x10>; 68c9ccf3a3SEmmanuel Vadot 69c9ccf3a3SEmmanuel Vadot led_0-a-pins { 70c9ccf3a3SEmmanuel Vadot function = "led_0"; 71c9ccf3a3SEmmanuel Vadot groups = "led_0_grp_a"; 72c9ccf3a3SEmmanuel Vadot }; 73c9ccf3a3SEmmanuel Vadot }; 74