/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | amlogic,meson-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson SoC UART Serial Interface 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic Meson SoC UART Serial Interface is present on a large range 15 of SoCs, and can be present either in the "Always-On" power domain or the 16 "Everything-Else" power domain. 18 The particularity of the "Always-On" Serial Interface is that the hardware [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 19 #size-cells = <2>; 21 reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; [all …]
|
H A D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 23 stdout-path = "serial0:115200n8"; 31 hdmi_5v: regulator-hdmi-5v { 32 compatible = "regulator-fixed"; 34 regulator-name = "HDMI_5V"; 35 regulator-min-microvolt = <5000000>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 #include <dt-bindings/thermal/thermal.h> 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 29 reserved-memory { [all …]
|
H A D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | meson-gxl-s905d-mecool-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxl-s905d.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxl-kii-pro", "amlogic,s905d", "amlogic,meson-gxl"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
H A D | meson-gxl-s905d-sml5442tw.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905d.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/leds/common.h> 13 compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl"; 14 model = "SmartLabs SML-5442TW"; 17 compatible = "gpio-leds"; 19 led-yellow { 23 default-state = "off"; [all …]
|
H A D | meson-gxm-wetek-core2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm"; 23 compatible = "gpio-leds"; 25 led-blue { 29 default-state = "on"; [all …]
|
H A D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905x-p212.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; [all …]
|
H A D | meson-gxm-gt1-ultimate.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "azw,gt1-ultimate", "amlogic,s912", "amlogic,meson-gxm"; 18 compatible = "gpio-leds"; 20 led-white { 24 default-state = "on"; [all …]
|
H A D | meson-gxl-s905x-p212.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxl-s905x-p212.dtsi" 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl"; 14 model = "Amlogic Meson GXL (S905X) P212 Development Board"; 16 dio2133: analog-amplifier { 17 compatible = "simple-audio-amplifier"; 18 sound-name-prefix = "AU2"; 19 VCC-supply = <&hdmi_5v>; [all …]
|
H A D | meson-gxm-mecool-kiii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxm.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxm-kiii-pro", "amlogic,s912", "amlogic,meson-gxm"; 23 adc-keys { 24 compatible = "adc-keys"; 25 io-channels = <&saradc 0>; [all …]
|
H A D | meson-gxl-s905d-vero4k-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905d.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "osmc,vero4k-plus", "amlogic,s905d", "amlogic,meson-gxl"; 17 gpio-keys-polled { 18 compatible = "gpio-keys-polled"; 19 poll-interval = <20>; [all …]
|
H A D | meson-gxm-minix-neo-u9h.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "minix,neo-u9h", "amlogic,s912", "amlogic,meson-gxm"; 15 model = "Minix Neo U9-H"; 18 compatible = "gpio-leds"; 20 led-white { [all …]
|
H A D | meson-gxbb-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb-p20x.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "videostrong,kii-pro", "amlogic,meson-gxbb"; 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; [all …]
|
H A D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
H A D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "gpio-leds"; 33 led-stat { 34 label = "nanopi-k2:blue:stat"; [all …]
|
H A D | meson-gxl-s805x-libretech-ac.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s805x.dtsi" 16 compatible = "libretech,aml-s805x-ac", "amlogic,s805x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S805X-AC"; 27 stdout-path = "serial0:115200n8"; 30 cvbs-connector { [all …]
|
H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 22 stdout-path = "serial0:115200n8"; 30 hdmi_5v: regulator-hdmi-5v { 31 compatible = "regulator-fixed"; 33 regulator-name = "HDMI_5V"; 34 regulator-min-microvolt = <5000000>; [all …]
|
H A D | meson-gxl-s805x-p241.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s805x.dtsi" 16 compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl"; 17 model = "Amlogic Meson GXL (S805X) P241 Development Board"; 25 au2: analog-amplifier { 26 compatible = "simple-audio-amplifier"; 27 sound-name-prefix = "AU2"; [all …]
|
H A D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC"; 25 dio2133: analog-amplifier { 26 compatible = "simple-audio-amplifier"; [all …]
|
H A D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 16 model = "Hardkernel ODROID-C2"; 24 stdout-path = "serial0:115200n8"; 32 usb_otg_pwr: regulator-usb-pwrs { 33 compatible = "regulator-fixed"; [all …]
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_meson.c | 1 // SPDX-License-Identifier: GPL-2.0+ 44 static void meson_serial_init(struct meson_uart *uart) in meson_serial_init() argument 48 val = readl(&uart->control); in meson_serial_init() 50 writel(val, &uart->control); in meson_serial_init() 52 writel(val, &uart->control); in meson_serial_init() 54 writel(val, &uart->control); in meson_serial_init() 59 struct meson_serial_platdata *plat = dev->platdata; in meson_serial_probe() 60 struct meson_uart *const uart = plat->reg; in meson_serial_probe() local 62 meson_serial_init(uart); in meson_serial_probe() 69 struct meson_serial_platdata *plat = dev->platdata; in meson_serial_getc() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | meson_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 102 val = readl(port->membase + AML_UART_STATUS); in meson_uart_tx_empty() 111 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 113 writel(val, port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 120 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_rx() 122 writel(val, port->membase + AML_UART_CONTROL); in meson_uart_stop_rx() 130 free_irq(port->irq, port); in meson_uart_shutdown() 132 spin_lock_irqsave(&port->lock, flags); in meson_uart_shutdown() 134 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_shutdown() 137 writel(val, port->membase + AML_UART_CONTROL); in meson_uart_shutdown() [all …]
|