ARM: dts: OX820: Update with dt-bindings includes
Add OX820 dt-bindings includes files for clocks and resets, replace resets numbers by human readable defines. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
ed4d903d2f
commit
0c5987d3e3
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
/include/ "skeleton.dtsi"
|
/include/ "skeleton.dtsi"
|
||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
#include <dt-bindings/clock/oxsemi,ox820.h>
|
||||||
|
#include <dt-bindings/reset/oxsemi,ox820.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "oxsemi,ox820";
|
compatible = "oxsemi,ox820";
|
||||||
|
@ -83,8 +85,8 @@
|
||||||
nandc: nand-controller@41000000 {
|
nandc: nand-controller@41000000 {
|
||||||
compatible = "oxsemi,ox820-nand";
|
compatible = "oxsemi,ox820-nand";
|
||||||
reg = <0x41000000 0x100000>;
|
reg = <0x41000000 0x100000>;
|
||||||
clocks = <&stdclk 11>;
|
clocks = <&stdclk CLK_820_NAND>;
|
||||||
resets = <&reset 15>;
|
resets = <&reset RESET_NAND>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -99,9 +101,9 @@
|
||||||
mac-address = [000000000000]; /* Filled in by U-Boot */
|
mac-address = [000000000000]; /* Filled in by U-Boot */
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
|
|
||||||
clocks = <&stdclk 9>, <&gmacclk>;
|
clocks = <&stdclk CLK_820_ETHA>, <&gmacclk>;
|
||||||
clock-names = "gmac", "stmmaceth";
|
clock-names = "gmac", "stmmaceth";
|
||||||
resets = <&reset 6>;
|
resets = <&reset RESET_MAC>;
|
||||||
|
|
||||||
/* Regmap for sys registers */
|
/* Regmap for sys registers */
|
||||||
oxsemi,sys-ctrl = <&sys>;
|
oxsemi,sys-ctrl = <&sys>;
|
||||||
|
@ -208,7 +210,7 @@
|
||||||
no-loopback-test;
|
no-loopback-test;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
resets = <&reset 17>;
|
resets = <&reset RESET_UART1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart1: serial@300000 {
|
uart1: serial@300000 {
|
||||||
|
@ -222,7 +224,7 @@
|
||||||
no-loopback-test;
|
no-loopback-test;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
resets = <&reset 18>;
|
resets = <&reset RESET_UART2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rps@400000 {
|
rps@400000 {
|
||||||
|
|
Loading…
Reference in a new issue