| // Copyright 2026 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // WARNING: THIS FILE IS GENERATED BY dmlc. DO NOT EDIT. |
| |
| composite aml_uart; |
| |
| using fuchsia; |
| |
| primary parent "pdev" { |
| if fuchsia.COMPATIBLE == "amlogic,bt-uart" { |
| true; |
| } else if fuchsia.BIND_PROTOCOL == fuchsia.platform.BIND_PROTOCOL.DEVICE { |
| fuchsia.BIND_PLATFORM_DEV_VID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_VID.AMLOGIC; |
| fuchsia.BIND_PLATFORM_DEV_PID == fuchsia.platform.BIND_PLATFORM_DEV_PID.GENERIC; |
| fuchsia.BIND_PLATFORM_DEV_DID == fuchsia.amlogic.platform.BIND_PLATFORM_DEV_DID.UART; |
| } else { |
| false; |
| } |
| } |
| |
| optional parent "gpio-init-0" { |
| fuchsia.BIND_INIT_STEP == fuchsia.gpio.BIND_INIT_STEP.GPIO; |
| } |
| |
| optional parent "pin-states-0" { |
| fuchsia.Service == "fuchsia.hardware.pin.PinStatesService"; |
| } |
| |
| parent "pwm" { |
| fuchsia.BIND_INIT_STEP == fuchsia.pwm.BIND_INIT_STEP.PWM; |
| } |
| |