mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
ARM: dts: at91: sama5d2: fix compilation warning
Fix the following compilation warning: arch/arm/boot/dts/sama5d2.dtsi:371.29-382.6: Warning (avoid_unnecessary_addr_size): /ahb/apb/ethernet@f8008000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property also defined at arch/arm/boot/dts/at91-sama5d2_icp.dts:353.8-363.3 Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220615080633.1881196-2-claudiu.beznea@microchip.com
This commit is contained in:
parent
005627ea13
commit
b66724d23d
|
|
@ -83,6 +83,8 @@ kernel@200000 {
|
|||
macb0: ethernet@f8008000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_macb0_default>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy-mode = "rmii";
|
||||
|
||||
ethernet-phy@7 {
|
||||
|
|
|
|||
|
|
@ -194,6 +194,8 @@ regulator-state-mem {
|
|||
&macb0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_macb0_default>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy-mode = "rmii";
|
||||
|
||||
ethernet-phy@0 {
|
||||
|
|
|
|||
|
|
@ -139,6 +139,8 @@ spi0: spi@f8000000 {
|
|||
macb0: ethernet@f8008000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy-mode = "rmii";
|
||||
status = "okay";
|
||||
|
||||
|
|
|
|||
|
|
@ -147,6 +147,8 @@ flash@0 {
|
|||
macb0: ethernet@f8008000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
phy-mode = "rmii";
|
||||
status = "okay";
|
||||
|
||||
|
|
|
|||
|
|
@ -384,8 +384,6 @@ macb0: ethernet@f8008000 {
|
|||
interrupts = <5 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 0 */
|
||||
66 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 1 */
|
||||
67 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 2 */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 5>, <&pmc PMC_TYPE_PERIPHERAL 5>;
|
||||
clock-names = "hclk", "pclk";
|
||||
status = "disabled";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user