1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@ao 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io> 4 * Copyright (C) 2021 Tobias Schramm <t.schramm 4 * Copyright (C) 2021 Tobias Schramm <t.schramm@manjaro.org> 5 */ 5 */ 6 6 7 #include "sun8i-v3s.dtsi" 7 #include "sun8i-v3s.dtsi" 8 8 9 / { 9 / { 10 soc { 10 soc { 11 i2s0: i2s@1c22000 { 11 i2s0: i2s@1c22000 { 12 #sound-dai-cells = <0> 12 #sound-dai-cells = <0>; 13 compatible = "allwinne 13 compatible = "allwinner,sun8i-v3-i2s", 14 "allwinne 14 "allwinner,sun8i-h3-i2s"; 15 reg = <0x01c22000 0x40 15 reg = <0x01c22000 0x400>; 16 interrupts = <GIC_SPI 16 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 17 clocks = <&ccu CLK_BUS 17 clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; 18 clock-names = "apb", " 18 clock-names = "apb", "mod"; 19 dmas = <&dma 3>, <&dma 19 dmas = <&dma 3>, <&dma 3>; 20 dma-names = "rx", "tx" 20 dma-names = "rx", "tx"; 21 pinctrl-names = "defau 21 pinctrl-names = "default"; 22 pinctrl-0 = <&i2s0_pin 22 pinctrl-0 = <&i2s0_pins>; 23 resets = <&ccu RST_BUS 23 resets = <&ccu RST_BUS_I2S0>; 24 status = "disabled"; 24 status = "disabled"; 25 }; 25 }; 26 }; 26 }; 27 }; 27 }; 28 28 29 &ccu { 29 &ccu { 30 compatible = "allwinner,sun8i-v3-ccu"; 30 compatible = "allwinner,sun8i-v3-ccu"; 31 }; 31 }; 32 32 33 &codec_analog { 33 &codec_analog { 34 compatible = "allwinner,sun8i-v3-codec 34 compatible = "allwinner,sun8i-v3-codec-analog", 35 "allwinner,sun8i-h3-codec 35 "allwinner,sun8i-h3-codec-analog"; 36 }; 36 }; 37 37 38 &emac { 38 &emac { 39 /delete-property/ phy-handle; 39 /delete-property/ phy-handle; 40 /delete-property/ phy-mode; 40 /delete-property/ phy-mode; 41 }; 41 }; 42 42 43 &mdio_mux { 43 &mdio_mux { 44 external_mdio: mdio@2 { 44 external_mdio: mdio@2 { 45 reg = <2>; 45 reg = <2>; 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; 47 #size-cells = <0>; 48 }; 48 }; 49 }; 49 }; 50 50 51 &pio { 51 &pio { 52 compatible = "allwinner,sun8i-v3-pinct 52 compatible = "allwinner,sun8i-v3-pinctrl"; 53 53 54 i2s0_pins: i2s0-pins { 54 i2s0_pins: i2s0-pins { 55 pins = "PG10", "PG11", "PG12", 55 pins = "PG10", "PG11", "PG12", "PG13"; 56 function = "i2s"; 56 function = "i2s"; 57 }; 57 }; 58 58 59 uart1_pg_pins: uart1-pg-pins { 59 uart1_pg_pins: uart1-pg-pins { 60 pins = "PG6", "PG7"; 60 pins = "PG6", "PG7"; 61 function = "uart1"; 61 function = "uart1"; 62 }; 62 }; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.