mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 18:10:32 +00:00

The old binding variant (the one covering whole DMU block) was deprecated 3 years ago. Linux kernel was warning when using it for similar amount of time. There aren't any known Northstar devices with bootloader providing DT to operating system. Actually OpenWrt seems to be the only project using this binding and it always appends DTB to kernel. It has switched to the non-deprecated binding years ago. Given there is close to zero chance this breaks anyone's setup it should more than safe to drop this binding variant after 3 years. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240913044557.28315-1-zajec5@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Broadcom Northstar USB 2.0 PHY
|
|
|
|
description: >
|
|
To initialize USB 2.0 PHY driver needs to setup PLL correctly.
|
|
To do this it requires passing phandle to the USB PHY reference clock.
|
|
|
|
maintainers:
|
|
- Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
properties:
|
|
compatible:
|
|
const: brcm,ns-usb2-phy
|
|
|
|
reg:
|
|
maxItems: 1
|
|
description: PHY control register
|
|
|
|
brcm,syscon-clkset:
|
|
description: phandle to syscon for clkset register
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
|
|
clocks:
|
|
items:
|
|
- description: USB PHY reference clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: phy-ref-clk
|
|
|
|
"#phy-cells":
|
|
const: 0
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- "#phy-cells"
|
|
- brcm,syscon-clkset
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/bcm-nsp.h>
|
|
phy@1800c164 {
|
|
compatible = "brcm,ns-usb2-phy";
|
|
reg = <0x1800c164 0x4>;
|
|
brcm,syscon-clkset = <&clkset>;
|
|
clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
|
|
clock-names = "phy-ref-clk";
|
|
#phy-cells = <0>;
|
|
};
|