summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/kontron')
-rw-r--r--src/mainboard/kontron/mal10/variants/mal10/devicetree.cb11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/kontron/mal10/variants/mal10/devicetree.cb b/src/mainboard/kontron/mal10/variants/mal10/devicetree.cb
index 1421cb7905..5c89a644d9 100644
--- a/src/mainboard/kontron/mal10/variants/mal10/devicetree.cb
+++ b/src/mainboard/kontron/mal10/variants/mal10/devicetree.cb
@@ -74,6 +74,17 @@ chip soc/intel/apollolake
device generic 1.0 on # I2C
register "i2c_frequency" = "KEMPLD_I2C_FREQ_FAST_MODE_400KHZ"
end
+ device gpio 0 on # GPIO
+ # The connector implements 8 GPIO lines only
+ register "gpio[0]" = "KEMPLD_GPIO_INPUT"
+ register "gpio[1]" = "KEMPLD_GPIO_INPUT"
+ register "gpio[2]" = "KEMPLD_GPIO_INPUT"
+ register "gpio[3]" = "KEMPLD_GPIO_INPUT"
+ register "gpio[4]" = "KEMPLD_GPIO_OUTPUT_LOW"
+ register "gpio[5]" = "KEMPLD_GPIO_OUTPUT_LOW"
+ register "gpio[6]" = "KEMPLD_GPIO_OUTPUT_LOW"
+ register "gpio[7]" = "KEMPLD_GPIO_OUTPUT_LOW"
+ end
end
end # LPC
device pci 1f.1 on # SMBUS