18c2ecf20Sopenharmony_ciBindings for cadence I3C master block 28c2ecf20Sopenharmony_ci===================================== 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciRequired properties: 58c2ecf20Sopenharmony_ci-------------------- 68c2ecf20Sopenharmony_ci- compatible: shall be "cdns,i3c-master" 78c2ecf20Sopenharmony_ci- clocks: shall reference the pclk and sysclk 88c2ecf20Sopenharmony_ci- clock-names: shall contain "pclk" and "sysclk" 98c2ecf20Sopenharmony_ci- interrupts: the interrupt line connected to this I3C master 108c2ecf20Sopenharmony_ci- reg: I3C master registers 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciMandatory properties defined by the generic binding (see 138c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/i3c/i3c.txt for more details): 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci- #address-cells: shall be set to 1 168c2ecf20Sopenharmony_ci- #size-cells: shall be set to 0 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciOptional properties defined by the generic binding (see 198c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/i3c/i3c.txt for more details): 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci- i2c-scl-hz 228c2ecf20Sopenharmony_ci- i3c-scl-hz 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciI3C device connected on the bus follow the generic description (see 258c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/i3c/i3c.txt for more details). 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciExample: 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci i3c-master@0d040000 { 308c2ecf20Sopenharmony_ci compatible = "cdns,i3c-master"; 318c2ecf20Sopenharmony_ci clocks = <&coreclock>, <&i3csysclock>; 328c2ecf20Sopenharmony_ci clock-names = "pclk", "sysclk"; 338c2ecf20Sopenharmony_ci interrupts = <3 0>; 348c2ecf20Sopenharmony_ci reg = <0x0d040000 0x1000>; 358c2ecf20Sopenharmony_ci #address-cells = <1>; 368c2ecf20Sopenharmony_ci #size-cells = <0>; 378c2ecf20Sopenharmony_ci i2c-scl-hz = <100000>; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci nunchuk: nunchuk@52 { 408c2ecf20Sopenharmony_ci compatible = "nintendo,nunchuk"; 418c2ecf20Sopenharmony_ci reg = <0x52 0x0 0x10>; 428c2ecf20Sopenharmony_ci }; 438c2ecf20Sopenharmony_ci }; 44