Lines Matching +full:i2c +full:- +full:gpio
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/realtek,rtl9301-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Packham <[email protected]>
20 - enum:
21 - realtek,rtl9301-switch
22 - realtek,rtl9302b-switch
23 - realtek,rtl9302c-switch
24 - realtek,rtl9303-switch
25 - const: syscon
26 - const: simple-mfd
31 '#address-cells':
34 '#size-cells':
38 'reboot@[0-9a-f]+$':
39 $ref: /schemas/power/reset/syscon-reboot.yaml#
41 'i2c@[0-9a-f]+$':
42 $ref: /schemas/i2c/realtek,rtl9301-i2c.yaml#
45 - compatible
46 - reg
51 - |
52 ethernet-switch@1b000000 {
53 compatible = "realtek,rtl9301-switch", "syscon", "simple-mfd";
55 #address-cells = <1>;
56 #size-cells = <1>;
59 compatible = "syscon-reboot";
64 i2c@36c {
65 compatible = "realtek,rtl9301-i2c";
67 #address-cells = <1>;
68 #size-cells = <0>;
70 i2c@0 {
72 #address-cells = <1>;
73 #size-cells = <0>;
74 gpio@20 {
76 gpio-controller;
77 #gpio-cells = <2>;
82 i2c@2 {
84 #address-cells = <1>;
85 #size-cells = <0>;
86 gpio@20 {
88 gpio-controller;
89 #gpio-cells = <2>;
95 i2c@388 {
96 compatible = "realtek,rtl9301-i2c";
98 #address-cells = <1>;
99 #size-cells = <0>;
101 i2c@7 {
103 #address-cells = <1>;
104 #size-cells = <0>;
105 gpio@20 {
107 gpio-controller;
108 #gpio-cells = <2>;