mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 04:56:47 +07:00
e152e3f7f4
i2c-gpio doesn't need a reg property. Change the node names to i2c-gpio-x as used in other dts to remove the unit-address. Solves: Warning (unit_address_vs_reg): Node /i2c@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /i2c@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /i2c@2 has a unit name, but no reg property Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
69 lines
981 B
Plaintext
69 lines
981 B
Plaintext
/*
|
|
* mpa1600.dts - Device Tree file for Phontech MPA 1600
|
|
*
|
|
* Copyright (C) 2013 Joachim Eastwood <manabian@gmail.com>
|
|
*
|
|
* Licensed under GPLv2 only
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91rm9200.dtsi"
|
|
|
|
/ {
|
|
model = "Phontech MPA 1600";
|
|
compatible = "phontech,mpa1600", "atmel,at91rm9200";
|
|
|
|
memory {
|
|
reg = <0x20000000 0x4000000>;
|
|
};
|
|
|
|
clocks {
|
|
slow_xtal {
|
|
clock-frequency = <32768>;
|
|
};
|
|
|
|
main_xtal {
|
|
clock-frequency = <18432000>;
|
|
};
|
|
};
|
|
|
|
ahb {
|
|
apb {
|
|
dbgu: serial@fffff200 {
|
|
status = "okay";
|
|
};
|
|
|
|
macb0: ethernet@fffbc000 {
|
|
phy-mode = "rmii";
|
|
status = "okay";
|
|
};
|
|
|
|
ssc0: ssc@fffd0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
ssc1: ssc@fffd4000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
usb0: ohci@00300000 {
|
|
num-ports = <1>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
i2c-gpio-0 {
|
|
status = "okay";
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
|
|
monitor_mute {
|
|
label = "Monitor mute";
|
|
gpios = <&pioC 1 GPIO_ACTIVE_LOW>;
|
|
linux,code = <113>;
|
|
};
|
|
};
|
|
};
|